Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001046/0.001046, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002479, 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.001095/0.001095, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002517, 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.9774/0.9774, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09266/1.07, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.114/0.114, allocations: 17.36 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01142/0.1255, allocations: 6.932 MB / 268.3 MB, free: 6.523 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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 269.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.186e-05, allocations: 2.312 kB / 269.5 MB, free: 5.238 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.StandardLeadAcidPotential): time 0.1459/0.1459, allocations: 8.599 MB / 278.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02214/0.1681, allocations: 25.84 MB / 304 MB, free: 140 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.1695, allocations: 33.56 kB / 304 MB, free: 120 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.1708, allocations: 0.5963 MB / 304.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.1739, allocations: 1.28 MB / 305.9 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.1844, allocations: 4.055 MB / 309.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002885/0.1872, allocations: 2.259 MB / 312.2 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.1883, allocations: 0.9908 MB / 313.2 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.1898, allocations: 1.634 MB / 314.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.1908, allocations: 0.99 MB / 315.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.1911, allocations: 172 kB / 316 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005453/0.1965, allocations: 2.378 MB / 318.4 MB, free: 1.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.1968, allocations: 338.9 kB / 318.7 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006325/0.1975, allocations: 0.5497 MB / 319.2 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008844/0.2063, allocations: 4.109 MB / 323.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.728e-05/0.2063, allocations: 0 / 323.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2063, allocations: 4 kB / 323.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.115e-05/0.2064, allocations: 0 / 323.3 MB, free: 12.74 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.003434/0.2098, allocations: 3.112 MB / 326.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2099, allocations: 12.03 kB / 326.5 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.2114, allocations: 0.8536 MB / 327.3 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.2125, allocations: 0.8713 MB / 328.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2126, allocations: 222.3 kB / 328.4 MB, free: 7.559 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.2128, allocations: 144.4 kB / 328.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.2142, allocations: 1.52 MB / 330.1 MB, free: 5.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.2142, allocations: 4 kB / 330.1 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.2143, allocations: 60 kB / 330.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.2144, allocations: 40 kB / 330.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.2159, allocations: 1.528 MB / 331.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004891/0.2208, allocations: 4.648 MB / 336.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.2215, allocations: 0.6567 MB / 337 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.2218, allocations: 245.5 kB / 337.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004588/0.2264, allocations: 3.602 MB / 340.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2264, allocations: 43.05 kB / 340.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002047/0.2266, allocations: 91.12 kB / 341 MB, free: 10.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.746e-06/0.2266, allocations: 0 / 341 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006295/0.2272, allocations: 463.5 kB / 341.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.2273, allocations: 111.3 kB / 341.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.2279, allocations: 1.062 MB / 342.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.2279, allocations: 29.7 kB / 342.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.2283, allocations: 0.8816 MB / 343.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2284, allocations: 202.4 kB / 343.7 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.2287, allocations: 343.2 kB / 344.1 MB, free: 7.574 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.2288, allocations: 305.1 kB / 344.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2289, allocations: 150.7 kB / 344.5 MB, free: 7.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.2295, allocations: 1.163 MB / 345.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.2306, allocations: 1.542 MB / 347.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.2306, allocations: 12 kB / 347.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00104/0.2316, allocations: 1.151 MB / 348.4 MB, free: 2.223 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.2317, allocations: 21.72 kB / 348.4 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.2317, allocations: 38.88 kB / 348.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/0.232, allocations: 161.6 kB / 348.6 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008262/0.2329, allocations: 0.5618 MB / 349.1 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.2344, allocations: 3.624 MB / 352.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.2349, allocations: 92.11 kB / 352.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.2351, allocations: 108 kB / 353 MB, free: 13.39 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.0002976/0.2354, allocations: 247.7 kB / 353.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2355, allocations: 83.91 kB / 353.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.2367, allocations: 1.241 MB / 354.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2368, allocations: 8 kB / 354.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.2368, allocations: 0 / 354.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2368, allocations: 0 / 354.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2379, allocations: 1.1 MB / 355.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2379, allocations: 4 kB / 355.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.2381, allocations: 98.27 kB / 355.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2382, allocations: 103.1 kB / 355.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/0.2386, allocations: 175 kB / 356 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.2386, allocations: 19.98 kB / 356 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.24, allocations: 3.464 MB / 359.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.24, allocations: 7.938 kB / 359.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.2405, allocations: 0.6946 MB / 360.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.2406, allocations: 11.98 kB / 360.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.2408, allocations: 8 kB / 360.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.2409, allocations: 39.89 kB / 360.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.2409, allocations: 19.98 kB / 360.3 MB, free: 5.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003759/0.2413, allocations: 0.5482 MB / 360.8 MB, free: 5.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2413, allocations: 3.938 kB / 360.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001886/0.2431, allocations: 0.8213 MB / 361.6 MB, free: 4.242 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.001355/0.2445, allocations: 1.024 MB / 362.7 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009253/0.2454, allocations: 0.7011 MB / 363.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.5e-05/0.2455, allocations: 36.09 kB / 363.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.2457, allocations: 346.1 kB / 363.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.2465, allocations: 369.1 kB / 364.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.2572, allocations: 2.195 MB / 366.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.2574, allocations: 231.3 kB / 366.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007717/0.2582, allocations: 359.9 kB / 366.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.2586, allocations: 357.4 kB / 367.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.804e-06/0.2586, allocations: 0 / 367.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Templates: time 0.03074/0.2893, allocations: 28.74 MB / 396 MB, free: 2.156 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.390759632922709]