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.001168/0.001168, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00167/0.002839, 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.001105/0.001105, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002681, 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 1.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.115, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.09201/0.09201, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01729/0.1093, allocations: 6.928 MB / 268.4 MB, free: 6.414 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.413e-06/1.413e-06, allocations: 0 / 269.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.571e-05, allocations: 6.312 kB / 269.8 MB, free: 5.094 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.1545/0.1546, allocations: 8.598 MB / 278.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.1772, allocations: 25.83 MB / 304.2 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.1785, allocations: 34.77 kB / 304.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.1798, allocations: 0.5959 MB / 304.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.183, allocations: 1.295 MB / 306.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009799/0.1928, allocations: 4.047 MB / 310.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002702/0.1955, allocations: 2.261 MB / 312.4 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.1967, allocations: 0.983 MB / 313.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.1985, allocations: 1.634 MB / 315 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.2001, allocations: 0.9822 MB / 316 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003974/0.2005, allocations: 172 kB / 316.2 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006079/0.2066, allocations: 2.39 MB / 318.6 MB, free: 1.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.207, allocations: 338.8 kB / 318.9 MB, free: 1.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007588/0.2077, allocations: 0.5536 MB / 319.5 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007971/0.2157, allocations: 4.109 MB / 323.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.2157, allocations: 0 / 323.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2157, allocations: 3.938 kB / 323.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.2158, allocations: 0 / 323.6 MB, free: 12.55 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.002876/0.2186, allocations: 3.105 MB / 326.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2187, allocations: 8.031 kB / 326.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.2202, allocations: 0.8575 MB / 327.5 MB, free: 8.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.2213, allocations: 0.8674 MB / 328.4 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.2214, allocations: 218.3 kB / 328.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.2216, allocations: 148.4 kB / 328.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.2229, allocations: 1.528 MB / 330.3 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.223, allocations: 3.938 kB / 330.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2231, allocations: 64 kB / 330.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.2231, allocations: 36 kB / 330.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.2246, allocations: 1.533 MB / 331.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.2295, allocations: 4.643 MB / 336.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.2303, allocations: 0.6691 MB / 337.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.2306, allocations: 245.5 kB / 337.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004936/0.2355, allocations: 3.598 MB / 341.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2355, allocations: 39.06 kB / 341.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002533/0.2358, allocations: 87.19 kB / 341.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.2358, allocations: 0 / 341.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006666/0.2364, allocations: 467.6 kB / 341.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.2365, allocations: 115.3 kB / 341.8 MB, free: 9.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.2371, allocations: 1.054 MB / 342.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.2372, allocations: 29.7 kB / 342.9 MB, free: 8.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.2376, allocations: 0.8738 MB / 343.7 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2377, allocations: 202.4 kB / 343.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.2379, allocations: 347.2 kB / 344.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.238, allocations: 305.1 kB / 344.6 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.2381, allocations: 146.7 kB / 344.7 MB, free: 6.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.2387, allocations: 1.175 MB / 345.9 MB, free: 5.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.2398, allocations: 1.647 MB / 347.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.2398, allocations: 8 kB / 347.5 MB, free: 3.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001069/0.2409, allocations: 1.155 MB / 348.7 MB, free: 1.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.2409, allocations: 23.98 kB / 348.7 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.2409, allocations: 36 kB / 348.8 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003477/0.2413, allocations: 160.2 kB / 348.9 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008443/0.2421, allocations: 0.5647 MB / 349.5 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.2437, allocations: 3.624 MB / 353.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.2444, allocations: 91.92 kB / 353.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.2445, allocations: 112.9 kB / 353.3 MB, free: 13.09 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.0003378/0.2448, allocations: 255.7 kB / 353.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.245, allocations: 79.91 kB / 353.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.2463, allocations: 1.24 MB / 354.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2463, allocations: 7.984 kB / 354.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2463, allocations: 0 / 354.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2463, allocations: 4 kB / 354.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.2474, allocations: 1.096 MB / 356 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2474, allocations: 4 kB / 356 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.2476, allocations: 91.88 kB / 356.1 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2478, allocations: 103.2 kB / 356.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003792/0.2481, allocations: 171.3 kB / 356.3 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.2482, allocations: 20 kB / 356.4 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.2496, allocations: 3.463 MB / 359.8 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2496, allocations: 4.312 kB / 359.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.2501, allocations: 0.6944 MB / 360.5 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.2502, allocations: 8 kB / 360.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.2504, allocations: 12 kB / 360.5 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.2505, allocations: 43.81 kB / 360.6 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.2505, allocations: 16 kB / 360.6 MB, free: 5.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004103/0.2509, allocations: 0.5483 MB / 361.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2509, allocations: 0 / 361.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001848/0.2527, allocations: 0.8213 MB / 362 MB, free: 3.957 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.001356/0.2541, allocations: 1.027 MB / 363 MB, free: 2.922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009248/0.255, allocations: 0.7484 MB / 363.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-05/0.2551, allocations: 31.84 kB / 363.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.2554, allocations: 371.8 kB / 364.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.2565, allocations: 1.756 MB / 365.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.2676, allocations: 2.186 MB / 368.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.2678, allocations: 234.8 kB / 368.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.2689, allocations: 356.2 kB / 368.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/0.2695, allocations: 352.3 kB / 369 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.444e-06/0.2695, allocations: 4 kB / 369 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Templates: time 0.02967/0.2992, allocations: 27.75 MB / 396.8 MB, free: 1.051 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.3422834305092692]