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.0007085/0.0007085, allocations: 80.45 kB / 19.9 MB, free: 12 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.0007024/0.0007024, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8701/0.8701, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.08984/0.08984, allocations: 17.37 MB / 277.4 MB, free: 11.86 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008396/0.0008396, allocations: 75.88 kB / 412.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2328, allocations: 59.83 MB / 472.7 MB, free: 29.82 MB / 410.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.03039/0.2631, allocations: 28.83 MB / 0.4897 GB, free: 17.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.2806, allocations: 24.85 MB / 0.514 GB, free: 11.85 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.2819, allocations: 35.69 kB / 0.5141 GB, free: 11.82 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.2832, allocations: 0.6102 MB / 0.5146 GB, free: 11.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.2865, allocations: 1.284 MB / 0.5159 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01383/0.3004, allocations: 4.354 MB / 0.5202 GB, free: 6.582 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004177/0.3045, allocations: 2.196 MB / 0.5223 GB, free: 4.605 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.3057, allocations: 0.9129 MB / 0.5232 GB, free: 3.883 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.3069, allocations: 1.481 MB / 0.5246 GB, free: 2.652 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.3081, allocations: 1.047 MB / 0.5257 GB, free: 1.664 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.3083, allocations: 180 kB / 0.5258 GB, free: 1.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006095/0.3144, allocations: 2.546 MB / 0.5283 GB, free: 14.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000755/0.3152, allocations: 494.3 kB / 0.5288 GB, free: 14.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.3164, allocations: 0.8169 MB / 0.5296 GB, free: 13.63 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.3271, allocations: 5.21 MB / 0.5347 GB, free: 8.402 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3271, allocations: 0 / 0.5347 GB, free: 8.402 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3271, allocations: 0 / 0.5347 GB, free: 8.402 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.544e-05/0.3272, allocations: 0 / 0.5347 GB, free: 8.402 MB / 442.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.004202/0.3314, allocations: 2.516 MB / 0.5371 GB, free: 5.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3314, allocations: 8.031 kB / 0.5371 GB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.333, allocations: 0.5299 MB / 0.5377 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3346, allocations: 1.171 MB / 0.5388 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.3347, allocations: 226.1 kB / 0.539 GB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.3349, allocations: 144 kB / 0.5392 GB, free: 3.715 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.3374, allocations: 2.031 MB / 0.5411 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.3374, allocations: 0 / 0.5411 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.3375, allocations: 64 kB / 0.5412 GB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3376, allocations: 36 kB / 0.5412 GB, free: 1.516 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.3407, allocations: 2.741 MB / 0.5439 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.3475, allocations: 5.805 MB / 0.5496 GB, free: 8.848 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.3491, allocations: 0.983 MB / 0.5505 GB, free: 7.836 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.3497, allocations: 0.513 MB / 0.551 GB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006249/0.356, allocations: 4.179 MB / 0.5551 GB, free: 3.113 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.356, allocations: 46.98 kB / 0.5552 GB, free: 3.059 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003235/0.3563, allocations: 91.14 kB / 0.5552 GB, free: 2.969 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 3.577e-06/0.3563, allocations: 0 / 0.5552 GB, free: 2.969 MB / 458.7 MB Notification: Performance of matching and sorting (n=50): time 0.001379/0.3577, allocations: 0.8453 MB / 0.5561 GB, free: 2.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3578, allocations: 107.3 kB / 0.5562 GB, free: 1.984 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.3591, allocations: 1.167 MB / 0.5573 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.3591, allocations: 33.7 kB / 0.5573 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.3596, allocations: 1.009 MB / 0.5583 GB, free: 15.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3597, allocations: 206.4 kB / 0.5585 GB, free: 15.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.36, allocations: 343.3 kB / 0.5589 GB, free: 15.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.3601, allocations: 301.4 kB / 0.5591 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.3604, allocations: 315.8 kB / 0.5594 GB, free: 14.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/0.3613, allocations: 1.324 MB / 0.5607 GB, free: 12.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.3627, allocations: 1.813 MB / 0.5625 GB, free: 10.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.3627, allocations: 15.98 kB / 0.5625 GB, free: 10.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002246/0.365, allocations: 1.671 MB / 0.5642 GB, free: 8.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.365, allocations: 20 kB / 0.5642 GB, free: 8.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.365, allocations: 36 kB / 0.5642 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.3656, allocations: 170.4 kB / 0.5644 GB, free: 8.504 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.3664, allocations: 479.2 kB / 0.5648 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.3686, allocations: 3.843 MB / 0.5686 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.3695, allocations: 83.86 kB / 0.5687 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.3696, allocations: 128 kB / 0.5688 GB, free: 3.727 MB / 474.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.0005918/0.3702, allocations: 396.2 kB / 0.5692 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.3705, allocations: 135.1 kB / 0.5693 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.3725, allocations: 1.37 MB / 0.5706 GB, free: 1.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3725, allocations: 7.984 kB / 0.5706 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3725, allocations: 0 / 0.5706 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.3726, allocations: 4 kB / 0.5706 GB, free: 1.738 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3743, allocations: 1.287 MB / 0.5719 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3743, allocations: 4 kB / 0.5719 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.3745, allocations: 71.89 kB / 0.572 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.375, allocations: 175.3 kB / 0.5721 GB, free: 116 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.375, allocations: 20 kB / 0.5722 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.3771, allocations: 3.691 MB / 0.5758 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3771, allocations: 4.031 kB / 0.5758 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.3782, allocations: 0.9751 MB / 0.5767 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.3785, allocations: 107.2 kB / 0.5768 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.3786, allocations: 15.88 kB / 0.5768 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3788, allocations: 15.98 kB / 0.5768 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.3789, allocations: 35.89 kB / 0.5769 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.3789, allocations: 23.98 kB / 0.5769 GB, free: 10.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.3801, allocations: 0.841 MB / 0.5777 GB, free: 10.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3801, allocations: 0 / 0.5777 GB, free: 10.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002264/0.3823, allocations: 0.8835 MB / 0.5786 GB, free: 9.176 MB / 490.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.001637/0.384, allocations: 1.066 MB / 0.5796 GB, free: 8.098 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.3855, allocations: 0.8672 MB / 0.5805 GB, free: 7.238 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3855, allocations: 0 / 0.5805 GB, free: 7.238 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.3859, allocations: 410.1 kB / 0.5809 GB, free: 6.812 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.3869, allocations: 187.9 kB / 0.581 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.39, allocations: 2.312 MB / 0.5833 GB, free: 4.246 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.3904, allocations: 0.6058 MB / 0.5839 GB, free: 3.602 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001173/0.3916, allocations: 393.6 kB / 0.5843 GB, free: 3.234 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.3918, allocations: 193.3 kB / 0.5845 GB, free: 3.043 MB / 490.7 MB Notification: Performance of SimCode: time 2.354e-06/0.3918, allocations: 0 / 0.5845 GB, free: 3.043 MB / 490.7 MB Notification: Performance of Templates: time 0.02853/0.4204, allocations: 24.96 MB / 0.6088 GB, free: 10.25 MB / 0.5105 GB " [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=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.4448874020017684] Failed to read output from testmodel.py, exit status != 0: 0.4266215830575675 0.434152324 0.10528484299999995 Calling exit ...