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.001436/0.001436, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001602/0.001602, allocations: 163.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1347/0.1347, allocations: 17.38 MB / 276.6 MB, free: 15.3 MB / 270.1 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.733e-06/1.733e-06, allocations: 0 / 412 MB, free: 4.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.939e-05/5.113e-05, allocations: 2.281 kB / 412 MB, free: 4.438 MB / 334.1 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.04018/0.04024, allocations: 28.96 MB / 440.9 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2088/0.249, allocations: 24.84 MB / 465.8 MB, free: 26.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.2503, allocations: 35.59 kB / 465.8 MB, free: 26.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.2521, allocations: 0.6176 MB / 466.4 MB, free: 25.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.256, allocations: 1.319 MB / 467.7 MB, free: 25.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/0.2692, allocations: 4.481 MB / 472.2 MB, free: 22.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.2722, allocations: 2.272 MB / 474.5 MB, free: 21.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.2732, allocations: 0.9229 MB / 475.4 MB, free: 20.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.2747, allocations: 1.428 MB / 476.8 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.2758, allocations: 0.9302 MB / 477.8 MB, free: 19.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.2761, allocations: 181.3 kB / 478 MB, free: 19.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007795/0.2839, allocations: 2.56 MB / 480.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005003/0.2844, allocations: 492.2 kB / 481 MB, free: 18.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.2854, allocations: 0.6974 MB / 481.7 MB, free: 18.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.296, allocations: 5.455 MB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.296, allocations: 4 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.296, allocations: 0 / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.835e-05/0.296, allocations: 2.656 kB / 487.2 MB, free: 13.77 MB / 366.1 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.003766/0.2998, allocations: 2.493 MB / 489.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2998, allocations: 10.69 kB / 489.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.302, allocations: 0.5298 MB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.3037, allocations: 1.172 MB / 491.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.3039, allocations: 218.3 kB / 491.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.3041, allocations: 147 kB / 491.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.3068, allocations: 2.035 MB / 493.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.3068, allocations: 0 / 493.7 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.307, allocations: 64 kB / 493.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.307, allocations: 36 kB / 493.8 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.3105, allocations: 2.741 MB / 496.6 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008707/0.3192, allocations: 5.806 MB / 0.4906 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.3213, allocations: 0.9924 MB / 0.4916 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.3223, allocations: 0.513 MB / 0.4921 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.3328, allocations: 4.165 MB / 0.4962 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3329, allocations: 39.06 kB / 0.4962 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003596/0.3332, allocations: 91.12 kB / 0.4963 GB, free: 8.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.3332, allocations: 0 / 0.4963 GB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.002014/0.3352, allocations: 0.844 MB / 0.4971 GB, free: 7.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.3353, allocations: 111.3 kB / 0.4972 GB, free: 7.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.3368, allocations: 1.163 MB / 0.4983 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.3369, allocations: 33.7 kB / 0.4984 GB, free: 6.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.3377, allocations: 0.9932 MB / 0.4993 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.3379, allocations: 205.1 kB / 0.4995 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.3383, allocations: 339.3 kB / 0.4999 GB, free: 4.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3385, allocations: 305.1 kB / 0.5002 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.339, allocations: 311.8 kB / 0.5005 GB, free: 4.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.3405, allocations: 1.321 MB / 0.5017 GB, free: 2.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002287/0.3428, allocations: 1.814 MB / 0.5035 GB, free: 15.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/0.3428, allocations: 10.62 kB / 0.5035 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002852/0.3456, allocations: 1.676 MB / 0.5052 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.3457, allocations: 20 kB / 0.5052 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.111e-05/0.3457, allocations: 40.86 kB / 0.5052 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000658/0.3464, allocations: 172 kB / 0.5054 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.3478, allocations: 477.9 kB / 0.5058 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.351, allocations: 3.838 MB / 0.5096 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009774/0.352, allocations: 89.23 kB / 0.5097 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.3522, allocations: 128 kB / 0.5098 GB, free: 9.309 MB / 398.1 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.0006364/0.3528, allocations: 383.5 kB / 0.5102 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.353, allocations: 139 kB / 0.5103 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.3556, allocations: 1.364 MB / 0.5116 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3557, allocations: 4 kB / 0.5116 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.3557, allocations: 0 / 0.5116 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3557, allocations: 0 / 0.5116 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.3579, allocations: 1.297 MB / 0.5129 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3579, allocations: 6.562 kB / 0.5129 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.3583, allocations: 71.89 kB / 0.513 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.359, allocations: 173.9 kB / 0.5131 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.3591, allocations: 16 kB / 0.5132 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.3621, allocations: 3.689 MB / 0.5168 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.3621, allocations: 4.531 kB / 0.5168 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.3636, allocations: 0.974 MB / 0.5177 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.3638, allocations: 103.2 kB / 0.5178 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.3639, allocations: 11.94 kB / 0.5178 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.3644, allocations: 25.33 kB / 0.5178 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.3645, allocations: 35.89 kB / 0.5179 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.3645, allocations: 23.98 kB / 0.5179 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.3656, allocations: 0.841 MB / 0.5187 GB, free: 15.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3656, allocations: 0 / 0.5187 GB, free: 15.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002687/0.3683, allocations: 0.8718 MB / 0.5196 GB, free: 14.91 MB / 414.1 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.002079/0.3704, allocations: 1.106 MB / 0.5207 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.3725, allocations: 0.8744 MB / 0.5215 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3725, allocations: 2.625 kB / 0.5215 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.3731, allocations: 418.5 kB / 0.5219 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3743, allocations: 191.1 kB / 0.5221 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.3779, allocations: 2.21 MB / 0.5243 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.3786, allocations: 0.6044 MB / 0.5248 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001171/0.3798, allocations: 388.5 kB / 0.5252 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.3802, allocations: 192.3 kB / 0.5254 GB, free: 9.121 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3802, allocations: 7.875 kB / 0.5254 GB, free: 9.113 MB / 414.1 MB Notification: Performance of Templates: time 0.0432/0.4234, allocations: 25.01 MB / 0.5498 GB, free: 0.7227 MB / 430.1 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.663988023996353] Failed to read output from testmodel.py, exit status != 0: 0.4325532838702202 0.44724987099999997 0.14819434 Calling exit ...