Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007126/0.0007126, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.001682, 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.0006825/0.0006825, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009412/0.001624, 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.9698/0.9698, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08777/1.058, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08487/0.08487, allocations: 17.36 MB / 261.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01007/0.09494, allocations: 6.932 MB / 268.3 MB, free: 6.5 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 269.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.1e-05, allocations: 2.312 kB / 269.5 MB, free: 5.223 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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.0/Obsolete.mo:14337:7-14337: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.1429/0.1429, allocations: 6.835 MB / 276.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1557, allocations: 13.46 MB / 289.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00083/0.1566, allocations: 26.72 kB / 289.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007914/0.1574, allocations: 364.8 kB / 290.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.1592, allocations: 0.8031 MB / 291 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.1641, allocations: 2.131 MB / 293.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.1661, allocations: 1.684 MB / 294.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.1671, allocations: 0.7906 MB / 295.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.1684, allocations: 1.173 MB / 296.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008311/0.1692, allocations: 0.705 MB / 297.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.1694, allocations: 138.9 kB / 297.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.1724, allocations: 1.221 MB / 298.9 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.1726, allocations: 267.1 kB / 299.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.1731, allocations: 435.2 kB / 299.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.1767, allocations: 2.389 MB / 301.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.5e-05/0.1767, allocations: 0 / 301.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1767, allocations: 4 kB / 301.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.874e-05/0.1767, allocations: 0 / 301.9 MB, free: 2.27 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.002128/0.1789, allocations: 2.213 MB / 304.2 MB, free: 24 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1789, allocations: 8.031 kB / 304.2 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.1799, allocations: 0.6644 MB / 304.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.1807, allocations: 0.6294 MB / 305.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1808, allocations: 209.7 kB / 305.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.1809, allocations: 112.4 kB / 305.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.182, allocations: 1.141 MB / 306.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.182, allocations: 0 / 306.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.1821, allocations: 52 kB / 307 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.1821, allocations: 28 kB / 307 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/0.183, allocations: 1.011 MB / 308 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.1867, allocations: 3.794 MB / 311.8 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.1873, allocations: 0.5157 MB / 312.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1875, allocations: 152.5 kB / 312.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002899/0.1904, allocations: 2.266 MB / 314.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1904, allocations: 34.56 kB / 314.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001422/0.1905, allocations: 75.36 kB / 314.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.1905, allocations: 0 / 314.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.000524/0.1911, allocations: 359.5 kB / 315.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1911, allocations: 106.8 kB / 315.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.1917, allocations: 0.9193 MB / 316.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1917, allocations: 33.7 kB / 316.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.192, allocations: 0.7213 MB / 317 MB, free: 2.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.1921, allocations: 135.2 kB / 317.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.1923, allocations: 278.5 kB / 317.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1924, allocations: 414.5 kB / 317.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1925, allocations: 109.4 kB / 317.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.193, allocations: 0.8583 MB / 318.7 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007815/0.1937, allocations: 1.126 MB / 319.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.1937, allocations: 8 kB / 319.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0008176/0.1946, allocations: 0.8757 MB / 320.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1946, allocations: 16 kB / 320.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.1946, allocations: 28 kB / 320.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.1949, allocations: 153.3 kB / 320.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.1956, allocations: 435.7 kB / 321.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.1972, allocations: 3.615 MB / 325 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.1976, allocations: 72.14 kB / 325.1 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.1977, allocations: 83.98 kB / 325.1 MB, free: 9.656 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.0001976/0.1979, allocations: 212 kB / 325.3 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.1979, allocations: 67.86 kB / 325.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000807/0.1987, allocations: 0.7217 MB / 326.1 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1987, allocations: 0 / 326.1 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1987, allocations: 4 kB / 326.1 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1988, allocations: 3.938 kB / 326.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.1996, allocations: 0.9034 MB / 327 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1996, allocations: 0 / 327 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.1998, allocations: 83.88 kB / 327.1 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.1999, allocations: 91.2 kB / 327.2 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/0.2002, allocations: 187.1 kB / 327.4 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2003, allocations: 16 kB / 327.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.2016, allocations: 3.448 MB / 330.9 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.2016, allocations: 7.938 kB / 330.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.202, allocations: 0.6326 MB / 331.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.2021, allocations: 11.98 kB / 331.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2023, allocations: 11.98 kB / 331.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.2023, allocations: 35.89 kB / 331.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.2023, allocations: 12 kB / 331.6 MB, free: 2.809 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003218/0.2027, allocations: 460.3 kB / 332 MB, free: 2.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2027, allocations: 4.031 kB / 332 MB, free: 2.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001145/0.2038, allocations: 0.5372 MB / 332.6 MB, free: 1.805 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.0007046/0.2045, allocations: 0.5592 MB / 333.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.2052, allocations: 0.5721 MB / 333.7 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-05/0.2052, allocations: 21.81 kB / 333.7 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.2054, allocations: 334.8 kB / 334 MB, free: 296 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.206, allocations: 276.5 kB / 334.3 MB, free: 28 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008503/0.2145, allocations: 1.739 MB / 336 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.2146, allocations: 195 kB / 336.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004962/0.2151, allocations: 249.8 kB / 336.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.2154, allocations: 273.2 kB / 336.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2154, allocations: 0 / 336.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Templates: time 0.01965/0.2351, allocations: 18.56 MB / 355.3 MB, free: 11.18 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1150173945352435]