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.001379/0.001379, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001558/0.001558, allocations: 217.2 kB / 22.24 MB, free: 5.258 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.812 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.1507/0.1507, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.002101/0.002101, allocations: 67.89 kB / 471.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3471, allocations: 59.85 MB / 0.519 GB, free: 9.805 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.07907/0.4261, allocations: 28.63 MB / 0.547 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03518/0.4613, allocations: 24.85 MB / 0.5712 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.463, allocations: 31.69 kB / 0.5713 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.4647, allocations: 0.6125 MB / 0.5719 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.4687, allocations: 1.273 MB / 0.5731 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.4809, allocations: 4.348 MB / 0.5774 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003604/0.4845, allocations: 2.192 MB / 0.5795 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.4858, allocations: 0.9391 MB / 0.5804 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.4872, allocations: 1.044 MB / 0.5814 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.4888, allocations: 1.144 MB / 0.5826 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003314/0.4891, allocations: 180 kB / 0.5827 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007666/0.4968, allocations: 2.601 MB / 0.5853 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000927/0.4977, allocations: 482.5 kB / 0.5857 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.4991, allocations: 0.8169 MB / 0.5865 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.5147, allocations: 5.171 MB / 0.5916 GB, free: 15.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.5147, allocations: 0 / 0.5916 GB, free: 15.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5147, allocations: 0 / 0.5916 GB, free: 15.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.5147, allocations: 0 / 0.5916 GB, free: 15.42 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.005273/0.52, allocations: 2.512 MB / 0.594 GB, free: 12.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.52, allocations: 12.02 kB / 0.594 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002324/0.5224, allocations: 0.526 MB / 0.5946 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.5249, allocations: 1.179 MB / 0.5957 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.5251, allocations: 222.1 kB / 0.5959 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002762/0.5254, allocations: 144 kB / 0.5961 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003675/0.5291, allocations: 2.039 MB / 0.598 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.5291, allocations: 3.938 kB / 0.598 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.5293, allocations: 64 kB / 0.5981 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.5293, allocations: 36 kB / 0.5981 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004819/0.5341, allocations: 2.737 MB / 0.6008 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/0.545, allocations: 5.795 MB / 0.6065 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.5469, allocations: 0.9946 MB / 0.6074 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009441/0.5479, allocations: 0.513 MB / 0.6079 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.5582, allocations: 4.176 MB / 0.612 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.5583, allocations: 46.92 kB / 0.6121 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003759/0.5586, allocations: 87.14 kB / 0.6122 GB, free: 9.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 3.096e-06/0.5586, allocations: 0 / 0.6122 GB, free: 9.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.00192/0.5606, allocations: 0.8551 MB / 0.613 GB, free: 9.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.5607, allocations: 107.2 kB / 0.6131 GB, free: 8.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.5621, allocations: 1.167 MB / 0.6142 GB, free: 7.797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.5621, allocations: 37.7 kB / 0.6143 GB, free: 7.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008153/0.563, allocations: 0.9971 MB / 0.6152 GB, free: 6.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.5632, allocations: 214.3 kB / 0.6154 GB, free: 6.535 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004296/0.5636, allocations: 339.3 kB / 0.6158 GB, free: 6.195 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5637, allocations: 305.1 kB / 0.6161 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.5643, allocations: 311.8 kB / 0.6164 GB, free: 5.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.5658, allocations: 1.316 MB / 0.6176 GB, free: 3.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.5682, allocations: 1.809 MB / 0.6194 GB, free: 1.445 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/0.5682, allocations: 12 kB / 0.6194 GB, free: 1.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002955/0.5711, allocations: 1.687 MB / 0.6211 GB, free: 15.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/0.5712, allocations: 20 kB / 0.6211 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/0.5712, allocations: 40 kB / 0.6211 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/0.5719, allocations: 161.6 kB / 0.6213 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.5733, allocations: 483.7 kB / 0.6217 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.5767, allocations: 3.828 MB / 0.6255 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.5778, allocations: 96.28 kB / 0.6256 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.578, allocations: 124 kB / 0.6257 GB, free: 10.73 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.0007062/0.5787, allocations: 384.8 kB / 0.6261 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.5789, allocations: 135.2 kB / 0.6262 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.5815, allocations: 1.368 MB / 0.6275 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.138e-05/0.5816, allocations: 7.938 kB / 0.6275 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.5816, allocations: 0 / 0.6275 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5816, allocations: 3.984 kB / 0.6275 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.5841, allocations: 1.294 MB / 0.6288 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5841, allocations: 0 / 0.6288 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.5844, allocations: 75.94 kB / 0.6289 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007502/0.5852, allocations: 171.2 kB / 0.629 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.5852, allocations: 19.98 kB / 0.629 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003438/0.5886, allocations: 3.699 MB / 0.6327 GB, free: 3.145 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5886, allocations: 7.938 kB / 0.6327 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.5903, allocations: 0.9679 MB / 0.6336 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.5906, allocations: 111.1 kB / 0.6337 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.5908, allocations: 12 kB / 0.6337 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.5912, allocations: 19.88 kB / 0.6337 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5913, allocations: 35.94 kB / 0.6338 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.5913, allocations: 20 kB / 0.6338 GB, free: 1.914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001349/0.5927, allocations: 0.841 MB / 0.6346 GB, free: 1.074 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5927, allocations: 4 kB / 0.6346 GB, free: 1.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003113/0.5958, allocations: 0.8834 MB / 0.6355 GB, free: 188 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.002145/0.598, allocations: 1.073 MB / 0.6365 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.6, allocations: 0.8623 MB / 0.6374 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6, allocations: 0 / 0.6374 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.6007, allocations: 403.2 kB / 0.6378 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.602, allocations: 195.4 kB / 0.6379 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.6064, allocations: 2.312 MB / 0.6402 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.6071, allocations: 0.6018 MB / 0.6408 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001217/0.6083, allocations: 392.3 kB / 0.6412 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.6087, allocations: 194.1 kB / 0.6414 GB, free: 10.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6087, allocations: 4 kB / 0.6414 GB, free: 10.05 MB / 494.1 MB Notification: Performance of Templates: time 0.04479/0.6535, allocations: 27.49 MB / 0.6682 GB, free: 14.72 MB / 0.5138 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.316759646404535] Failed to read output from testmodel.py, exit status != 0: 0.6624908638186753 0.683580923 0.16437764400000002 Calling exit ...