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.001593/0.001593, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002085/0.002085, allocations: 220.5 kB / 23 MB, free: 4.918 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1406/0.1406, allocations: 23.87 MB / 337.1 MB, free: 11.07 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.002128/0.002128, allocations: 63.91 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3226, allocations: 59.86 MB / 0.5198 GB, free: 9.742 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.076/0.3986, allocations: 28.69 MB / 0.5478 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03731/0.4359, allocations: 24.86 MB / 0.572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.4376, allocations: 31.69 kB / 0.5721 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.4399, allocations: 0.6165 MB / 0.5727 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004628/0.4445, allocations: 1.276 MB / 0.5739 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01312/0.4576, allocations: 4.348 MB / 0.5782 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.4614, allocations: 2.184 MB / 0.5803 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.4628, allocations: 0.9196 MB / 0.5812 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.4642, allocations: 1.048 MB / 0.5822 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.4658, allocations: 1.051 MB / 0.5833 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003679/0.4662, allocations: 176 kB / 0.5834 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007319/0.4735, allocations: 2.535 MB / 0.5859 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007801/0.4743, allocations: 482.4 kB / 0.5864 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.4756, allocations: 0.8247 MB / 0.5872 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.488, allocations: 5.163 MB / 0.5922 GB, free: 15.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.488, allocations: 0 / 0.5922 GB, free: 15.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.488, allocations: 0 / 0.5922 GB, free: 15.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.295e-05/0.488, allocations: 0 / 0.5922 GB, free: 15.55 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.004827/0.4929, allocations: 2.516 MB / 0.5947 GB, free: 12.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4929, allocations: 8.031 kB / 0.5947 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.4952, allocations: 0.5338 MB / 0.5952 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.4977, allocations: 1.179 MB / 0.5963 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.4979, allocations: 222.1 kB / 0.5966 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.4982, allocations: 144 kB / 0.5967 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/0.502, allocations: 2.027 MB / 0.5987 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.502, allocations: 4 kB / 0.5987 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.5022, allocations: 63.94 kB / 0.5987 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.5022, allocations: 39.94 kB / 0.5988 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.5072, allocations: 2.737 MB / 0.6014 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.5179, allocations: 5.802 MB / 0.6071 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.5199, allocations: 0.9935 MB / 0.6081 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009691/0.5209, allocations: 0.5208 MB / 0.6086 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.5314, allocations: 4.168 MB / 0.6127 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5314, allocations: 39 kB / 0.6127 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003927/0.5318, allocations: 95.14 kB / 0.6128 GB, free: 10.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 3.076e-06/0.5318, allocations: 0 / 0.6128 GB, free: 10.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001963/0.5337, allocations: 0.8473 MB / 0.6136 GB, free: 9.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.5338, allocations: 111.2 kB / 0.6137 GB, free: 9.117 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.5354, allocations: 1.167 MB / 0.6149 GB, free: 7.934 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.5354, allocations: 29.7 kB / 0.6149 GB, free: 7.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/0.5362, allocations: 1.001 MB / 0.6159 GB, free: 6.887 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.5364, allocations: 218.3 kB / 0.6161 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/0.5369, allocations: 339.3 kB / 0.6164 GB, free: 6.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.537, allocations: 305.1 kB / 0.6167 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.5376, allocations: 307.8 kB / 0.617 GB, free: 5.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.5391, allocations: 1.32 MB / 0.6183 GB, free: 3.902 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.5416, allocations: 1.813 MB / 0.62 GB, free: 1.578 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.5416, allocations: 12 kB / 0.6201 GB, free: 1.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00318/0.5448, allocations: 1.684 MB / 0.6217 GB, free: 15.87 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.5448, allocations: 22.5 kB / 0.6217 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.508e-05/0.5449, allocations: 40.03 kB / 0.6218 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006792/0.5456, allocations: 161.6 kB / 0.6219 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.547, allocations: 483.2 kB / 0.6224 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.5505, allocations: 3.836 MB / 0.6261 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.5517, allocations: 92.09 kB / 0.6262 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/0.552, allocations: 132 kB / 0.6263 GB, free: 10.86 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.5527, allocations: 376.9 kB / 0.6267 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.553, allocations: 127.2 kB / 0.6268 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.5557, allocations: 1.374 MB / 0.6282 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.5557, allocations: 11.86 kB / 0.6282 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5557, allocations: 4 kB / 0.6282 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5557, allocations: 3.984 kB / 0.6282 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.5583, allocations: 1.287 MB / 0.6294 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.5583, allocations: 4 kB / 0.6294 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.5586, allocations: 75.88 kB / 0.6295 GB, free: 7.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007566/0.5594, allocations: 179.3 kB / 0.6297 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.5594, allocations: 16 kB / 0.6297 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.5627, allocations: 3.695 MB / 0.6333 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5627, allocations: 4.438 kB / 0.6333 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.5643, allocations: 0.9742 MB / 0.6343 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.5646, allocations: 107.1 kB / 0.6344 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.5647, allocations: 15.94 kB / 0.6344 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.5652, allocations: 11.94 kB / 0.6344 GB, free: 2.102 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.5652, allocations: 43.88 kB / 0.6344 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.5653, allocations: 20.06 kB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001225/0.5665, allocations: 0.8449 MB / 0.6353 GB, free: 1.195 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5665, allocations: 0 / 0.6353 GB, free: 1.195 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002646/0.5691, allocations: 0.8835 MB / 0.6361 GB, free: 316 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.001977/0.5711, allocations: 1.062 MB / 0.6372 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.5733, allocations: 0.8711 MB / 0.638 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5733, allocations: 4.5 kB / 0.638 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005919/0.5739, allocations: 405.1 kB / 0.6384 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5751, allocations: 189.6 kB / 0.6386 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.579, allocations: 2.357 MB / 0.6409 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/0.5797, allocations: 0.6095 MB / 0.6415 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.5802, allocations: 288.7 kB / 0.6418 GB, free: 10.39 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5802, allocations: 0 / 0.6418 GB, free: 10.39 MB / 494.1 MB Notification: Performance of Templates: time 0.06177/0.642, allocations: 49.02 MB / 0.6896 GB, free: 9.418 MB / 0.5294 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: 10.34416058799252] Failed to read output from testmodel.py, exit status != 0: 0.6516652130521834 0.666057818 0.174697981 Calling exit ...