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.00185/0.00185, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002279/0.002279, allocations: 209.2 kB / 23 MB, free: 4.57 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.8 MB, free: 8.008 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.1383/0.1383, allocations: 23.85 MB / 337 MB, free: 11.21 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.00207/0.00207, allocations: 67.84 kB / 472.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.307, allocations: 59.86 MB / 0.5198 GB, free: 9.867 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.04178/0.3488, allocations: 29.78 MB / 0.5489 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02477/0.3735, allocations: 17.95 MB / 0.5664 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.3753, allocations: 27.81 kB / 0.5664 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.3769, allocations: 489.6 kB / 0.5669 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.3816, allocations: 1.329 MB / 0.5682 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007609/0.3892, allocations: 2.583 MB / 0.5707 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004111/0.3934, allocations: 2.284 MB / 0.5729 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.3955, allocations: 1.215 MB / 0.5741 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.3974, allocations: 1.06 MB / 0.5752 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.3995, allocations: 1.16 MB / 0.5763 GB, free: 160 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000642/0.4001, allocations: 224 kB / 0.5765 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006011/0.4061, allocations: 1.829 MB / 0.5783 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007352/0.4069, allocations: 0.5102 MB / 0.5788 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.4083, allocations: 1.093 MB / 0.5799 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009176/0.4175, allocations: 4.346 MB / 0.5841 GB, free: 8.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4175, allocations: 0 / 0.5841 GB, free: 8.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4175, allocations: 0 / 0.5841 GB, free: 8.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.266e-05/0.4176, allocations: 0 / 0.5841 GB, free: 8.133 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.00486/0.4225, allocations: 2.478 MB / 0.5865 GB, free: 5.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4225, allocations: 8.031 kB / 0.5865 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.4243, allocations: 446.9 kB / 0.587 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.4264, allocations: 1.066 MB / 0.588 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.4266, allocations: 203.7 kB / 0.5882 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/0.4269, allocations: 203.9 kB / 0.5884 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.4306, allocations: 2.128 MB / 0.5905 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.4306, allocations: 0 / 0.5905 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.4308, allocations: 80 kB / 0.5905 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/0.4309, allocations: 56 kB / 0.5906 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.4347, allocations: 2.241 MB / 0.5928 GB, free: 15.09 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.01161/0.4463, allocations: 7.252 MB / 0.5999 GB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.4491, allocations: 1.53 MB / 0.6014 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000903/0.45, allocations: 0.5332 MB / 0.6019 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008068/0.4581, allocations: 3.482 MB / 0.6053 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.4581, allocations: 47.55 kB / 0.6053 GB, free: 1.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.816e-06/0.4581, allocations: 0 / 0.6053 GB, free: 1.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01963/0.4778, allocations: 4.669 MB / 0.6099 GB, free: 13.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.4778, allocations: 115.8 kB / 0.61 GB, free: 12.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.4791, allocations: 0.9158 MB / 0.6109 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.4792, allocations: 49.77 kB / 0.6109 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/0.4799, allocations: 0.9594 MB / 0.6119 GB, free: 11.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003982/0.4803, allocations: 404.6 kB / 0.6123 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.4808, allocations: 347.4 kB / 0.6126 GB, free: 10.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4809, allocations: 301.1 kB / 0.6129 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008371/0.4818, allocations: 459.8 kB / 0.6133 GB, free: 9.535 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.4832, allocations: 1.195 MB / 0.6145 GB, free: 7.988 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.4858, allocations: 1.794 MB / 0.6162 GB, free: 5.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.4858, allocations: 4 kB / 0.6162 GB, free: 5.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005523/0.4913, allocations: 2.073 MB / 0.6183 GB, free: 3.746 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.4913, allocations: 16 kB / 0.6183 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.4914, allocations: 24 kB / 0.6183 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.4941, allocations: 378.5 kB / 0.6187 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.4959, allocations: 451.3 kB / 0.6191 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005996/0.5019, allocations: 3.885 MB / 0.6229 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.5032, allocations: 83.8 kB / 0.623 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.5034, allocations: 112 kB / 0.6231 GB, free: 14.55 MB / 478.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.0007406/0.5042, allocations: 385.8 kB / 0.6234 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.5044, allocations: 131.1 kB / 0.6236 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/0.5095, allocations: 1.606 MB / 0.6251 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.5095, allocations: 12 kB / 0.6252 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.5095, allocations: 7.984 kB / 0.6252 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.5096, allocations: 3.984 kB / 0.6252 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.512, allocations: 1.453 MB / 0.6266 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.512, allocations: 4 kB / 0.6266 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.5133, allocations: 247.9 kB / 0.6268 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/0.5158, allocations: 342.2 kB / 0.6271 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.5159, allocations: 43.97 kB / 0.6272 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005489/0.5214, allocations: 3.794 MB / 0.6309 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.5214, allocations: 4 kB / 0.6309 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005545/0.527, allocations: 2.208 MB / 0.6331 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.5273, allocations: 123 kB / 0.6332 GB, free: 3.785 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.5275, allocations: 31.94 kB / 0.6332 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/0.5282, allocations: 32.08 kB / 0.6332 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.5284, allocations: 104.7 kB / 0.6333 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.5286, allocations: 47.98 kB / 0.6334 GB, free: 3.574 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008042/0.5294, allocations: 0.5814 MB / 0.6339 GB, free: 2.984 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5294, allocations: 4 kB / 0.634 GB, free: 2.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002305/0.5317, allocations: 0.7289 MB / 0.6347 GB, free: 2.25 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.001344/0.533, allocations: 0.7234 MB / 0.6354 GB, free: 1.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.5358, allocations: 1.48 MB / 0.6368 GB, free: 20 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5358, allocations: 0 / 0.6368 GB, free: 20 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.5371, allocations: 0.773 MB / 0.6376 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.5385, allocations: 249 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/0.5439, allocations: 3.092 MB / 0.6408 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009726/0.5449, allocations: 1.251 MB / 0.642 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/0.5455, allocations: 275.2 kB / 0.6423 GB, free: 10.27 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5455, allocations: 0 / 0.6423 GB, free: 10.27 MB / 494.1 MB Notification: Performance of Templates: time 0.05349/0.599, allocations: 43.62 MB / 0.6849 GB, free: 14.67 MB / 0.5294 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: 10.083564267028123] Failed to read output from testmodel.py, exit status != 0: 0.6086438640486449 0.6233848080000001 0.202404368 Calling exit ...