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.0006/0.0006, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008657/0.001466, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006658/0.0006658, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008655/0.001531, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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 0.8703/0.8703, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08313/0.9534, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1036/0.1036, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009318/0.1129, allocations: 6.979 MB / 268.6 MB, free: 6.281 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 269.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.127e-06/1.022e-05, allocations: 2.312 kB / 269.9 MB, free: 4.977 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1176/0.1176, allocations: 6.846 MB / 276.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1287, allocations: 13.46 MB / 290.2 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000709/0.1294, allocations: 28.38 kB / 290.2 MB, free: 9.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.1301, allocations: 366.5 kB / 290.6 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1315, allocations: 0.8031 MB / 291.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004482/0.136, allocations: 2.13 MB / 293.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.1376, allocations: 1.689 MB / 295.2 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.1384, allocations: 0.783 MB / 296 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008884/0.1393, allocations: 1.176 MB / 297.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.1399, allocations: 0.7007 MB / 297.8 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.1401, allocations: 137.3 kB / 298 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.1423, allocations: 1.236 MB / 299.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.1424, allocations: 263.2 kB / 299.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.1428, allocations: 435.2 kB / 299.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.1448, allocations: 2.389 MB / 302.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.1449, allocations: 0 / 302.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1449, allocations: 0 / 302.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.361e-05/0.1449, allocations: 4 kB / 302.3 MB, free: 1.891 MB / 282.7 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.001926/0.1468, allocations: 2.221 MB / 304.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.1468, allocations: 8.031 kB / 304.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.1478, allocations: 0.6569 MB / 305.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.1484, allocations: 0.6255 MB / 305.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.1485, allocations: 201.8 kB / 306 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.1487, allocations: 112.4 kB / 306.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.1496, allocations: 1.145 MB / 307.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1496, allocations: 4 kB / 307.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.1497, allocations: 48 kB / 307.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.1497, allocations: 35.98 kB / 307.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.1506, allocations: 1.001 MB / 308.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.154, allocations: 3.798 MB / 312.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.1545, allocations: 0.5108 MB / 312.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1546, allocations: 160.5 kB / 312.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00265/0.1573, allocations: 2.259 MB / 315.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1573, allocations: 38.56 kB / 315.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000126/0.1574, allocations: 67.36 kB / 315.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.082e-06/0.1574, allocations: 4 kB / 315.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004705/0.1579, allocations: 363 kB / 315.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1579, allocations: 106.8 kB / 315.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.1585, allocations: 0.9193 MB / 316.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1585, allocations: 29.7 kB / 316.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.1588, allocations: 0.7252 MB / 317.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.1589, allocations: 139 kB / 317.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.159, allocations: 270.8 kB / 317.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1591, allocations: 418.5 kB / 318.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1593, allocations: 117.4 kB / 318.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.1597, allocations: 0.8505 MB / 319.1 MB, free: 308 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.1605, allocations: 1.213 MB / 320.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.1605, allocations: 8 kB / 320.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0007631/0.1612, allocations: 0.8828 MB / 321.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1612, allocations: 20 kB / 321.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.1613, allocations: 26.62 kB / 321.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.1615, allocations: 149.4 kB / 321.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.1622, allocations: 439.6 kB / 321.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.1635, allocations: 3.605 MB / 325.4 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.1638, allocations: 72.11 kB / 325.5 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.1639, allocations: 84.86 kB / 325.6 MB, free: 9.191 MB / 314.7 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.0001713/0.1641, allocations: 208 kB / 325.8 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.1642, allocations: 67.95 kB / 325.8 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007654/0.1649, allocations: 0.7327 MB / 326.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1649, allocations: 4 kB / 326.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.1649, allocations: 0 / 326.6 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1649, allocations: 7.938 kB / 326.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.1657, allocations: 0.9018 MB / 327.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1657, allocations: 7.938 kB / 327.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.1659, allocations: 71.95 kB / 327.5 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.1659, allocations: 87.31 kB / 327.6 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/0.1663, allocations: 178.9 kB / 327.8 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.1663, allocations: 15.98 kB / 327.8 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.1675, allocations: 3.456 MB / 331.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1675, allocations: 4 kB / 331.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.1679, allocations: 0.6369 MB / 331.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.736e-05/0.168, allocations: 8 kB / 331.9 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1681, allocations: 8 kB / 331.9 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.1682, allocations: 43.88 kB / 332 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1682, allocations: 12 kB / 332 MB, free: 2.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003083/0.1685, allocations: 460.3 kB / 332.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1685, allocations: 0 / 332.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008456/0.1693, allocations: 0.5295 MB / 333 MB, free: 1.359 MB / 314.7 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.0005535/0.1699, allocations: 0.5642 MB / 333.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005814/0.1705, allocations: 0.6002 MB / 334.1 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-05/0.1705, allocations: 30 kB / 334.2 MB, free: 164 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.1707, allocations: 357.8 kB / 334.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/0.1716, allocations: 1.293 MB / 335.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008148/0.1797, allocations: 1.75 MB / 337.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.1798, allocations: 190.7 kB / 337.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004141/0.1803, allocations: 246.6 kB / 338 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.1805, allocations: 265.2 kB / 338.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1805, allocations: 0 / 338.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of Templates: time 0.01814/0.1987, allocations: 17.87 MB / 356.1 MB, free: 10.14 MB / 346.7 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7498323107138276]