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.001588/0.001588, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001704/0.001704, allocations: 158.1 kB / 23.01 MB, free: 4.941 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.359/1.359, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 179] 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.1199/0.1199, allocations: 17.44 MB / 277.2 MB, free: 15.16 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.002004/0.002004, allocations: 63.91 kB / 412.6 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09937, allocations: 59.88 MB / 472.5 MB, free: 9.547 MB / 446.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.249/0.3484, allocations: 28.77 MB / 0.4895 GB, free: 38.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.3629, allocations: 15.79 MB / 0.5049 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.3641, allocations: 30.22 kB / 0.5049 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3651, allocations: 455.4 kB / 0.5053 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.3683, allocations: 1.3 MB / 0.5066 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.3739, allocations: 2.574 MB / 0.5091 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.3761, allocations: 2.28 MB / 0.5114 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.3771, allocations: 1.188 MB / 0.5125 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009285/0.3781, allocations: 1.053 MB / 0.5135 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.3792, allocations: 1.025 MB / 0.5145 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.3795, allocations: 232 kB / 0.5148 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.3838, allocations: 1.733 MB / 0.5165 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.3842, allocations: 0.4957 MB / 0.5169 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008459/0.385, allocations: 0.9187 MB / 0.5178 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.395, allocations: 4.34 MB / 0.5221 GB, free: 22.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.395, allocations: 1.344 kB / 0.5221 GB, free: 22.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.395, allocations: 0 / 0.5221 GB, free: 22.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.587e-05/0.3951, allocations: 0 / 0.5221 GB, free: 22.49 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.004193/0.3993, allocations: 2.48 MB / 0.5245 GB, free: 21.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3993, allocations: 9.625 kB / 0.5245 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.4008, allocations: 436.6 kB / 0.5249 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.4025, allocations: 1.059 MB / 0.526 GB, free: 20.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.4026, allocations: 206.7 kB / 0.5262 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.4029, allocations: 200.9 kB / 0.5264 GB, free: 20.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.4056, allocations: 2.156 MB / 0.5285 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.4057, allocations: 3.938 kB / 0.5285 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.4058, allocations: 81.72 kB / 0.5285 GB, free: 19.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.4059, allocations: 50.06 kB / 0.5286 GB, free: 19.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.4086, allocations: 2.218 MB / 0.5308 GB, free: 18.41 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.007796/0.4164, allocations: 5.843 MB / 0.5365 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.4185, allocations: 1.509 MB / 0.5379 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.4191, allocations: 0.5274 MB / 0.5384 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006063/0.4252, allocations: 3.32 MB / 0.5417 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.4252, allocations: 40.08 kB / 0.5417 GB, free: 9.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.584e-06/0.4252, allocations: 0 / 0.5417 GB, free: 9.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01601/0.4412, allocations: 4.66 MB / 0.5463 GB, free: 5.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.4412, allocations: 124.4 kB / 0.5464 GB, free: 5.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/0.442, allocations: 0.8603 MB / 0.5472 GB, free: 4.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.4421, allocations: 46.45 kB / 0.5473 GB, free: 4.262 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.4424, allocations: 0.9699 MB / 0.5482 GB, free: 3.379 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.4426, allocations: 402 kB / 0.5486 GB, free: 3.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.443, allocations: 351.2 kB / 0.5489 GB, free: 2.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.4431, allocations: 353.1 kB / 0.5493 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/0.4437, allocations: 456.7 kB / 0.5497 GB, free: 1.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008615/0.4446, allocations: 1.2 MB / 0.5509 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.4469, allocations: 1.791 MB / 0.5526 GB, free: 14.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/0.4469, allocations: 8 kB / 0.5527 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005265/0.4522, allocations: 2.059 MB / 0.5547 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.4522, allocations: 16 kB / 0.5547 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/0.4523, allocations: 24.75 kB / 0.5547 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.4547, allocations: 388.6 kB / 0.5551 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.4565, allocations: 451.8 kB / 0.5555 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005758/0.4622, allocations: 3.795 MB / 0.5592 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.4636, allocations: 93.22 kB / 0.5593 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002796/0.4639, allocations: 113 kB / 0.5594 GB, free: 7.777 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.0008058/0.4647, allocations: 382.2 kB / 0.5598 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.465, allocations: 119.2 kB / 0.5599 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.4701, allocations: 1.598 MB / 0.5614 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4701, allocations: 15.94 kB / 0.5615 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.4701, allocations: 4 kB / 0.5615 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.4701, allocations: 9.375 kB / 0.5615 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.4723, allocations: 1.102 MB / 0.5625 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.4723, allocations: 4 kB / 0.5626 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.4736, allocations: 243.2 kB / 0.5628 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.476, allocations: 348.6 kB / 0.5631 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.4761, allocations: 41.39 kB / 0.5632 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/0.4814, allocations: 3.738 MB / 0.5668 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4814, allocations: 4 kB / 0.5668 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/0.487, allocations: 2.201 MB / 0.569 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.4874, allocations: 106.2 kB / 0.5691 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.4876, allocations: 29.17 kB / 0.5691 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/0.4884, allocations: 30.34 kB / 0.5691 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.4887, allocations: 105.4 kB / 0.5692 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.4888, allocations: 56.64 kB / 0.5693 GB, free: 14.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008336/0.4897, allocations: 0.4995 MB / 0.5698 GB, free: 13.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4897, allocations: 4 kB / 0.5698 GB, free: 13.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002631/0.4923, allocations: 0.7304 MB / 0.5705 GB, free: 13.09 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.001742/0.494, allocations: 0.7252 MB / 0.5712 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002889/0.4969, allocations: 1.468 MB / 0.5726 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4969, allocations: 448 / 0.5726 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.4983, allocations: 0.7732 MB / 0.5734 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.4998, allocations: 234.6 kB / 0.5736 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.5055, allocations: 3.048 MB / 0.5766 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.5063, allocations: 0.6732 MB / 0.5772 GB, free: 6.547 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001115/0.5074, allocations: 334 kB / 0.5775 GB, free: 6.219 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.5079, allocations: 212.4 kB / 0.5778 GB, free: 6.012 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5079, allocations: 0 / 0.5778 GB, free: 6.012 MB / 478.1 MB Notification: Performance of Templates: time 0.04319/0.5511, allocations: 24.63 MB / 0.6018 GB, free: 13.57 MB / 0.4981 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.543994524050504] Failed to read output from testmodel.py, exit status != 0: 0.5599516929360107 0.5745037119999999 0.17635632099999995 Calling exit ...