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.0013/0.0013, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001513/0.001513, allocations: 212.1 kB / 22.25 MB, free: 5.082 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.031 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.1416/0.1416, allocations: 23.89 MB / 336.3 MB, free: 11.17 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.002064/0.002064, allocations: 63.89 kB / 471.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3204, allocations: 59.87 MB / 0.5191 GB, free: 9.844 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.04324/0.3637, allocations: 29.81 MB / 0.5482 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02591/0.3896, allocations: 17.94 MB / 0.5658 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.3912, allocations: 31.75 kB / 0.5658 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.3928, allocations: 493.5 kB / 0.5663 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.3969, allocations: 1.321 MB / 0.5676 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007587/0.4045, allocations: 2.576 MB / 0.5701 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004094/0.4086, allocations: 2.296 MB / 0.5723 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.4104, allocations: 1.219 MB / 0.5735 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.412, allocations: 1.052 MB / 0.5745 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.4141, allocations: 1.167 MB / 0.5757 GB, free: 52 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004076/0.4145, allocations: 224 kB / 0.5759 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006025/0.4205, allocations: 1.829 MB / 0.5777 GB, free: 14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005921/0.4211, allocations: 0.4985 MB / 0.5782 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.4224, allocations: 1.097 MB / 0.5792 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008791/0.4312, allocations: 4.342 MB / 0.5835 GB, free: 8.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4312, allocations: 4 kB / 0.5835 GB, free: 8.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4312, allocations: 7.984 kB / 0.5835 GB, free: 8.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.4312, allocations: 0 / 0.5835 GB, free: 8.027 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.004718/0.4359, allocations: 2.466 MB / 0.5859 GB, free: 5.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.436, allocations: 12.03 kB / 0.5859 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.4377, allocations: 447 kB / 0.5863 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.4398, allocations: 1.062 MB / 0.5874 GB, free: 3.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.44, allocations: 211.7 kB / 0.5876 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.4403, allocations: 200 kB / 0.5878 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.444, allocations: 2.131 MB / 0.5898 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.444, allocations: 4 kB / 0.5898 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.4442, allocations: 84 kB / 0.5899 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.4443, allocations: 48 kB / 0.59 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003847/0.4481, allocations: 2.233 MB / 0.5921 GB, free: 15 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.4597, allocations: 7.264 MB / 0.5992 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.4626, allocations: 1.512 MB / 0.6007 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009206/0.4635, allocations: 0.5371 MB / 0.6012 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008115/0.4716, allocations: 3.479 MB / 0.6046 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.4717, allocations: 43.56 kB / 0.6047 GB, free: 1.742 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.615e-06/0.4717, allocations: 3.938 kB / 0.6047 GB, free: 1.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01987/0.4916, allocations: 4.687 MB / 0.6093 GB, free: 13.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.4916, allocations: 115.8 kB / 0.6094 GB, free: 12.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.4929, allocations: 0.9197 MB / 0.6103 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.493, allocations: 41.7 kB / 0.6103 GB, free: 11.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008568/0.4939, allocations: 0.9633 MB / 0.6112 GB, free: 10.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.4943, allocations: 400.6 kB / 0.6116 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004918/0.4948, allocations: 351.4 kB / 0.612 GB, free: 10.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4949, allocations: 305.1 kB / 0.6123 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/0.4958, allocations: 455.8 kB / 0.6127 GB, free: 9.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.4973, allocations: 1.195 MB / 0.6139 GB, free: 7.883 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.4999, allocations: 1.79 MB / 0.6156 GB, free: 5.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.4999, allocations: 8 kB / 0.6156 GB, free: 5.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005805/0.5057, allocations: 2.065 MB / 0.6176 GB, free: 3.648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.5058, allocations: 16 kB / 0.6176 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.126e-05/0.5058, allocations: 28 kB / 0.6177 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/0.5085, allocations: 370.6 kB / 0.618 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.5104, allocations: 455.3 kB / 0.6185 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006101/0.5165, allocations: 3.881 MB / 0.6223 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.5177, allocations: 87.86 kB / 0.6223 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/0.5179, allocations: 104 kB / 0.6224 GB, free: 14.46 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.0007391/0.5187, allocations: 385.6 kB / 0.6228 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.519, allocations: 135.1 kB / 0.6229 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005273/0.5242, allocations: 1.606 MB / 0.6245 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.5242, allocations: 12 kB / 0.6245 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5242, allocations: 0 / 0.6245 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.5243, allocations: 7.969 kB / 0.6245 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.5266, allocations: 1.46 MB / 0.6259 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5267, allocations: 4 kB / 0.6259 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.528, allocations: 247.6 kB / 0.6262 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.5306, allocations: 354.2 kB / 0.6265 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5308, allocations: 43.98 kB / 0.6266 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005606/0.5364, allocations: 3.786 MB / 0.6303 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5364, allocations: 4 kB / 0.6303 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/0.542, allocations: 2.212 MB / 0.6324 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.5423, allocations: 131 kB / 0.6325 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.5424, allocations: 27.94 kB / 0.6326 GB, free: 3.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006985/0.5431, allocations: 28 kB / 0.6326 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.5434, allocations: 108.9 kB / 0.6327 GB, free: 3.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.5435, allocations: 51.98 kB / 0.6328 GB, free: 3.461 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008637/0.5443, allocations: 0.5736 MB / 0.6333 GB, free: 2.879 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5443, allocations: 3.938 kB / 0.6333 GB, free: 2.875 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002246/0.5466, allocations: 0.7289 MB / 0.634 GB, free: 2.145 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.001324/0.5479, allocations: 0.7281 MB / 0.6347 GB, free: 1.406 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.5508, allocations: 1.464 MB / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5508, allocations: 0 / 0.6362 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.5522, allocations: 0.7772 MB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.5536, allocations: 251.6 kB / 0.6372 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.5591, allocations: 3.054 MB / 0.6402 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.5601, allocations: 1.255 MB / 0.6414 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.5613, allocations: 334.5 kB / 0.6417 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.5617, allocations: 215.3 kB / 0.6419 GB, free: 9.934 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5617, allocations: 0 / 0.6419 GB, free: 9.934 MB / 494.1 MB Notification: Performance of Templates: time 0.04829/0.61, allocations: 27.03 MB / 0.6683 GB, free: 14.96 MB / 0.5137 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: 6.335898639634252] Failed to read output from testmodel.py, exit status != 0: 0.6195489019155502 0.634906308 0.20029738600000002 Calling exit ...