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.001346/0.001346, allocations: 104.3 kB / 19.7 MB, free: 2.148 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.001535/0.001535, allocations: 216.2 kB / 22.99 MB, free: 4.965 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1677/0.1677, allocations: 23.91 MB / 337.1 MB, free: 10.94 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.002041/0.002041, allocations: 71.89 kB / 472.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 59.87 MB / 0.5198 GB, free: 9.812 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.07537/0.3984, allocations: 28.73 MB / 0.5479 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02302/0.4214, allocations: 15.78 MB / 0.5633 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.4235, allocations: 23.81 kB / 0.5633 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.4254, allocations: 461.8 kB / 0.5637 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.4302, allocations: 1.294 MB / 0.565 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008025/0.4382, allocations: 2.576 MB / 0.5675 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004024/0.4422, allocations: 2.292 MB / 0.5698 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.4441, allocations: 1.219 MB / 0.571 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.4457, allocations: 1.056 MB / 0.572 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.4478, allocations: 1.167 MB / 0.5731 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004181/0.4482, allocations: 224 kB / 0.5733 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005511/0.4537, allocations: 1.763 MB / 0.5751 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.4548, allocations: 0.4985 MB / 0.5755 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.4563, allocations: 0.9259 MB / 0.5765 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008896/0.4652, allocations: 4.338 MB / 0.5807 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4652, allocations: 0 / 0.5807 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4652, allocations: 4 kB / 0.5807 GB, free: 11.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.679e-05/0.4653, allocations: 3.938 kB / 0.5807 GB, free: 11.32 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.004731/0.47, allocations: 2.47 MB / 0.5831 GB, free: 8.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.47, allocations: 12.03 kB / 0.5831 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.4717, allocations: 443 kB / 0.5835 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.4738, allocations: 1.059 MB / 0.5846 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.474, allocations: 207.6 kB / 0.5848 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.4743, allocations: 207.9 kB / 0.585 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/0.4778, allocations: 2.149 MB / 0.5871 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.4778, allocations: 7.938 kB / 0.5871 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.478, allocations: 80 kB / 0.5872 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.4781, allocations: 48 kB / 0.5872 GB, free: 4.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/0.4816, allocations: 2.222 MB / 0.5894 GB, free: 2.285 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.009996/0.4916, allocations: 5.849 MB / 0.5951 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.4944, allocations: 1.501 MB / 0.5965 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008834/0.4952, allocations: 0.5255 MB / 0.5971 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007808/0.5031, allocations: 3.31 MB / 0.6003 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.5031, allocations: 47.56 kB / 0.6003 GB, free: 6.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/0.5031, allocations: 0 / 0.6003 GB, free: 6.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.0177/0.5208, allocations: 4.662 MB / 0.6049 GB, free: 2.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.5209, allocations: 123.7 kB / 0.605 GB, free: 1.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.522, allocations: 0.8632 MB / 0.6059 GB, free: 1.094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/0.5221, allocations: 41.7 kB / 0.6059 GB, free: 1.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007074/0.5228, allocations: 0.9749 MB / 0.6068 GB, free: 60 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/0.5232, allocations: 396.9 kB / 0.6072 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004767/0.5237, allocations: 347.4 kB / 0.6076 GB, free: 15.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.5238, allocations: 353.9 kB / 0.6079 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/0.5247, allocations: 455.8 kB / 0.6083 GB, free: 14.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.5261, allocations: 1.195 MB / 0.6095 GB, free: 12.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.5286, allocations: 1.798 MB / 0.6112 GB, free: 10.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.5286, allocations: 8 kB / 0.6113 GB, free: 10.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005136/0.5337, allocations: 2.057 MB / 0.6133 GB, free: 8.738 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.5338, allocations: 16 kB / 0.6133 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/0.5338, allocations: 31.88 kB / 0.6133 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.5361, allocations: 382.7 kB / 0.6137 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.538, allocations: 451.3 kB / 0.6141 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.5435, allocations: 3.811 MB / 0.6178 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.5447, allocations: 87.91 kB / 0.6179 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.5449, allocations: 104 kB / 0.618 GB, free: 3.637 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.00076/0.5457, allocations: 385 kB / 0.6184 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.546, allocations: 119.2 kB / 0.6185 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004669/0.5506, allocations: 1.597 MB / 0.6201 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.5506, allocations: 16.08 kB / 0.6201 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5506, allocations: 0 / 0.6201 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.5507, allocations: 11.95 kB / 0.6201 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.5526, allocations: 1.121 MB / 0.6212 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.5526, allocations: 4 kB / 0.6212 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.5539, allocations: 235.8 kB / 0.6214 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/0.5562, allocations: 350.2 kB / 0.6217 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.5563, allocations: 47.97 kB / 0.6218 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005086/0.5614, allocations: 3.725 MB / 0.6254 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5614, allocations: 4 kB / 0.6254 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.5665, allocations: 2.204 MB / 0.6276 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.5668, allocations: 111.1 kB / 0.6277 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.5669, allocations: 28 kB / 0.6277 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.5676, allocations: 24 kB / 0.6277 GB, free: 9.289 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.5678, allocations: 116.7 kB / 0.6278 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.5679, allocations: 55.98 kB / 0.6279 GB, free: 9.121 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007045/0.5686, allocations: 0.5045 MB / 0.6284 GB, free: 8.605 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5686, allocations: 0 / 0.6284 GB, free: 8.605 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002263/0.5709, allocations: 0.725 MB / 0.6291 GB, free: 7.879 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.001347/0.5722, allocations: 0.7311 MB / 0.6298 GB, free: 7.137 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002673/0.5749, allocations: 1.468 MB / 0.6312 GB, free: 5.648 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.5749, allocations: 0 / 0.6312 GB, free: 5.648 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.5762, allocations: 0.7692 MB / 0.632 GB, free: 4.859 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.5775, allocations: 231.4 kB / 0.6322 GB, free: 4.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.5828, allocations: 3.106 MB / 0.6352 GB, free: 1.453 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/0.5835, allocations: 0.6721 MB / 0.6359 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/0.5841, allocations: 271.2 kB / 0.6362 GB, free: 492 kB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5841, allocations: 3.938 kB / 0.6362 GB, free: 488 kB / 478.1 MB Notification: Performance of Templates: time 0.05491/0.639, allocations: 44.05 MB / 0.6792 GB, free: 4.445 MB / 0.5137 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: 10.535670480981935] Failed to read output from testmodel.py, exit status != 0: 0.6486790990456939 0.663048785 0.19455470600000002 Calling exit ...