Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0006528/0.0006528, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008354/0.001488, 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.0006617/0.0006617, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008468/0.001508, 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.9425/0.9425, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09594/1.038, 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.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.0891/0.0891, allocations: 17.36 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02011/0.1092, allocations: 6.929 MB / 268.3 MB, free: 6.504 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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 269.5 MB, free: 5.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.997e-05, allocations: 2.312 kB / 269.5 MB, free: 5.227 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.StandardElectrochemicalCell): time 0.1469/0.1469, allocations: 7.506 MB / 277 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.1636, allocations: 19.04 MB / 296.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.1644, allocations: 29.03 kB / 296.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.1655, allocations: 468.7 kB / 296.6 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.1675, allocations: 0.9661 MB / 297.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006584/0.1741, allocations: 3.019 MB / 300.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.1757, allocations: 1.866 MB / 302.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008315/0.1766, allocations: 0.8091 MB / 303.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.1777, allocations: 1.311 MB / 304.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007375/0.1785, allocations: 0.7678 MB / 305.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.1786, allocations: 144 kB / 305.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.1816, allocations: 1.778 MB / 307.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1818, allocations: 279 kB / 307.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.1822, allocations: 467.1 kB / 308 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.1855, allocations: 3.132 MB / 311.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.1855, allocations: 0 / 311.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1855, allocations: 0 / 311.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.603e-05/0.1855, allocations: 0 / 311.1 MB, free: 9.059 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.002395/0.1879, allocations: 2.532 MB / 313.6 MB, free: 6.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.426e-05/0.1879, allocations: 8.031 kB / 313.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.189, allocations: 0.7301 MB / 314.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/0.1898, allocations: 0.7002 MB / 315.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/0.1899, allocations: 201.9 kB / 315.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.19, allocations: 124.4 kB / 315.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1911, allocations: 1.233 MB / 316.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1911, allocations: 0 / 316.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/0.1912, allocations: 56 kB / 316.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1912, allocations: 32 kB / 316.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.1923, allocations: 1.136 MB / 317.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.1962, allocations: 3.959 MB / 321.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.1967, allocations: 0.5088 MB / 322.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.1969, allocations: 156.5 kB / 322.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0031/0.2, allocations: 2.516 MB / 325 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2, allocations: 34.56 kB / 325 MB, free: 10.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.042e-06/0.2, allocations: 0 / 325 MB, free: 10.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005249/0.2006, allocations: 383 kB / 325.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.2006, allocations: 110.8 kB / 325.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.2013, allocations: 0.9917 MB / 326.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.2013, allocations: 33.7 kB / 326.5 MB, free: 9.227 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.2016, allocations: 0.7725 MB / 327.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.463e-05/0.2017, allocations: 150.8 kB / 327.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.2019, allocations: 283.3 kB / 327.7 MB, free: 8.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.202, allocations: 365.8 kB / 328.1 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2022, allocations: 126.8 kB / 328.2 MB, free: 7.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.2027, allocations: 0.9485 MB / 329.1 MB, free: 6.168 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.2038, allocations: 1.252 MB / 330.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.2038, allocations: 8 kB / 330.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001191/0.205, allocations: 0.9587 MB / 331.4 MB, free: 3.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.205, allocations: 16 kB / 331.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.205, allocations: 28 kB / 331.4 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/0.2053, allocations: 157.9 kB / 331.6 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.2061, allocations: 480.1 kB / 332 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.2077, allocations: 3.617 MB / 335.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.2082, allocations: 174.7 kB / 335.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.99e-05/0.2083, allocations: 87.98 kB / 335.9 MB, free: 14.75 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.0002079/0.2085, allocations: 228 kB / 336.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.2086, allocations: 67.86 kB / 336.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009206/0.2095, allocations: 0.8266 MB / 337 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2095, allocations: 0 / 337 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2095, allocations: 7.938 kB / 337 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2095, allocations: 0 / 337 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000907/0.2104, allocations: 0.9959 MB / 338 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2104, allocations: 7.984 kB / 338 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.2106, allocations: 88.05 kB / 338.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.2106, allocations: 91.23 kB / 338.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/0.211, allocations: 179.5 kB / 338.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.211, allocations: 15.94 kB / 338.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.2124, allocations: 3.456 MB / 341.8 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2124, allocations: 4 kB / 341.8 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.2129, allocations: 0.6773 MB / 342.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/0.213, allocations: 23.89 kB / 342.5 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2131, allocations: 8 kB / 342.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.2132, allocations: 43.81 kB / 342.6 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2132, allocations: 16 kB / 342.6 MB, free: 7.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005207/0.2137, allocations: 0.5004 MB / 343.1 MB, free: 7.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2137, allocations: 0 / 343.1 MB, free: 7.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001738/0.2155, allocations: 0.6656 MB / 343.8 MB, free: 6.418 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.0008773/0.2163, allocations: 0.7953 MB / 344.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006799/0.217, allocations: 0.6068 MB / 345.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.048e-05/0.2171, allocations: 26.75 kB / 345.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.2173, allocations: 342.1 kB / 345.5 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.2179, allocations: 309.2 kB / 345.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009785/0.2277, allocations: 1.907 MB / 347.8 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2278, allocations: 200 kB / 347.9 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005142/0.2283, allocations: 271 kB / 348.2 MB, free: 1.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.2287, allocations: 293.2 kB / 348.5 MB, free: 1.602 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2287, allocations: 0 / 348.5 MB, free: 1.602 MB / 330.7 MB Notification: Performance of Templates: time 0.02489/0.2536, allocations: 23.04 MB / 371.5 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.193314990028739]