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.0006947/0.0006947, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009761/0.001671, 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.0007662/0.0007662, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000949/0.001715, 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.969/0.969, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07817/1.047, 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.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.08212/0.08212, allocations: 17.44 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009764/0.09189, allocations: 6.963 MB / 268.4 MB, free: 6.398 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.262e-06/1.262e-06, allocations: 0 / 269.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067e-05/1.193e-05, allocations: 6.25 kB / 269.7 MB, free: 5.113 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.1369/0.137, allocations: 8.602 MB / 278.3 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.157, allocations: 25.82 MB / 304.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009975/0.1579, allocations: 33.62 kB / 304.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.159, allocations: 0.5947 MB / 304.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.1614, allocations: 1.299 MB / 306 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00834/0.1697, allocations: 4.043 MB / 310.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.1719, allocations: 2.254 MB / 312.3 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000876/0.1728, allocations: 0.9908 MB / 313.3 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.174, allocations: 1.634 MB / 314.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009943/0.175, allocations: 0.9861 MB / 315.9 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.1752, allocations: 176 kB / 316.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.1798, allocations: 2.382 MB / 318.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000279/0.1801, allocations: 334.9 kB / 318.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.1806, allocations: 0.5497 MB / 319.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.185, allocations: 4.109 MB / 323.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.185, allocations: 0 / 323.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.185, allocations: 0 / 323.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.185, allocations: 3.938 kB / 323.5 MB, free: 12.54 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.002493/0.1875, allocations: 3.109 MB / 326.6 MB, free: 9.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.1875, allocations: 12.03 kB / 326.6 MB, free: 9.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.1888, allocations: 0.8692 MB / 327.5 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.1898, allocations: 0.8597 MB / 328.3 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.1899, allocations: 218.3 kB / 328.5 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.19, allocations: 144.4 kB / 328.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.1913, allocations: 1.525 MB / 330.2 MB, free: 5.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1913, allocations: 3.984 kB / 330.2 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/0.1914, allocations: 56 kB / 330.2 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.1915, allocations: 43.94 kB / 330.3 MB, free: 5.516 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1929, allocations: 1.528 MB / 331.8 MB, free: 3.969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.1974, allocations: 4.655 MB / 336.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.1981, allocations: 0.6662 MB / 337.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.1984, allocations: 241.5 kB / 337.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004371/0.2028, allocations: 3.602 MB / 341 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2028, allocations: 39.06 kB / 341 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001536/0.203, allocations: 87.19 kB / 341.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.443e-06/0.203, allocations: 0 / 341.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006238/0.2036, allocations: 467.4 kB / 341.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2036, allocations: 107.3 kB / 341.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.2042, allocations: 1.058 MB / 342.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.2042, allocations: 37.7 kB / 342.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.2047, allocations: 0.8663 MB / 343.6 MB, free: 7.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.82e-05/0.2048, allocations: 206.4 kB / 343.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.205, allocations: 343.2 kB / 344.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.2051, allocations: 313.1 kB / 344.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.2053, allocations: 146.7 kB / 344.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.2058, allocations: 1.172 MB / 345.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009611/0.2068, allocations: 1.546 MB / 347.3 MB, free: 3.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.2068, allocations: 8 kB / 347.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001011/0.2078, allocations: 1.14 MB / 348.5 MB, free: 2.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2078, allocations: 20 kB / 348.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.2079, allocations: 40.97 kB / 348.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.2082, allocations: 169.3 kB / 348.7 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008343/0.209, allocations: 0.5539 MB / 349.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.2105, allocations: 3.639 MB / 352.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/0.2109, allocations: 88.08 kB / 353 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/0.211, allocations: 112 kB / 353.1 MB, free: 13.17 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.0002135/0.2112, allocations: 247.8 kB / 353.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2113, allocations: 75.92 kB / 353.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.2126, allocations: 1.251 MB / 354.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2126, allocations: 4 kB / 354.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.2126, allocations: 0 / 354.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2126, allocations: 7.984 kB / 354.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.2135, allocations: 1.1 MB / 355.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2135, allocations: 4 kB / 355.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.2137, allocations: 96.16 kB / 355.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.2138, allocations: 103.2 kB / 356 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/0.2142, allocations: 171.2 kB / 356.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2142, allocations: 20 kB / 356.2 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.2155, allocations: 3.46 MB / 359.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2155, allocations: 4 kB / 359.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.216, allocations: 0.6986 MB / 360.3 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.2161, allocations: 8 kB / 360.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2163, allocations: 12 kB / 360.3 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.2163, allocations: 43.81 kB / 360.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.2163, allocations: 16 kB / 360.4 MB, free: 5.414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003653/0.2167, allocations: 0.5444 MB / 360.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2167, allocations: 0 / 360.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001326/0.218, allocations: 0.8174 MB / 361.8 MB, free: 4.047 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.001015/0.2191, allocations: 1.032 MB / 362.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007086/0.2198, allocations: 0.7123 MB / 363.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.061e-05/0.2198, allocations: 31.84 kB / 363.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.22, allocations: 351.3 kB / 363.9 MB, free: 1.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.2208, allocations: 368.2 kB / 364.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.2315, allocations: 2.189 MB / 366.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2316, allocations: 235.3 kB / 366.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006321/0.2323, allocations: 353.8 kB / 367 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004083/0.2327, allocations: 356.4 kB / 367.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2327, allocations: 0 / 367.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Templates: time 0.02823/0.2609, allocations: 28.73 MB / 396.1 MB, free: 1.957 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.230298697948456]