Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.001597/0.001597, allocations: 112.9 kB / 17.13 MB, free: 5.926 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.001679/0.001679, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1353/0.1353, allocations: 23.89 MB / 333.4 MB, free: 1.18 MB / 254.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.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [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.002056/0.002056, allocations: 65.38 kB / 467.2 MB, free: 30.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09356, allocations: 59.84 MB / 0.5147 GB, free: 12.38 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66: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:14335:7-14335:66: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.CheckSubstancesData.StandardElectrochemicalCell2): time 0.0407/0.1343, allocations: 27.84 MB / 0.5419 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02346/0.1577, allocations: 18.28 MB / 0.5598 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007977/0.1585, allocations: 23.81 kB / 0.5598 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.1597, allocations: 476.5 kB / 0.5602 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.1617, allocations: 0.8419 MB / 0.5611 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006718/0.1684, allocations: 2.818 MB / 0.5638 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.1704, allocations: 1.63 MB / 0.5654 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009463/0.1714, allocations: 0.758 MB / 0.5661 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007915/0.1722, allocations: 0.7206 MB / 0.5668 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.1732, allocations: 0.8211 MB / 0.5676 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.1734, allocations: 144 kB / 0.5678 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.1778, allocations: 1.786 MB / 0.5695 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.1782, allocations: 350.9 kB / 0.5699 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007553/0.1789, allocations: 0.7505 MB / 0.5706 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005478/0.1844, allocations: 3.583 MB / 0.5741 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1844, allocations: 0 / 0.5741 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1844, allocations: 0 / 0.5741 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.1844, allocations: 0 / 0.5741 GB, free: 15.46 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003362/0.1878, allocations: 1.98 MB / 0.576 GB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1878, allocations: 12.03 kB / 0.576 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.1895, allocations: 395.1 kB / 0.5764 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.1912, allocations: 0.9815 MB / 0.5774 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.1914, allocations: 150.1 kB / 0.5775 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.1916, allocations: 120 kB / 0.5776 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.1944, allocations: 1.649 MB / 0.5792 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.1944, allocations: 3.984 kB / 0.5792 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.1946, allocations: 48 kB / 0.5793 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.1946, allocations: 28 kB / 0.5793 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/0.1981, allocations: 2.108 MB / 0.5814 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008239/0.2063, allocations: 5.441 MB / 0.5867 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.2077, allocations: 0.6984 MB / 0.5874 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.2083, allocations: 332.4 kB / 0.5877 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2132/0.4216, allocations: 5.048 MB / 0.5926 GB, free: 61.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.4216, allocations: 41.14 kB / 0.5927 GB, free: 61.91 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002897/0.4219, allocations: 81.09 kB / 0.5927 GB, free: 61.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.4219, allocations: 0.8438 kB / 0.5927 GB, free: 61.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001446/0.4233, allocations: 0.7516 MB / 0.5935 GB, free: 61.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.4234, allocations: 111.5 kB / 0.5936 GB, free: 61.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.4248, allocations: 1.202 MB / 0.5947 GB, free: 61.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.4248, allocations: 32.02 kB / 0.5948 GB, free: 61.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.4251, allocations: 0.7927 MB / 0.5956 GB, free: 60.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.4253, allocations: 149.7 kB / 0.5957 GB, free: 60.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.4256, allocations: 269.3 kB / 0.596 GB, free: 60.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.4256, allocations: 353.2 kB / 0.5963 GB, free: 60.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.4262, allocations: 322.9 kB / 0.5966 GB, free: 60.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.4269, allocations: 1.051 MB / 0.5976 GB, free: 58.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.4281, allocations: 1.398 MB / 0.599 GB, free: 57.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.4281, allocations: 7.875 kB / 0.599 GB, free: 57.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002262/0.4304, allocations: 1.44 MB / 0.6004 GB, free: 57.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.4304, allocations: 17.95 kB / 0.6004 GB, free: 57.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.4304, allocations: 28.78 kB / 0.6004 GB, free: 57.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.431, allocations: 146.8 kB / 0.6006 GB, free: 57.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.4322, allocations: 380.2 kB / 0.6009 GB, free: 57.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.4343, allocations: 4.072 MB / 0.6049 GB, free: 52.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.4351, allocations: 74.03 kB / 0.605 GB, free: 52.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.4352, allocations: 93.08 kB / 0.6051 GB, free: 52.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004193/0.4357, allocations: 316.1 kB / 0.6054 GB, free: 52.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.4358, allocations: 107 kB / 0.6055 GB, free: 52.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.4375, allocations: 0.8668 MB / 0.6063 GB, free: 52.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4375, allocations: 4 kB / 0.6063 GB, free: 52.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.4375, allocations: 1.094 kB / 0.6063 GB, free: 52.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4375, allocations: 1.875 kB / 0.6063 GB, free: 52.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.4394, allocations: 1.262 MB / 0.6076 GB, free: 51.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4394, allocations: 2.828 kB / 0.6076 GB, free: 51.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.4397, allocations: 62 kB / 0.6076 GB, free: 51.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007161/0.4404, allocations: 176.6 kB / 0.6078 GB, free: 51.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.4404, allocations: 14.02 kB / 0.6078 GB, free: 51.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.4424, allocations: 3.955 MB / 0.6117 GB, free: 47.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4424, allocations: 5.531 kB / 0.6117 GB, free: 47.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4434, allocations: 0.8486 MB / 0.6125 GB, free: 46.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.4436, allocations: 180.7 kB / 0.6127 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.4437, allocations: 8.906 kB / 0.6127 GB, free: 46.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.4441, allocations: 10.8 kB / 0.6127 GB, free: 46.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.4442, allocations: 34.94 kB / 0.6127 GB, free: 46.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.4442, allocations: 22 kB / 0.6128 GB, free: 46.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.4453, allocations: 0.8849 MB / 0.6136 GB, free: 46.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4453, allocations: 0 / 0.6136 GB, free: 46.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001904/0.4472, allocations: 0.6324 MB / 0.6142 GB, free: 46.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.4484, allocations: 0.7431 MB / 0.615 GB, free: 46.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.45, allocations: 0.7758 MB / 0.6157 GB, free: 45.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.45, allocations: 0 / 0.6157 GB, free: 45.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.4504, allocations: 387.4 kB / 0.6161 GB, free: 45.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4515, allocations: 167.4 kB / 0.6163 GB, free: 45.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.454, allocations: 1.871 MB / 0.6181 GB, free: 44.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.4545, allocations: 1.056 MB / 0.6191 GB, free: 43.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.4548, allocations: 191 kB / 0.6193 GB, free: 43.79 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4548, allocations: 0 / 0.6193 GB, free: 43.79 MB / 446.1 MB Notification: Performance of Templates: time 0.03006/0.4849, allocations: 37.4 MB / 0.6558 GB, free: 12.79 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.86988894699607] Failed to read output from testmodel.py, exit status != 0: 0.4924431889958214 0.50119474 0.31465109599999996 Calling exit ...