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.001338/0.001338, allocations: 115.2 kB / 17.13 MB, free: 6.027 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.001425/0.001425, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1381/0.1381, allocations: 23.9 MB / 333.4 MB, free: 1.176 MB / 254.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.002113/0.002113, allocations: 73.81 kB / 467.2 MB, free: 30.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09506, allocations: 59.84 MB / 0.5147 GB, free: 12.4 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.0438/0.1389, allocations: 29.82 MB / 0.5438 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02381/0.1627, allocations: 17.91 MB / 0.5613 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.164, allocations: 27.81 kB / 0.5613 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.1654, allocations: 480.1 kB / 0.5618 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.1694, allocations: 1.33 MB / 0.5631 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006922/0.1763, allocations: 2.54 MB / 0.5656 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.1798, allocations: 2.28 MB / 0.5678 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.1814, allocations: 1.23 MB / 0.569 GB, free: 4.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.1828, allocations: 1.056 MB / 0.57 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.1845, allocations: 1.171 MB / 0.5712 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.1848, allocations: 224 kB / 0.5714 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005357/0.1902, allocations: 1.833 MB / 0.5732 GB, free: 388 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006081/0.1908, allocations: 0.4946 MB / 0.5737 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.1921, allocations: 1.101 MB / 0.5747 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008136/0.2002, allocations: 4.342 MB / 0.579 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2002, allocations: 0 / 0.579 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2002, allocations: 0 / 0.579 GB, free: 10.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.864e-05/0.2002, allocations: 7.938 kB / 0.579 GB, free: 10.41 MB / 446.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.004908/0.2051, allocations: 2.545 MB / 0.5815 GB, free: 7.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2052, allocations: 12.03 kB / 0.5815 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.2069, allocations: 446.9 kB / 0.5819 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.209, allocations: 1.123 MB / 0.583 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.2092, allocations: 181.9 kB / 0.5832 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.2095, allocations: 204 kB / 0.5834 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/0.2133, allocations: 2.128 MB / 0.5855 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.2134, allocations: 3.938 kB / 0.5855 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.2136, allocations: 84 kB / 0.5855 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.2136, allocations: 48 kB / 0.5856 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003985/0.2176, allocations: 2.233 MB / 0.5878 GB, free: 1.242 MB / 446.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.2257/0.4433, allocations: 7.368 MB / 0.595 GB, free: 59.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.4461, allocations: 1.656 MB / 0.5966 GB, free: 59.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008457/0.4469, allocations: 0.5266 MB / 0.5971 GB, free: 58.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008042/0.4549, allocations: 6.407 MB / 0.6034 GB, free: 53.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.455, allocations: 51.78 kB / 0.6034 GB, free: 53.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.294e-06/0.455, allocations: 0 / 0.6034 GB, free: 53.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01884/0.4738, allocations: 4.892 MB / 0.6082 GB, free: 51.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.4739, allocations: 119.3 kB / 0.6083 GB, free: 51.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.4751, allocations: 0.9235 MB / 0.6092 GB, free: 51.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.4752, allocations: 46.17 kB / 0.6092 GB, free: 51.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.4756, allocations: 0.9648 MB / 0.6102 GB, free: 50.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.4759, allocations: 401.5 kB / 0.6106 GB, free: 50.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/0.4764, allocations: 348.8 kB / 0.6109 GB, free: 50.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.693e-05/0.4765, allocations: 303.2 kB / 0.6112 GB, free: 49.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008069/0.4773, allocations: 454.6 kB / 0.6116 GB, free: 49.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.4784, allocations: 1.202 MB / 0.6128 GB, free: 48.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.4804, allocations: 1.787 MB / 0.6145 GB, free: 47.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.4804, allocations: 10.81 kB / 0.6145 GB, free: 47.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005194/0.4856, allocations: 2.072 MB / 0.6166 GB, free: 46.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.4856, allocations: 15.72 kB / 0.6166 GB, free: 46.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.4856, allocations: 27.72 kB / 0.6166 GB, free: 46.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.4881, allocations: 369.5 kB / 0.617 GB, free: 46.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.4898, allocations: 454.5 kB / 0.6174 GB, free: 46.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.4943, allocations: 4.07 MB / 0.6214 GB, free: 42.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.4957, allocations: 90.84 kB / 0.6215 GB, free: 42.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.4959, allocations: 106.6 kB / 0.6216 GB, free: 42.19 MB / 446.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.0006157/0.4965, allocations: 371.9 kB / 0.6219 GB, free: 41.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/0.4968, allocations: 135.9 kB / 0.622 GB, free: 41.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/0.5014, allocations: 1.611 MB / 0.6236 GB, free: 41.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5014, allocations: 7.906 kB / 0.6236 GB, free: 41.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5014, allocations: 7.906 kB / 0.6236 GB, free: 41.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.5014, allocations: 6.984 kB / 0.6236 GB, free: 41.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.5034, allocations: 1.487 MB / 0.6251 GB, free: 39.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5034, allocations: 3.938 kB / 0.6251 GB, free: 39.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.5047, allocations: 240.3 kB / 0.6253 GB, free: 39.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/0.507, allocations: 346.6 kB / 0.6257 GB, free: 39.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.5071, allocations: 43.89 kB / 0.6257 GB, free: 39.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004222/0.5114, allocations: 4.005 MB / 0.6296 GB, free: 35.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5114, allocations: 3.812 kB / 0.6296 GB, free: 35.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/0.5161, allocations: 2.209 MB / 0.6318 GB, free: 34.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.5164, allocations: 194.6 kB / 0.632 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.5165, allocations: 26.25 kB / 0.632 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.5172, allocations: 28.67 kB / 0.632 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.5174, allocations: 106.1 kB / 0.6321 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.5175, allocations: 52.58 kB / 0.6322 GB, free: 34.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005994/0.5181, allocations: 0.574 MB / 0.6327 GB, free: 33.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5181, allocations: 0 / 0.6327 GB, free: 33.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002126/0.5202, allocations: 0.731 MB / 0.6334 GB, free: 33.8 MB / 446.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.0009673/0.5212, allocations: 0.7334 MB / 0.6342 GB, free: 33.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.5233, allocations: 1.464 MB / 0.6356 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5233, allocations: 0 / 0.6356 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.5244, allocations: 0.7747 MB / 0.6363 GB, free: 30.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.5256, allocations: 249.1 kB / 0.6366 GB, free: 30.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.5296, allocations: 3.092 MB / 0.6396 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.5301, allocations: 1.252 MB / 0.6408 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.5306, allocations: 275.5 kB / 0.6411 GB, free: 26.25 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5306, allocations: 2.625 kB / 0.6411 GB, free: 26.25 MB / 446.1 MB Notification: Performance of Templates: time 0.0426/0.5732, allocations: 43.63 MB / 0.6837 GB, free: 15.3 MB / 478.1 MB " [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: 9.921164992992999] Failed to read output from testmodel.py, exit status != 0: 0.5817925470182672 0.5954835439999999 0.392188036 Calling exit ...