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.001794/0.001794, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002221/0.002221, allocations: 209.3 kB / 22.99 MB, free: 4.957 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.5/1.5, 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 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.1394/0.1394, allocations: 23.88 MB / 337.1 MB, free: 10.96 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.0021/0.0021, allocations: 63.91 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2969, allocations: 59.86 MB / 0.5197 GB, free: 9.812 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.07471/0.3716, allocations: 28.64 MB / 0.5477 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0243/0.3959, allocations: 15.78 MB / 0.5631 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.3975, allocations: 27.75 kB / 0.5632 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.3992, allocations: 461.6 kB / 0.5636 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00471/0.4039, allocations: 1.29 MB / 0.5649 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007577/0.4115, allocations: 2.589 MB / 0.5674 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003691/0.4152, allocations: 2.284 MB / 0.5696 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.4172, allocations: 1.219 MB / 0.5708 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.4188, allocations: 1.056 MB / 0.5718 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.4208, allocations: 1.167 MB / 0.573 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005674/0.4214, allocations: 224 kB / 0.5732 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004945/0.4263, allocations: 1.763 MB / 0.5749 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006778/0.427, allocations: 0.5023 MB / 0.5754 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.4284, allocations: 0.9259 MB / 0.5763 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008378/0.4368, allocations: 4.33 MB / 0.5805 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4368, allocations: 3.984 kB / 0.5805 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.4368, allocations: 4 kB / 0.5805 GB, free: 11.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.831e-05/0.4369, allocations: 0 / 0.5805 GB, free: 11.48 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.00554/0.4425, allocations: 2.47 MB / 0.5829 GB, free: 8.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4425, allocations: 12.03 kB / 0.583 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.4443, allocations: 439 kB / 0.5834 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.4465, allocations: 1.062 MB / 0.5844 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.4467, allocations: 207.7 kB / 0.5846 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.4471, allocations: 204 kB / 0.5848 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/0.451, allocations: 2.16 MB / 0.5869 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.451, allocations: 4 kB / 0.5869 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.4512, allocations: 76 kB / 0.587 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/0.4513, allocations: 52 kB / 0.587 GB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003847/0.4551, allocations: 2.214 MB / 0.5892 GB, free: 2.449 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.01065/0.4658, allocations: 5.845 MB / 0.5949 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.4687, allocations: 1.501 MB / 0.5964 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/0.4696, allocations: 0.5294 MB / 0.5969 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00862/0.4782, allocations: 3.306 MB / 0.6001 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.4783, allocations: 47.56 kB / 0.6002 GB, free: 6.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.936e-06/0.4783, allocations: 0 / 0.6002 GB, free: 6.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02124/0.4995, allocations: 4.658 MB / 0.6047 GB, free: 2.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.4996, allocations: 119.8 kB / 0.6048 GB, free: 2.156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.5007, allocations: 0.8709 MB / 0.6057 GB, free: 1.262 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.5009, allocations: 49.7 kB / 0.6057 GB, free: 1.207 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00072/0.5016, allocations: 0.9748 MB / 0.6067 GB, free: 224 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.502, allocations: 396.9 kB / 0.6071 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.5025, allocations: 347.4 kB / 0.6074 GB, free: 15.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5027, allocations: 353.9 kB / 0.6077 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000874/0.5035, allocations: 455.8 kB / 0.6082 GB, free: 14.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.5051, allocations: 1.195 MB / 0.6093 GB, free: 13.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.5076, allocations: 1.79 MB / 0.6111 GB, free: 10.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.5076, allocations: 8 kB / 0.6111 GB, free: 10.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005961/0.5136, allocations: 2.061 MB / 0.6131 GB, free: 8.902 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.5136, allocations: 19.94 kB / 0.6131 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/0.5137, allocations: 24 kB / 0.6131 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/0.5167, allocations: 382.5 kB / 0.6135 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.5185, allocations: 451.3 kB / 0.6139 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/0.5245, allocations: 3.808 MB / 0.6177 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.5258, allocations: 87.91 kB / 0.6177 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.526, allocations: 104 kB / 0.6178 GB, free: 3.805 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.0006983/0.5267, allocations: 385.2 kB / 0.6182 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.527, allocations: 123.2 kB / 0.6183 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/0.5323, allocations: 1.597 MB / 0.6199 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.5323, allocations: 15.94 kB / 0.6199 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5324, allocations: 0 / 0.6199 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.5324, allocations: 7.969 kB / 0.6199 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.5345, allocations: 1.121 MB / 0.621 GB, free: 488 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.5345, allocations: 8 kB / 0.621 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.5358, allocations: 239.7 kB / 0.6212 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/0.5385, allocations: 346.5 kB / 0.6216 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.5386, allocations: 43.98 kB / 0.6216 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.5443, allocations: 3.724 MB / 0.6252 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5443, allocations: 0 / 0.6252 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/0.5502, allocations: 2.207 MB / 0.6274 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.5506, allocations: 107.1 kB / 0.6275 GB, free: 9.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.5507, allocations: 27.98 kB / 0.6275 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007397/0.5515, allocations: 24 kB / 0.6276 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.5517, allocations: 112.7 kB / 0.6277 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.5519, allocations: 55.97 kB / 0.6277 GB, free: 9.297 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007098/0.5526, allocations: 0.5046 MB / 0.6282 GB, free: 8.781 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5526, allocations: 0 / 0.6282 GB, free: 8.781 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002394/0.555, allocations: 0.7289 MB / 0.6289 GB, free: 8.051 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.001434/0.5564, allocations: 0.7262 MB / 0.6296 GB, free: 7.316 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.5592, allocations: 1.468 MB / 0.6311 GB, free: 5.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5592, allocations: 4.062 kB / 0.6311 GB, free: 5.824 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.5607, allocations: 0.776 MB / 0.6318 GB, free: 5.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.5621, allocations: 242.3 kB / 0.6321 GB, free: 4.797 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.5677, allocations: 3.042 MB / 0.635 GB, free: 1.684 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007971/0.5685, allocations: 0.6799 MB / 0.6357 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001186/0.5696, allocations: 330.1 kB / 0.636 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/0.5701, allocations: 211.3 kB / 0.6362 GB, free: 448 kB / 478.1 MB Notification: Performance of SimCode: time 1.472e-06/0.5701, allocations: 0 / 0.6362 GB, free: 448 kB / 478.1 MB Notification: Performance of Templates: time 0.04617/0.6163, allocations: 27.45 MB / 0.663 GB, free: 5.176 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.012784881997504] Failed to read output from testmodel.py, exit status != 0: 0.6255157999985386 0.639920494 0.19988175599999994 Calling exit ...