Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.0006748/0.0006748, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008439/0.001519, allocations: 435.8 kB / 10.33 MB, free: 368 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.001603/0.001603, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001085/0.002689, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8977/0.8977, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07665/0.9743, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.1029/0.1029, allocations: 17.44 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01165/0.1146, allocations: 6.967 MB / 268.4 MB, free: 6.387 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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 269.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.136e-05, allocations: 6.109 kB / 269.7 MB, free: 5.109 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.StandardElectrochemicalCell): time 0.1229/0.123, allocations: 7.51 MB / 277.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.1384, allocations: 19.04 MB / 296.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/0.1391, allocations: 27.75 kB / 296.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008883/0.14, allocations: 470.2 kB / 296.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.1418, allocations: 0.9627 MB / 297.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.1474, allocations: 3.024 MB / 300.7 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.1493, allocations: 1.866 MB / 302.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008006/0.1501, allocations: 0.8017 MB / 303.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.1512, allocations: 1.311 MB / 304.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007304/0.1519, allocations: 0.7678 MB / 305.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.1521, allocations: 144 kB / 305.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.155, allocations: 1.782 MB / 307.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.1552, allocations: 275.1 kB / 307.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.1556, allocations: 471.1 kB / 308.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.1583, allocations: 3.124 MB / 311.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/0.1583, allocations: 0 / 311.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1583, allocations: 4 kB / 311.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.1583, allocations: 3.938 kB / 311.2 MB, free: 8.863 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.002043/0.1604, allocations: 2.532 MB / 313.7 MB, free: 6.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1604, allocations: 8.031 kB / 313.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.1615, allocations: 0.7225 MB / 314.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.1622, allocations: 0.7041 MB / 315.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-05/0.1623, allocations: 197.9 kB / 315.4 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1624, allocations: 124.4 kB / 315.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1635, allocations: 1.233 MB / 316.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.1635, allocations: 0 / 316.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.1636, allocations: 52 kB / 316.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.1636, allocations: 32 kB / 316.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1646, allocations: 1.136 MB / 317.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.1682, allocations: 3.966 MB / 321.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.1687, allocations: 0.5061 MB / 322.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1689, allocations: 160.4 kB / 322.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002842/0.1717, allocations: 2.512 MB / 325.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1717, allocations: 34.56 kB / 325.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.212e-06/0.1717, allocations: 0 / 325.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005044/0.1722, allocations: 383.7 kB / 325.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1723, allocations: 107.1 kB / 325.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.173, allocations: 0.9995 MB / 326.6 MB, free: 9.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.173, allocations: 33.7 kB / 326.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.1733, allocations: 0.7686 MB / 327.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/0.1733, allocations: 154.8 kB / 327.6 MB, free: 8.105 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.1735, allocations: 283.3 kB / 327.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.1736, allocations: 361.8 kB / 328.2 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1737, allocations: 126.8 kB / 328.3 MB, free: 7.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.1742, allocations: 0.9575 MB / 329.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.1749, allocations: 1.241 MB / 330.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.175, allocations: 12 kB / 330.5 MB, free: 4.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.000838/0.1758, allocations: 0.9629 MB / 331.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.1758, allocations: 19.98 kB / 331.5 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.1758, allocations: 31.94 kB / 331.5 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/0.1761, allocations: 153.4 kB / 331.7 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.1768, allocations: 479.6 kB / 332.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.1783, allocations: 3.608 MB / 335.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.1787, allocations: 179 kB / 335.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.1788, allocations: 87.98 kB / 336 MB, free: 14.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * 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.0001874/0.179, allocations: 227.9 kB / 336.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/0.1791, allocations: 67.88 kB / 336.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008627/0.18, allocations: 0.8117 MB / 337.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.18, allocations: 4 kB / 337.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.18, allocations: 7.938 kB / 337.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.18, allocations: 7.969 kB / 337.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009598/0.1809, allocations: 1.008 MB / 338.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1809, allocations: 4.062 kB / 338.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.1812, allocations: 79.95 kB / 338.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.1813, allocations: 95.22 kB / 338.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.1817, allocations: 175.2 kB / 338.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.1817, allocations: 19.92 kB / 338.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.1834, allocations: 3.452 MB / 342 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1834, allocations: 3.984 kB / 342 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.184, allocations: 0.6736 MB / 342.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1841, allocations: 27.89 kB / 342.7 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.1844, allocations: 8 kB / 342.7 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1844, allocations: 43.81 kB / 342.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.1845, allocations: 16 kB / 342.7 MB, free: 7.402 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004545/0.1849, allocations: 0.4965 MB / 343.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1849, allocations: 0 / 343.2 MB, free: 6.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001409/0.1863, allocations: 0.6656 MB / 343.9 MB, free: 6.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (30): * Single equations (assignments): 26 * 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.0009623/0.1873, allocations: 0.7948 MB / 344.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008198/0.1881, allocations: 0.6076 MB / 345.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.459e-05/0.1881, allocations: 21.81 kB / 345.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.1884, allocations: 354.4 kB / 345.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.1892, allocations: 308 kB / 346 MB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.2052, allocations: 1.901 MB / 347.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.2054, allocations: 208 kB / 348.1 MB, free: 1.941 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003646/0.209, allocations: 281.8 kB / 348.3 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.2094, allocations: 289.2 kB / 348.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2094, allocations: 0 / 348.6 MB, free: 1.402 MB / 330.7 MB Notification: Performance of Templates: time 0.05024/0.2597, allocations: 23.03 MB / 371.7 MB, free: 10.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1533172326162457]