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.001273/0.001273, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001352/0.001352, allocations: 156 kB / 23.01 MB, free: 4.605 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.352/1.352, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 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.1246/0.1246, allocations: 17.36 MB / 277.1 MB, free: 15.28 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.002239/0.002239, allocations: 63.91 kB / 412.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1164, allocations: 59.85 MB / 472.3 MB, free: 9.75 MB / 446.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.3036/0.4199, allocations: 28.67 MB / 0.4892 GB, free: 38.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.4432, allocations: 24.84 MB / 0.5135 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.4446, allocations: 34.81 kB / 0.5135 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.4462, allocations: 0.6104 MB / 0.5141 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.4499, allocations: 1.279 MB / 0.5154 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01227/0.4621, allocations: 4.351 MB / 0.5196 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003271/0.4654, allocations: 2.185 MB / 0.5217 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.4669, allocations: 0.9132 MB / 0.5226 GB, free: 19.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.4688, allocations: 1.043 MB / 0.5236 GB, free: 18.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.4711, allocations: 1.043 MB / 0.5247 GB, free: 18.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006864/0.4718, allocations: 181.8 kB / 0.5248 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008367/0.4802, allocations: 2.536 MB / 0.5273 GB, free: 18.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009157/0.4811, allocations: 486.2 kB / 0.5278 GB, free: 17.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.4833, allocations: 0.8222 MB / 0.5286 GB, free: 17.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.4962, allocations: 5.167 MB / 0.5336 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4962, allocations: 0 / 0.5336 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4962, allocations: 0 / 0.5336 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.4963, allocations: 0 / 0.5336 GB, free: 15.18 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.005331/0.5017, allocations: 2.512 MB / 0.5361 GB, free: 13.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.5017, allocations: 8.281 kB / 0.5361 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.5043, allocations: 0.5271 MB / 0.5366 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.5066, allocations: 1.183 MB / 0.5378 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.5067, allocations: 226.1 kB / 0.538 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.5071, allocations: 148 kB / 0.5381 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.5098, allocations: 2.028 MB / 0.5401 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.5099, allocations: 3.938 kB / 0.5401 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.51, allocations: 56.84 kB / 0.5402 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.51, allocations: 36 kB / 0.5402 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.5134, allocations: 2.747 MB / 0.5429 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008218/0.5216, allocations: 5.807 MB / 0.5485 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.5232, allocations: 0.9953 MB / 0.5495 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007444/0.524, allocations: 0.5079 MB / 0.55 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/0.5341, allocations: 4.172 MB / 0.5541 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.5342, allocations: 39.62 kB / 0.5541 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004038/0.5346, allocations: 87.14 kB / 0.5542 GB, free: 14.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.605e-06/0.5346, allocations: 0 / 0.5542 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001892/0.5365, allocations: 0.8477 MB / 0.555 GB, free: 13.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.5366, allocations: 111.3 kB / 0.5551 GB, free: 13.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.538, allocations: 1.167 MB / 0.5563 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.5381, allocations: 33.7 kB / 0.5563 GB, free: 12.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000798/0.5389, allocations: 1.002 MB / 0.5573 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.5391, allocations: 207.9 kB / 0.5575 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.5395, allocations: 339.8 kB / 0.5578 GB, free: 10.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5396, allocations: 305.1 kB / 0.5581 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.5402, allocations: 307.3 kB / 0.5584 GB, free: 10.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.5417, allocations: 1.319 MB / 0.5597 GB, free: 8.492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.544, allocations: 1.818 MB / 0.5615 GB, free: 6.219 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/0.544, allocations: 16 kB / 0.5615 GB, free: 6.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002835/0.5468, allocations: 1.682 MB / 0.5631 GB, free: 4.656 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.5469, allocations: 20.7 kB / 0.5631 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/0.5469, allocations: 36 kB / 0.5632 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.5475, allocations: 164.5 kB / 0.5633 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.5489, allocations: 483.1 kB / 0.5638 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.5523, allocations: 3.842 MB / 0.5675 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.5535, allocations: 93.69 kB / 0.5676 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.5537, allocations: 128.9 kB / 0.5678 GB, free: 15.82 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.0007091/0.5544, allocations: 378 kB / 0.5681 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.5547, allocations: 135.8 kB / 0.5682 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.5572, allocations: 1.376 MB / 0.5696 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.5573, allocations: 12.67 kB / 0.5696 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5573, allocations: 4 kB / 0.5696 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5573, allocations: 5.344 kB / 0.5696 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.5597, allocations: 1.287 MB / 0.5709 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5597, allocations: 4 kB / 0.5709 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.56, allocations: 72.83 kB / 0.5709 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007275/0.5607, allocations: 177.6 kB / 0.5711 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.5608, allocations: 12 kB / 0.5711 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.5638, allocations: 3.691 MB / 0.5747 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5638, allocations: 4 kB / 0.5747 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.5654, allocations: 0.9782 MB / 0.5757 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.5657, allocations: 108.7 kB / 0.5758 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.5658, allocations: 14.33 kB / 0.5758 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.5662, allocations: 11.94 kB / 0.5758 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.5663, allocations: 43.69 kB / 0.5759 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.5663, allocations: 20 kB / 0.5759 GB, free: 7.641 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001207/0.5676, allocations: 0.8394 MB / 0.5767 GB, free: 6.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5676, allocations: 0 / 0.5767 GB, free: 6.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002752/0.5703, allocations: 0.8831 MB / 0.5776 GB, free: 6.062 MB / 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.001868/0.5722, allocations: 1.072 MB / 0.5786 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.5742, allocations: 0.866 MB / 0.5794 GB, free: 4.129 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5742, allocations: 0 / 0.5794 GB, free: 4.129 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.5748, allocations: 401.4 kB / 0.5798 GB, free: 3.715 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.5761, allocations: 197.7 kB / 0.58 GB, free: 3.523 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.5802, allocations: 2.316 MB / 0.5823 GB, free: 1.137 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007875/0.581, allocations: 0.6058 MB / 0.5829 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001197/0.5822, allocations: 391.1 kB / 0.5832 GB, free: 132 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.5826, allocations: 194.9 kB / 0.5834 GB, free: 15.94 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5826, allocations: 0 / 0.5834 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Templates: time 0.04195/0.6245, allocations: 24.93 MB / 0.6078 GB, free: 7.184 MB / 0.4981 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 ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.438755590002984] Failed to read output from testmodel.py, exit status != 0: 0.6341279729967937 0.6493489650000001 0.14994104600000002 Calling exit ...