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.001362/0.001362, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001516/0.001516, allocations: 217.1 kB / 22.25 MB, free: 4.852 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.789 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.1333/0.1333, allocations: 24 MB / 336.4 MB, free: 10.83 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.002048/0.002048, allocations: 63.89 kB / 471.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 59.89 MB / 0.5192 GB, free: 9.711 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.07679/0.4018, allocations: 28.8 MB / 0.5473 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02393/0.4257, allocations: 15.79 MB / 0.5628 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.4277, allocations: 35.69 kB / 0.5628 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.4295, allocations: 446 kB / 0.5632 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.4349, allocations: 1.297 MB / 0.5645 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008747/0.4437, allocations: 2.577 MB / 0.567 GB, free: 8.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.4483, allocations: 2.288 MB / 0.5692 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.4504, allocations: 1.187 MB / 0.5704 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.4523, allocations: 1.052 MB / 0.5714 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.4543, allocations: 1.019 MB / 0.5724 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007127/0.455, allocations: 224 kB / 0.5726 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005608/0.4606, allocations: 1.732 MB / 0.5743 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008267/0.4614, allocations: 0.4985 MB / 0.5748 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.4632, allocations: 0.9221 MB / 0.5757 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.474, allocations: 4.338 MB / 0.5799 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.474, allocations: 8 kB / 0.5799 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.474, allocations: 0 / 0.5799 GB, free: 11.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001301/0.4741, allocations: 0 / 0.5799 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.006644/0.4808, allocations: 2.472 MB / 0.5824 GB, free: 8.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4808, allocations: 16.03 kB / 0.5824 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.483, allocations: 439 kB / 0.5828 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.4855, allocations: 1.055 MB / 0.5838 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.4858, allocations: 211.7 kB / 0.584 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/0.4863, allocations: 203.9 kB / 0.5842 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.4901, allocations: 2.153 MB / 0.5863 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.4901, allocations: 7.938 kB / 0.5863 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.4903, allocations: 76 kB / 0.5864 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.4903, allocations: 48 kB / 0.5865 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/0.494, allocations: 2.222 MB / 0.5886 GB, free: 2.289 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.009869/0.5039, allocations: 5.861 MB / 0.5943 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.5065, allocations: 1.497 MB / 0.5958 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008536/0.5073, allocations: 0.5254 MB / 0.5963 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007541/0.5149, allocations: 3.306 MB / 0.5995 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.5149, allocations: 51.5 kB / 0.5996 GB, free: 6.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.855e-06/0.5149, allocations: 0 / 0.5996 GB, free: 6.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01807/0.533, allocations: 4.657 MB / 0.6041 GB, free: 2.129 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.5331, allocations: 127.7 kB / 0.6043 GB, free: 1.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.5344, allocations: 0.8592 MB / 0.6051 GB, free: 1.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.5345, allocations: 45.7 kB / 0.6052 GB, free: 1.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008149/0.5353, allocations: 0.9671 MB / 0.6061 GB, free: 68 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004213/0.5357, allocations: 400.8 kB / 0.6065 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005222/0.5363, allocations: 351.4 kB / 0.6068 GB, free: 15.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5364, allocations: 353.9 kB / 0.6071 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008712/0.5373, allocations: 451.8 kB / 0.6076 GB, free: 14.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.5389, allocations: 1.199 MB / 0.6088 GB, free: 12.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/0.5414, allocations: 1.782 MB / 0.6105 GB, free: 10.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.5414, allocations: 12 kB / 0.6105 GB, free: 10.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005308/0.5467, allocations: 2.066 MB / 0.6125 GB, free: 8.738 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.5468, allocations: 19.94 kB / 0.6125 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-05/0.5468, allocations: 24.09 kB / 0.6126 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.5492, allocations: 382.2 kB / 0.6129 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.551, allocations: 447.3 kB / 0.6134 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/0.5567, allocations: 3.808 MB / 0.6171 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5581, allocations: 95.91 kB / 0.6172 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/0.5583, allocations: 99.98 kB / 0.6173 GB, free: 3.641 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.000906/0.5592, allocations: 389.9 kB / 0.6176 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/0.5596, allocations: 119.2 kB / 0.6177 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005119/0.5648, allocations: 1.593 MB / 0.6193 GB, free: 1.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.5648, allocations: 15.94 kB / 0.6193 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5648, allocations: 4 kB / 0.6193 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/0.5648, allocations: 11.97 kB / 0.6193 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.5675, allocations: 1.109 MB / 0.6204 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.5675, allocations: 4 kB / 0.6204 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.5687, allocations: 240 kB / 0.6206 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.5709, allocations: 349.9 kB / 0.621 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.5711, allocations: 47.97 kB / 0.621 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005133/0.5762, allocations: 3.736 MB / 0.6247 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5762, allocations: 4 kB / 0.6247 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005343/0.5815, allocations: 2.196 MB / 0.6268 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.5819, allocations: 111.2 kB / 0.6269 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.5822, allocations: 28 kB / 0.627 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007385/0.5829, allocations: 24 kB / 0.627 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.5831, allocations: 108.7 kB / 0.6271 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.5832, allocations: 55.97 kB / 0.6271 GB, free: 9.133 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008077/0.584, allocations: 0.5045 MB / 0.6276 GB, free: 8.617 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.584, allocations: 0 / 0.6276 GB, free: 8.617 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002621/0.5867, allocations: 0.725 MB / 0.6283 GB, free: 7.891 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.001628/0.5883, allocations: 0.735 MB / 0.6291 GB, free: 7.145 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.5912, allocations: 1.463 MB / 0.6305 GB, free: 5.656 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.5912, allocations: 0 / 0.6305 GB, free: 5.656 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.5926, allocations: 0.7785 MB / 0.6312 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.001374/0.594, allocations: 230.4 kB / 0.6315 GB, free: 4.641 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.5997, allocations: 3.052 MB / 0.6344 GB, free: 1.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.6006, allocations: 0.676 MB / 0.6351 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.6017, allocations: 334.1 kB / 0.6354 GB, free: 492 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.6022, allocations: 215.3 kB / 0.6356 GB, free: 276 kB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6022, allocations: 0 / 0.6356 GB, free: 276 kB / 478.1 MB Notification: Performance of Templates: time 0.0452/0.6474, allocations: 26.9 MB / 0.6619 GB, free: 5.559 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8493197076022625] Failed to read output from testmodel.py, exit status != 0: 0.6571282465010881 0.671396941 0.194158412 Calling exit ...