Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001337/0.001337, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001465/0.001465, allocations: 219.7 kB / 22.25 MB, free: 5.254 MB / 14.72 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 1.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1352/0.1352, allocations: 23.94 MB / 336.4 MB, free: 10.92 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.88 kB / 471.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3935, allocations: 59.87 MB / 0.5191 GB, free: 9.816 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.07989/0.4734, allocations: 28.68 MB / 0.5471 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02667/0.5001, allocations: 15.8 MB / 0.5625 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.5032, allocations: 23.81 kB / 0.5625 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.5049, allocations: 449.6 kB / 0.563 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.5104, allocations: 1.294 MB / 0.5642 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008172/0.5186, allocations: 2.584 MB / 0.5668 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003989/0.5226, allocations: 2.292 MB / 0.569 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.5242, allocations: 1.207 MB / 0.5702 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.5256, allocations: 1.063 MB / 0.5712 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.5273, allocations: 1.164 MB / 0.5724 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.5277, allocations: 224 kB / 0.5726 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005418/0.5331, allocations: 1.759 MB / 0.5743 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.5337, allocations: 0.5024 MB / 0.5748 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.5349, allocations: 0.922 MB / 0.5757 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009837/0.5448, allocations: 4.338 MB / 0.5799 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5448, allocations: 3.938 kB / 0.5799 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5448, allocations: 4 kB / 0.5799 GB, free: 11.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.467e-05/0.5448, allocations: 0 / 0.5799 GB, free: 11.37 MB / 430.1 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.005231/0.55, allocations: 2.466 MB / 0.5823 GB, free: 8.863 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.5501, allocations: 20.02 kB / 0.5823 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.552, allocations: 439 kB / 0.5828 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.5543, allocations: 1.055 MB / 0.5838 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.5545, allocations: 207.7 kB / 0.584 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.5548, allocations: 207.9 kB / 0.5842 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/0.5588, allocations: 2.157 MB / 0.5863 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.5588, allocations: 7.938 kB / 0.5863 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.559, allocations: 80 kB / 0.5864 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.5591, allocations: 48 kB / 0.5864 GB, free: 4.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/0.5631, allocations: 2.218 MB / 0.5886 GB, free: 2.332 MB / 430.1 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.0112/0.5743, allocations: 5.857 MB / 0.5943 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.5771, allocations: 1.489 MB / 0.5958 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/0.578, allocations: 0.5255 MB / 0.5963 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008185/0.5861, allocations: 3.318 MB / 0.5995 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/0.5862, allocations: 47.56 kB / 0.5996 GB, free: 6.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 3.356e-06/0.5862, allocations: 0 / 0.5996 GB, free: 6.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02123/0.6074, allocations: 4.662 MB / 0.6041 GB, free: 2.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.6075, allocations: 123.8 kB / 0.6042 GB, free: 2.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.6087, allocations: 0.8592 MB / 0.6051 GB, free: 1.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.6088, allocations: 45.7 kB / 0.6051 GB, free: 1.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000731/0.6095, allocations: 0.9826 MB / 0.6061 GB, free: 100 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.6099, allocations: 396.7 kB / 0.6065 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/0.6104, allocations: 347.4 kB / 0.6068 GB, free: 15.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6106, allocations: 353.9 kB / 0.6071 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008264/0.6114, allocations: 455.8 kB / 0.6076 GB, free: 14.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.6129, allocations: 1.199 MB / 0.6087 GB, free: 13.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.6154, allocations: 1.786 MB / 0.6105 GB, free: 10.87 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/0.6154, allocations: 12 kB / 0.6105 GB, free: 10.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005822/0.6213, allocations: 2.058 MB / 0.6125 GB, free: 8.781 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.6213, allocations: 16 kB / 0.6125 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/0.6213, allocations: 24 kB / 0.6125 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/0.6242, allocations: 382.2 kB / 0.6129 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.626, allocations: 447.3 kB / 0.6133 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005917/0.6319, allocations: 3.804 MB / 0.617 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.6334, allocations: 91.91 kB / 0.6171 GB, free: 3.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/0.6336, allocations: 104.1 kB / 0.6172 GB, free: 3.691 MB / 462.1 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.0008716/0.6345, allocations: 389 kB / 0.6176 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/0.6349, allocations: 119.2 kB / 0.6177 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005596/0.6405, allocations: 1.601 MB / 0.6193 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.6405, allocations: 23.92 kB / 0.6193 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.6405, allocations: 0 / 0.6193 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.6405, allocations: 3.984 kB / 0.6193 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.6429, allocations: 1.121 MB / 0.6204 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.6429, allocations: 7.938 kB / 0.6204 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.6442, allocations: 236.1 kB / 0.6206 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.647, allocations: 349.9 kB / 0.621 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.6472, allocations: 47.97 kB / 0.621 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005631/0.6528, allocations: 3.728 MB / 0.6246 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.6528, allocations: 4 kB / 0.6247 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.6586, allocations: 2.196 MB / 0.6268 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.6591, allocations: 111.2 kB / 0.6269 GB, free: 9.387 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/0.6593, allocations: 32 kB / 0.6269 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.6601, allocations: 27.98 kB / 0.627 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.6604, allocations: 108.7 kB / 0.6271 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.6605, allocations: 51.98 kB / 0.6271 GB, free: 9.172 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008455/0.6614, allocations: 0.5045 MB / 0.6276 GB, free: 8.656 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6614, allocations: 0 / 0.6276 GB, free: 8.656 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002535/0.6639, allocations: 0.725 MB / 0.6283 GB, free: 7.93 MB / 478.1 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.001717/0.6656, allocations: 0.7313 MB / 0.629 GB, free: 7.188 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003026/0.6686, allocations: 1.463 MB / 0.6305 GB, free: 5.703 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.6686, allocations: 1.875 kB / 0.6305 GB, free: 5.703 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.6701, allocations: 0.773 MB / 0.6312 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.6717, allocations: 235.4 kB / 0.6314 GB, free: 4.684 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.6778, allocations: 3.061 MB / 0.6344 GB, free: 1.551 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.6788, allocations: 0.6761 MB / 0.6351 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.68, allocations: 330 kB / 0.6354 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.6805, allocations: 211.3 kB / 0.6356 GB, free: 316 kB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6805, allocations: 0 / 0.6356 GB, free: 316 kB / 478.1 MB Notification: Performance of Templates: time 0.04893/0.7294, allocations: 27.45 MB / 0.6624 GB, free: 5.047 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.180237299762666] Failed to read output from testmodel.py, exit status != 0: 0.7394431289285421 0.7553883889999999 0.207085228 Calling exit ...