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.0009513/0.0009513, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.000925/0.000925, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 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.9517/0.9517, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.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.09158/0.09158, allocations: 17.37 MB / 277.3 MB, free: 11.67 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.302e-06/1.302e-06, allocations: 0 / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.822e-05, allocations: 2.312 kB / 353.4 MB, free: 9.992 MB / 282.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.02998/0.03, allocations: 32.26 MB / 385.7 MB, free: 9.848 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1659/0.1959, allocations: 25.89 MB / 411.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.1972, allocations: 32.97 kB / 411.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.1987, allocations: 0.5758 MB / 412.2 MB, free: 34.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.2018, allocations: 1.29 MB / 413.5 MB, free: 33.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008893/0.2107, allocations: 4.072 MB / 417.6 MB, free: 33.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002625/0.2133, allocations: 2.281 MB / 419.8 MB, free: 32.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.2147, allocations: 0.9649 MB / 420.8 MB, free: 32.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.2167, allocations: 1.433 MB / 422.2 MB, free: 32.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.2181, allocations: 0.9606 MB / 423.2 MB, free: 32.24 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003853/0.2184, allocations: 178.2 kB / 423.4 MB, free: 32.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005007/0.2234, allocations: 2.311 MB / 425.7 MB, free: 32.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.2237, allocations: 491.7 kB / 426.2 MB, free: 32.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.2244, allocations: 0.7053 MB / 426.9 MB, free: 31.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.2296, allocations: 4.43 MB / 431.3 MB, free: 30.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2296, allocations: 4.578 kB / 431.3 MB, free: 30.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2296, allocations: 0 / 431.3 MB, free: 30.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.452e-05/0.2296, allocations: 2.656 kB / 431.3 MB, free: 30.45 MB / 330.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.002645/0.2323, allocations: 2.572 MB / 433.9 MB, free: 28.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2323, allocations: 9.938 kB / 433.9 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.2337, allocations: 0.8691 MB / 434.8 MB, free: 28.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.2349, allocations: 1.204 MB / 436 MB, free: 27.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-05/0.235, allocations: 224.7 kB / 436.2 MB, free: 27.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.2352, allocations: 145.2 kB / 436.3 MB, free: 27.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.2367, allocations: 1.659 MB / 438 MB, free: 26.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.2368, allocations: 7.172 kB / 438 MB, free: 26.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2369, allocations: 66.03 kB / 438.1 MB, free: 26.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.2369, allocations: 38.69 kB / 438.1 MB, free: 26.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.2388, allocations: 1.947 MB / 440 MB, free: 25.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.2435, allocations: 6.058 MB / 446.1 MB, free: 19.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.2443, allocations: 0.7338 MB / 446.8 MB, free: 19.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.2447, allocations: 313.9 kB / 447.1 MB, free: 18.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004247/0.249, allocations: 4.105 MB / 451.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.249, allocations: 45.83 kB / 451.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001403/0.2491, allocations: 91.14 kB / 451.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.563e-06/0.2491, allocations: 0 / 451.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.0009049/0.25, allocations: 0.6068 MB / 452 MB, free: 13.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2501, allocations: 111.3 kB / 452.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.2507, allocations: 1.181 MB / 453.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2508, allocations: 36.52 kB / 453.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.2511, allocations: 1.061 MB / 454.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.2512, allocations: 204.3 kB / 454.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.2514, allocations: 345 kB / 454.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.2514, allocations: 480.8 kB / 455.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.2516, allocations: 175.9 kB / 455.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.2522, allocations: 1.649 MB / 457.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.2533, allocations: 2.021 MB / 459.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.2533, allocations: 12 kB / 459.2 MB, free: 5.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.001408/0.2547, allocations: 1.498 MB / 460.7 MB, free: 4.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.2547, allocations: 25.59 kB / 460.8 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.2547, allocations: 36 kB / 460.8 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003362/0.2551, allocations: 163 kB / 460.9 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.2557, allocations: 481 kB / 461.4 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.2573, allocations: 5.411 MB / 466.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.2577, allocations: 100.1 kB / 466.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.2578, allocations: 128 kB / 467.1 MB, free: 13.61 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.000253/0.2581, allocations: 280.8 kB / 467.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.2582, allocations: 143.2 kB / 467.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2597, allocations: 1.398 MB / 468.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2597, allocations: 0 / 468.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2597, allocations: 4 kB / 468.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2597, allocations: 3.984 kB / 468.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.2609, allocations: 1.274 MB / 470.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2609, allocations: 7.938 kB / 470.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2611, allocations: 73.56 kB / 470.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/0.2614, allocations: 173.3 kB / 470.4 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.2615, allocations: 16 kB / 470.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.2633, allocations: 5.182 MB / 475.6 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2633, allocations: 9.5 kB / 475.6 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/0.264, allocations: 0.9464 MB / 476.5 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.2641, allocations: 111.1 kB / 476.7 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.2642, allocations: 12 kB / 476.7 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2644, allocations: 8 kB / 476.7 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.2644, allocations: 49.88 kB / 476.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2644, allocations: 16 kB / 476.7 MB, free: 3.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005948/0.265, allocations: 0.7433 MB / 477.5 MB, free: 2.762 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.265, allocations: 2.656 kB / 477.5 MB, free: 2.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001556/0.2666, allocations: 0.8212 MB / 478.3 MB, free: 1.938 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.001103/0.2677, allocations: 0.9909 MB / 479.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008902/0.2686, allocations: 0.7364 MB / 480 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2686, allocations: 2.719 kB / 480 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.2689, allocations: 481.9 kB / 480.5 MB, free: 12 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.2695, allocations: 223.4 kB / 480.7 MB, free: 15.81 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.2719, allocations: 2.185 MB / 482.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2721, allocations: 235.3 kB / 483.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006119/0.2727, allocations: 379 kB / 483.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.2729, allocations: 195.5 kB / 483.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2729, allocations: 4 kB / 483.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Templates: time 0.02361/0.2965, allocations: 23.72 MB / 0.4955 GB, free: 6.141 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.645498612895608]