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.001228/0.001228, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001414/0.001414, allocations: 217.1 kB / 22.25 MB, free: 5.105 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.1336/0.1336, allocations: 23.88 MB / 336.3 MB, free: 10.93 MB / 270.1 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: 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.001938/0.001938, allocations: 67.91 kB / 471.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.272, allocations: 59.86 MB / 0.519 GB, free: 9.832 MB / 382.1 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.06889/0.3409, allocations: 28.68 MB / 0.547 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02158/0.3625, allocations: 15.79 MB / 0.5624 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.364, allocations: 27.81 kB / 0.5625 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.3652, allocations: 453.6 kB / 0.5629 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.369, allocations: 1.298 MB / 0.5642 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00675/0.3758, allocations: 2.582 MB / 0.5667 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003435/0.3792, allocations: 2.288 MB / 0.5689 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.3807, allocations: 1.215 MB / 0.5701 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.3819, allocations: 1.06 MB / 0.5711 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.3834, allocations: 1.164 MB / 0.5723 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000283/0.3837, allocations: 224 kB / 0.5725 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004269/0.388, allocations: 1.759 MB / 0.5742 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004697/0.3885, allocations: 0.5063 MB / 0.5747 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009335/0.3894, allocations: 0.9143 MB / 0.5756 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005923/0.3953, allocations: 4.346 MB / 0.5798 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3953, allocations: 0 / 0.5798 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3953, allocations: 0 / 0.5798 GB, free: 11.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.3953, allocations: 0 / 0.5798 GB, free: 11.41 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.004285/0.3996, allocations: 2.474 MB / 0.5823 GB, free: 8.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3997, allocations: 12.03 kB / 0.5823 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.4013, allocations: 443 kB / 0.5827 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.4033, allocations: 1.062 MB / 0.5837 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.4035, allocations: 207.7 kB / 0.5839 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/0.4038, allocations: 196 kB / 0.5841 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/0.4073, allocations: 2.157 MB / 0.5862 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.4073, allocations: 4 kB / 0.5862 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.4075, allocations: 83.94 kB / 0.5863 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.4075, allocations: 48 kB / 0.5863 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003635/0.4112, allocations: 2.218 MB / 0.5885 GB, free: 2.375 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.009777/0.421, allocations: 5.857 MB / 0.5942 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.4236, allocations: 1.501 MB / 0.5957 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/0.4245, allocations: 0.5293 MB / 0.5962 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007522/0.432, allocations: 3.303 MB / 0.5994 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.432, allocations: 43.56 kB / 0.5995 GB, free: 6.906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.405e-06/0.432, allocations: 3.938 kB / 0.5995 GB, free: 6.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02001/0.452, allocations: 4.662 MB / 0.604 GB, free: 2.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.4521, allocations: 119.8 kB / 0.6041 GB, free: 2.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4532, allocations: 0.8631 MB / 0.605 GB, free: 1.184 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.4532, allocations: 41.7 kB / 0.605 GB, free: 1.137 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006809/0.4539, allocations: 0.9787 MB / 0.606 GB, free: 148 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.4543, allocations: 400.9 kB / 0.6064 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004875/0.4548, allocations: 347.4 kB / 0.6067 GB, free: 15.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.455, allocations: 353.9 kB / 0.607 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/0.4558, allocations: 459.8 kB / 0.6075 GB, free: 14.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.4572, allocations: 1.195 MB / 0.6086 GB, free: 13.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.4597, allocations: 1.794 MB / 0.6104 GB, free: 10.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.4597, allocations: 4 kB / 0.6104 GB, free: 10.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005636/0.4653, allocations: 2.058 MB / 0.6124 GB, free: 8.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4653, allocations: 16 kB / 0.6124 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/0.4654, allocations: 27.98 kB / 0.6124 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.4682, allocations: 382.4 kB / 0.6128 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.47, allocations: 447.3 kB / 0.6132 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005739/0.4757, allocations: 3.816 MB / 0.617 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.4768, allocations: 79.86 kB / 0.617 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.477, allocations: 104 kB / 0.6171 GB, free: 3.73 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.0006431/0.4776, allocations: 397.1 kB / 0.6175 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.4779, allocations: 119.2 kB / 0.6176 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/0.4831, allocations: 1.593 MB / 0.6192 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.4831, allocations: 19.88 kB / 0.6192 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4831, allocations: 0 / 0.6192 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.4831, allocations: 7.984 kB / 0.6192 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.4849, allocations: 1.121 MB / 0.6203 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4849, allocations: 4.312 kB / 0.6203 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.4863, allocations: 247.7 kB / 0.6206 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/0.4891, allocations: 346.2 kB / 0.6209 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.504e-05/0.4892, allocations: 39.98 kB / 0.6209 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.4947, allocations: 3.721 MB / 0.6246 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4947, allocations: 4 kB / 0.6246 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.5002, allocations: 2.2 MB / 0.6267 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.5005, allocations: 107.2 kB / 0.6268 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.5006, allocations: 28 kB / 0.6268 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.5014, allocations: 31.98 kB / 0.6269 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.5016, allocations: 104.7 kB / 0.627 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.5017, allocations: 55.98 kB / 0.627 GB, free: 9.223 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006674/0.5023, allocations: 0.5006 MB / 0.6275 GB, free: 8.711 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5023, allocations: 4 kB / 0.6275 GB, free: 8.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002123/0.5045, allocations: 0.725 MB / 0.6282 GB, free: 7.98 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.001258/0.5057, allocations: 0.7349 MB / 0.6289 GB, free: 7.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.5084, allocations: 1.46 MB / 0.6304 GB, free: 5.754 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5084, allocations: 3.938 kB / 0.6304 GB, free: 5.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.5097, allocations: 0.7851 MB / 0.6311 GB, free: 4.945 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.511, allocations: 244.5 kB / 0.6314 GB, free: 4.719 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.5161, allocations: 3.05 MB / 0.6343 GB, free: 1.598 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/0.5168, allocations: 0.6722 MB / 0.635 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001021/0.5178, allocations: 338 kB / 0.6353 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/0.5183, allocations: 211.3 kB / 0.6355 GB, free: 360 kB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5183, allocations: 0 / 0.6355 GB, free: 360 kB / 478.1 MB Notification: Performance of Templates: time 0.04287/0.5611, allocations: 27.44 MB / 0.6623 GB, free: 5.102 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.629144695121795] Failed to read output from testmodel.py, exit status != 0: 0.5692266556434333 0.582148623 0.18398929900000002 Calling exit ...