Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9358/0.9358, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09117/0.09117, allocations: 17.37 MB / 278.4 MB, free: 11.49 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 354.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.988e-05, allocations: 2.312 kB / 354.7 MB, free: 10.73 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterElectrolysis): time 0.02907/0.02909, allocations: 32.28 MB / 387 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.04134, allocations: 11.82 MB / 398.8 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.04245, allocations: 31.75 kB / 398.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.04329, allocations: 376.6 kB / 399.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.04556, allocations: 1.159 MB / 400.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.04913, allocations: 1.834 MB / 402.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.05208, allocations: 2.365 MB / 404.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.05369, allocations: 1.251 MB / 405.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.05549, allocations: 1.595 MB / 407.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.05655, allocations: 0.9782 MB / 408.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.0568, allocations: 224 kB / 408.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.05928, allocations: 1.193 MB / 409.8 MB, free: 3.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004896/0.05977, allocations: 0.5257 MB / 410.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006537/0.06042, allocations: 0.8029 MB / 411.1 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.06401, allocations: 2.977 MB / 414.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.06402, allocations: 0 / 414.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.06402, allocations: 0 / 414.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.06405, allocations: 0 / 414.1 MB, free: 15.27 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.002616/0.06666, allocations: 2.495 MB / 416.6 MB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.0667, allocations: 15.97 kB / 416.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.06799, allocations: 0.6657 MB / 417.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.06897, allocations: 0.9124 MB / 418.2 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.06909, allocations: 199.9 kB / 418.4 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.0693, allocations: 200.3 kB / 418.6 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.07084, allocations: 1.643 MB / 420.2 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.977e-05/0.07087, allocations: 0 / 420.2 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.07099, allocations: 87.98 kB / 420.3 MB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.07102, allocations: 48 kB / 420.3 MB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.07238, allocations: 1.266 MB / 421.6 MB, free: 7.547 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005841/0.07822, allocations: 6.493 MB / 428.1 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.07962, allocations: 1.342 MB / 429.4 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.07995, allocations: 315.4 kB / 429.7 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003909/0.08386, allocations: 3.147 MB / 432.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.08388, allocations: 50.38 kB / 432.9 MB, free: 11.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 2.043e-06/0.08389, allocations: 0 / 432.9 MB, free: 11.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.007549/0.09143, allocations: 3.176 MB / 436.1 MB, free: 8.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.09148, allocations: 115.8 kB / 436.2 MB, free: 8.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.09206, allocations: 0.8685 MB / 437.1 MB, free: 7.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.09211, allocations: 49.77 kB / 437.1 MB, free: 7.633 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.09255, allocations: 1.036 MB / 438.2 MB, free: 6.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.09291, allocations: 396.6 kB / 438.6 MB, free: 6.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.09321, allocations: 360.9 kB / 438.9 MB, free: 5.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.09335, allocations: 0.5315 MB / 439.5 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.09361, allocations: 227.8 kB / 439.7 MB, free: 5.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.0943, allocations: 1.289 MB / 441 MB, free: 3.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.09545, allocations: 1.697 MB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.09545, allocations: 4 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.1367/0.2322, allocations: 1.643 MB / 444.3 MB, free: 98.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.2322, allocations: 18.19 kB / 444.3 MB, free: 98.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.2323, allocations: 24.97 kB / 444.4 MB, free: 98.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.2339, allocations: 449.6 kB / 444.8 MB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.2348, allocations: 444.4 kB / 445.2 MB, free: 98.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/0.2373, allocations: 4.611 MB / 449.8 MB, free: 94.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.238, allocations: 84.28 kB / 449.9 MB, free: 94.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/0.2381, allocations: 95.78 kB / 450 MB, free: 94.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 115 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003475/0.2385, allocations: 284 kB / 450.3 MB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.2387, allocations: 151.1 kB / 450.4 MB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.2407, allocations: 1.246 MB / 451.7 MB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2407, allocations: 12.66 kB / 451.7 MB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2407, allocations: 3.188 kB / 451.7 MB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2408, allocations: 7.297 kB / 451.7 MB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.2419, allocations: 1.099 MB / 452.8 MB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.2419, allocations: 3.156 kB / 452.8 MB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.2425, allocations: 244.2 kB / 453 MB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.244, allocations: 422.3 kB / 453.5 MB, free: 93.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.2441, allocations: 42.58 kB / 453.5 MB, free: 93.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.2462, allocations: 4.516 MB / 458 MB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2462, allocations: 6.562 kB / 458 MB, free: 89.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.2482, allocations: 1.732 MB / 459.8 MB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.2483, allocations: 107.3 kB / 459.9 MB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/0.2484, allocations: 27.61 kB / 459.9 MB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.2487, allocations: 26.84 kB / 459.9 MB, free: 89.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.2489, allocations: 110.6 kB / 460 MB, free: 89.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.2489, allocations: 44.78 kB / 460.1 MB, free: 89.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.2492, allocations: 458.9 kB / 460.5 MB, free: 88.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2492, allocations: 0 / 460.5 MB, free: 88.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001292/0.2504, allocations: 0.6159 MB / 461.1 MB, free: 88.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (O2_gas.logn,H2_gas.logn,anode.temperature,cathode.temperature,water.temperature,air.temperature,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006321/0.2511, allocations: 0.5564 MB / 461.7 MB, free: 88.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2522, allocations: 1.259 MB / 462.9 MB, free: 88.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2522, allocations: 0 / 462.9 MB, free: 88.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.2527, allocations: 0.7571 MB / 463.7 MB, free: 88.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/0.2535, allocations: 269.5 kB / 464 MB, free: 88.08 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.2568, allocations: 2.799 MB / 466.8 MB, free: 86.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.257, allocations: 275.8 kB / 467 MB, free: 86.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006482/0.2577, allocations: 320.8 kB / 467.3 MB, free: 86.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005591/0.2582, allocations: 452.8 kB / 467.8 MB, free: 86.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.402e-06/0.2582, allocations: 0 / 467.8 MB, free: 86.61 MB / 410.7 MB Notification: Performance of Templates: time 0.02826/0.2865, allocations: 25.51 MB / 493.3 MB, free: 82.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8121140087023377]