Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.0009844/0.0009844, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002383, 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.001064/0.001064, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002477, allocations: 475.6 kB / 11.79 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.8714/0.8714, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07868/0.9501, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.07917/0.07917, allocations: 17.44 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0105/0.08967, allocations: 6.982 MB / 268.6 MB, free: 6.297 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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 269.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.177e-05, allocations: 2.312 kB / 269.9 MB, free: 4.988 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.StandardLeadAcidPotential): time 0.117/0.117, allocations: 8.605 MB / 278.5 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.1359, allocations: 25.83 MB / 304.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.1366, allocations: 33.5 kB / 304.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1377, allocations: 0.5981 MB / 304.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.1398, allocations: 1.287 MB / 306.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007021/0.1469, allocations: 4.047 MB / 310.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.1487, allocations: 2.266 MB / 312.5 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009005/0.1496, allocations: 0.983 MB / 313.5 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.1509, allocations: 1.634 MB / 315.2 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009768/0.1519, allocations: 0.9822 MB / 316.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.1521, allocations: 176 kB / 316.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003767/0.1559, allocations: 2.39 MB / 318.7 MB, free: 1.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.1561, allocations: 342.9 kB / 319 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004636/0.1566, allocations: 0.5536 MB / 319.6 MB, free: 500 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.1609, allocations: 4.101 MB / 323.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.1609, allocations: 0 / 323.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1609, allocations: 0 / 323.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.1609, allocations: 0 / 323.7 MB, free: 12.37 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.00272/0.1637, allocations: 3.112 MB / 326.8 MB, free: 9.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1637, allocations: 12.03 kB / 326.8 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.1651, allocations: 0.8575 MB / 327.7 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/0.1661, allocations: 0.8596 MB / 328.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.1662, allocations: 226.3 kB / 328.8 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.1663, allocations: 144.4 kB / 328.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.1676, allocations: 1.516 MB / 330.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1677, allocations: 4 kB / 330.4 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1678, allocations: 60 kB / 330.5 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.1678, allocations: 40 kB / 330.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.1692, allocations: 1.533 MB / 332 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004598/0.1738, allocations: 4.655 MB / 336.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.1745, allocations: 0.6657 MB / 337.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.1748, allocations: 241.5 kB / 337.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004288/0.1791, allocations: 3.598 MB / 341.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1791, allocations: 39.06 kB / 341.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000145/0.1792, allocations: 83.19 kB / 341.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.943e-06/0.1792, allocations: 0 / 341.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006203/0.1799, allocations: 467.6 kB / 341.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1799, allocations: 115.2 kB / 341.9 MB, free: 9.754 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.1805, allocations: 1.062 MB / 342.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.1805, allocations: 33.7 kB / 343 MB, free: 8.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.1808, allocations: 0.866 MB / 343.8 MB, free: 7.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1809, allocations: 206.4 kB / 344 MB, free: 7.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.1812, allocations: 343.2 kB / 344.4 MB, free: 7.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.1812, allocations: 309.1 kB / 344.7 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1814, allocations: 146.7 kB / 344.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.182, allocations: 1.172 MB / 346 MB, free: 5.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/0.183, allocations: 1.647 MB / 347.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.183, allocations: 12 kB / 347.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.0009778/0.1839, allocations: 1.147 MB / 348.8 MB, free: 1.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.184, allocations: 24 kB / 348.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.184, allocations: 36 kB / 348.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.1843, allocations: 167.9 kB / 349 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.1851, allocations: 0.5582 MB / 349.6 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.1865, allocations: 3.632 MB / 353.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.1869, allocations: 91.89 kB / 353.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/0.187, allocations: 108.9 kB / 353.4 MB, free: 12.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * 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 (197): * Single equations (assignments): 193 * 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.0002171/0.1872, allocations: 247.8 kB / 353.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.1873, allocations: 83.91 kB / 353.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1885, allocations: 1.243 MB / 355 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1885, allocations: 4 kB / 355 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1885, allocations: 0 / 355 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1885, allocations: 0 / 355 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.1895, allocations: 1.105 MB / 356.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1895, allocations: 4 kB / 356.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.1897, allocations: 87.88 kB / 356.2 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.1897, allocations: 107.1 kB / 356.3 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000341/0.1901, allocations: 167.6 kB / 356.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.1901, allocations: 19.98 kB / 356.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.1913, allocations: 3.456 MB / 359.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1913, allocations: 4.312 kB / 359.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.1918, allocations: 0.7045 MB / 360.6 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.1919, allocations: 8 kB / 360.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.1921, allocations: 11.98 kB / 360.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1921, allocations: 43.77 kB / 360.7 MB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1921, allocations: 20 kB / 360.7 MB, free: 5.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003528/0.1925, allocations: 0.5444 MB / 361.3 MB, free: 4.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1925, allocations: 0 / 361.3 MB, free: 4.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001411/0.1939, allocations: 0.8251 MB / 362.1 MB, free: 3.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (anode.temperature,cathode.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 (31): * Single equations (assignments): 27 * 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.001097/0.195, allocations: 1.024 MB / 363.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000736/0.1957, allocations: 0.7407 MB / 363.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.015e-05/0.1958, allocations: 31.84 kB / 363.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.196, allocations: 375.5 kB / 364.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.1972, allocations: 1.767 MB / 366 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.2076, allocations: 2.182 MB / 368.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.2078, allocations: 230.8 kB / 368.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005881/0.2083, allocations: 351.5 kB / 368.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/0.2087, allocations: 365.9 kB / 369.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2087, allocations: 0 / 369.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.02672/0.2355, allocations: 27.74 MB / 396.9 MB, free: 0.8711 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0014236951246858]