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.00132/0.00132, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001462/0.001462, allocations: 212.4 kB / 22.99 MB, free: 4.957 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.1412/0.1412, allocations: 23.88 MB / 337.1 MB, free: 10.97 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: 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.001942/0.001942, allocations: 67.89 kB / 472.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 59.86 MB / 0.5198 GB, free: 9.734 MB / 382.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.07082/0.3775, allocations: 28.52 MB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03195/0.4094, allocations: 24.86 MB / 0.5719 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.4115, allocations: 35.69 kB / 0.5719 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.4133, allocations: 0.6087 MB / 0.5725 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.4177, allocations: 1.269 MB / 0.5738 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.4297, allocations: 4.356 MB / 0.578 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.4332, allocations: 2.188 MB / 0.5801 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.4346, allocations: 0.9351 MB / 0.5811 GB, free: 11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.436, allocations: 1.044 MB / 0.5821 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.4376, allocations: 1.148 MB / 0.5832 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.438, allocations: 179.9 kB / 0.5834 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006704/0.4447, allocations: 2.601 MB / 0.5859 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.4454, allocations: 482.5 kB / 0.5864 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.4465, allocations: 0.8207 MB / 0.5872 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.458, allocations: 5.163 MB / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.458, allocations: 0 / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.458, allocations: 0 / 0.5922 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.732e-05/0.4581, allocations: 0 / 0.5922 GB, free: 15.54 MB / 446.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.004837/0.4629, allocations: 2.52 MB / 0.5947 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.463, allocations: 12.03 kB / 0.5947 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.4655, allocations: 0.522 MB / 0.5952 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.4679, allocations: 1.179 MB / 0.5963 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.4681, allocations: 230.1 kB / 0.5966 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/0.4684, allocations: 144 kB / 0.5967 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/0.4719, allocations: 2.031 MB / 0.5987 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.4719, allocations: 3.938 kB / 0.5987 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.4721, allocations: 56 kB / 0.5987 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.4721, allocations: 36 kB / 0.5988 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004476/0.4766, allocations: 2.741 MB / 0.6015 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.4876, allocations: 5.806 MB / 0.6071 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.4895, allocations: 0.9937 MB / 0.6081 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008991/0.4904, allocations: 0.5091 MB / 0.6086 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.5012, allocations: 4.168 MB / 0.6127 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.5012, allocations: 39 kB / 0.6127 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000409/0.5016, allocations: 91.14 kB / 0.6128 GB, free: 10.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.805e-06/0.5016, allocations: 0 / 0.6128 GB, free: 10.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001983/0.5036, allocations: 0.8473 MB / 0.6136 GB, free: 9.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.5037, allocations: 111.2 kB / 0.6137 GB, free: 9.113 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.5052, allocations: 1.167 MB / 0.6149 GB, free: 7.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.5052, allocations: 29.7 kB / 0.6149 GB, free: 7.895 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007657/0.506, allocations: 1.009 MB / 0.6159 GB, free: 6.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.5062, allocations: 206.4 kB / 0.6161 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.5066, allocations: 339.3 kB / 0.6164 GB, free: 6.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5067, allocations: 309.1 kB / 0.6167 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.5073, allocations: 308.1 kB / 0.617 GB, free: 5.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.5087, allocations: 1.328 MB / 0.6183 GB, free: 3.891 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.5111, allocations: 1.809 MB / 0.62 GB, free: 1.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.5111, allocations: 16 kB / 0.6201 GB, free: 1.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003023/0.5141, allocations: 1.683 MB / 0.6217 GB, free: 15.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.5141, allocations: 20 kB / 0.6217 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/0.5142, allocations: 36 kB / 0.6218 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/0.5149, allocations: 162.3 kB / 0.6219 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.5163, allocations: 491.1 kB / 0.6224 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.5198, allocations: 3.848 MB / 0.6261 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.521, allocations: 87.95 kB / 0.6262 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.5212, allocations: 128 kB / 0.6263 GB, free: 10.84 MB / 478.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.0006493/0.5219, allocations: 384.8 kB / 0.6267 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.5221, allocations: 131.1 kB / 0.6268 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.5247, allocations: 1.355 MB / 0.6282 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5247, allocations: 7.938 kB / 0.6282 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.5247, allocations: 0 / 0.6282 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5247, allocations: 7.984 kB / 0.6282 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.527, allocations: 1.279 MB / 0.6294 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.527, allocations: 4 kB / 0.6294 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.5274, allocations: 67.89 kB / 0.6295 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007659/0.5281, allocations: 183.3 kB / 0.6297 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.5282, allocations: 19.98 kB / 0.6297 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.5311, allocations: 3.699 MB / 0.6333 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5311, allocations: 7.969 kB / 0.6333 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.5326, allocations: 0.9706 MB / 0.6343 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.5328, allocations: 111.2 kB / 0.6344 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.5329, allocations: 11.94 kB / 0.6344 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.5334, allocations: 19.92 kB / 0.6344 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.5334, allocations: 31.95 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.5335, allocations: 20 kB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001142/0.5346, allocations: 0.8449 MB / 0.6353 GB, free: 1.195 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5346, allocations: 0 / 0.6353 GB, free: 1.195 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002515/0.5371, allocations: 0.8873 MB / 0.6361 GB, free: 312 kB / 478.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.001825/0.5389, allocations: 1.075 MB / 0.6372 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.5408, allocations: 0.8675 MB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5408, allocations: 0 / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005575/0.5414, allocations: 405.8 kB / 0.6384 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.5425, allocations: 189 kB / 0.6386 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.5461, allocations: 2.32 MB / 0.6409 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.5468, allocations: 0.6018 MB / 0.6415 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.5479, allocations: 385.2 kB / 0.6418 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.5482, allocations: 202 kB / 0.642 GB, free: 10.16 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5482, allocations: 0 / 0.642 GB, free: 10.16 MB / 494.1 MB Notification: Performance of Templates: time 0.04323/0.5915, allocations: 27.49 MB / 0.6689 GB, free: 14.84 MB / 0.5137 GB " [Timeout remaining time 659] 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: 5.6962755900021875] Failed to read output from testmodel.py, exit status != 0: 0.5998333489987999 0.613631696 0.15257879200000002 Calling exit ...