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.001314/0.001314, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001477/0.001477, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.8 MB, free: 8.027 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.1739/0.1739, allocations: 23.89 MB / 337.1 MB, free: 11.18 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.002099/0.002099, allocations: 63.91 kB / 472.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 59.87 MB / 0.5199 GB, free: 9.836 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.04331/0.3809, allocations: 29.86 MB / 0.549 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02479/0.4057, allocations: 17.95 MB / 0.5666 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/0.4082, allocations: 31.75 kB / 0.5666 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.4099, allocations: 488.9 kB / 0.5671 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005758/0.4157, allocations: 1.321 MB / 0.5683 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008488/0.4242, allocations: 2.581 MB / 0.5709 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.4284, allocations: 2.292 MB / 0.5731 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.4302, allocations: 1.219 MB / 0.5743 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.4318, allocations: 1.048 MB / 0.5753 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.4335, allocations: 1.164 MB / 0.5765 GB, free: 32 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.4339, allocations: 224 kB / 0.5767 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006334/0.4402, allocations: 1.837 MB / 0.5785 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006523/0.4409, allocations: 0.5024 MB / 0.579 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.4423, allocations: 1.104 MB / 0.58 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009897/0.4522, allocations: 4.331 MB / 0.5843 GB, free: 8.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4522, allocations: 4 kB / 0.5843 GB, free: 8.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4522, allocations: 0 / 0.5843 GB, free: 8.008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.4522, allocations: 3.938 kB / 0.5843 GB, free: 8.004 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.004828/0.457, allocations: 2.481 MB / 0.5867 GB, free: 5.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4571, allocations: 8.031 kB / 0.5867 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.4588, allocations: 443 kB / 0.5871 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.4609, allocations: 1.062 MB / 0.5882 GB, free: 3.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.4611, allocations: 207.7 kB / 0.5884 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.4614, allocations: 203.9 kB / 0.5885 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.465, allocations: 2.131 MB / 0.5906 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.465, allocations: 4 kB / 0.5906 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.4652, allocations: 80 kB / 0.5907 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.4653, allocations: 48 kB / 0.5908 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003773/0.469, allocations: 2.245 MB / 0.5929 GB, free: 14.96 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.01143/0.4805, allocations: 7.256 MB / 0.6 GB, free: 7.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.4832, allocations: 1.52 MB / 0.6015 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/0.4841, allocations: 0.537 MB / 0.602 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007823/0.4919, allocations: 3.475 MB / 0.6054 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.492, allocations: 55.5 kB / 0.6055 GB, free: 1.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 2.405e-06/0.492, allocations: 0 / 0.6055 GB, free: 1.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.01903/0.511, allocations: 4.677 MB / 0.6101 GB, free: 12.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.5111, allocations: 115.8 kB / 0.6102 GB, free: 12.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.5124, allocations: 0.9197 MB / 0.6111 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.5126, allocations: 45.64 kB / 0.6111 GB, free: 11.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007674/0.5133, allocations: 0.9555 MB / 0.612 GB, free: 10.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.5137, allocations: 408.7 kB / 0.6124 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005071/0.5142, allocations: 351.4 kB / 0.6128 GB, free: 10.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5144, allocations: 301.1 kB / 0.6131 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008536/0.5152, allocations: 455.8 kB / 0.6135 GB, free: 9.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.5168, allocations: 1.199 MB / 0.6147 GB, free: 7.848 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.5194, allocations: 1.79 MB / 0.6164 GB, free: 5.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.5195, allocations: 8 kB / 0.6164 GB, free: 5.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005623/0.5251, allocations: 2.061 MB / 0.6184 GB, free: 3.617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.5251, allocations: 16 kB / 0.6184 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.805e-05/0.5252, allocations: 28 kB / 0.6185 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/0.5278, allocations: 374.8 kB / 0.6188 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.5297, allocations: 451.3 kB / 0.6193 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.5356, allocations: 3.877 MB / 0.623 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.537, allocations: 95.78 kB / 0.6231 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.5372, allocations: 108 kB / 0.6232 GB, free: 14.42 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.0007766/0.5379, allocations: 381.6 kB / 0.6236 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/0.5383, allocations: 127.2 kB / 0.6237 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/0.5433, allocations: 1.614 MB / 0.6253 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.5434, allocations: 15.94 kB / 0.6253 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5434, allocations: 0 / 0.6253 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.5434, allocations: 4.125 kB / 0.6253 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.546, allocations: 1.46 MB / 0.6267 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.546, allocations: 4 kB / 0.6267 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.5472, allocations: 247.6 kB / 0.627 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/0.5497, allocations: 354.2 kB / 0.6273 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.5499, allocations: 47.98 kB / 0.6274 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005605/0.5555, allocations: 3.786 MB / 0.6311 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5555, allocations: 4 kB / 0.6311 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/0.5611, allocations: 2.212 MB / 0.6332 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.5615, allocations: 123.1 kB / 0.6333 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.5617, allocations: 27.94 kB / 0.6334 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/0.5624, allocations: 31.98 kB / 0.6334 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.5626, allocations: 104.8 kB / 0.6335 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.5627, allocations: 51.98 kB / 0.6336 GB, free: 3.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008578/0.5636, allocations: 0.5775 MB / 0.6341 GB, free: 2.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5636, allocations: 4.031 kB / 0.6341 GB, free: 2.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002379/0.566, allocations: 0.7288 MB / 0.6348 GB, free: 2.109 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.001453/0.5674, allocations: 0.7308 MB / 0.6355 GB, free: 1.371 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.5703, allocations: 1.464 MB / 0.637 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5703, allocations: 0 / 0.637 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.5717, allocations: 0.7725 MB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.5732, allocations: 247.5 kB / 0.638 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.5789, allocations: 3.096 MB / 0.641 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.58, allocations: 1.259 MB / 0.6422 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007229/0.5807, allocations: 271.2 kB / 0.6425 GB, free: 10.13 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5807, allocations: 0 / 0.6425 GB, free: 10.13 MB / 494.1 MB Notification: Performance of Templates: time 0.05614/0.6368, allocations: 43.63 MB / 0.6851 GB, free: 14.53 MB / 0.5294 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: 10.08438040400506] Failed to read output from testmodel.py, exit status != 0: 0.6469897720089648 0.660783016 0.205439628 Calling exit ...