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.001272/0.001272, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001466/0.001466, allocations: 213.2 kB / 22.99 MB, free: 4.953 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1345/0.1345, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.003221/0.003221, allocations: 71.91 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4463, allocations: 59.85 MB / 0.5198 GB, free: 9.754 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.08104/0.5274, allocations: 28.59 MB / 0.5477 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03523/0.5626, allocations: 24.85 MB / 0.5719 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002579/0.5652, allocations: 35.69 kB / 0.572 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.5675, allocations: 0.6048 MB / 0.5726 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005292/0.5728, allocations: 1.28 MB / 0.5738 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01399/0.5868, allocations: 4.348 MB / 0.5781 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.5911, allocations: 2.196 MB / 0.5802 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.5926, allocations: 0.9352 MB / 0.5811 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.594, allocations: 1.044 MB / 0.5821 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.5959, allocations: 1.14 MB / 0.5832 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.5962, allocations: 180 kB / 0.5834 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008531/0.6047, allocations: 2.601 MB / 0.586 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.6055, allocations: 486.4 kB / 0.5864 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.6068, allocations: 0.8207 MB / 0.5872 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.6208, allocations: 5.171 MB / 0.5923 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.6208, allocations: 0 / 0.5923 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6208, allocations: 0 / 0.5923 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.805e-05/0.6209, allocations: 0 / 0.5923 GB, free: 15.5 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.00529/0.6262, allocations: 2.516 MB / 0.5947 GB, free: 12.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.332e-05/0.6262, allocations: 8.031 kB / 0.5947 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.6288, allocations: 0.5298 MB / 0.5953 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.6314, allocations: 1.171 MB / 0.5964 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.6316, allocations: 222.1 kB / 0.5966 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/0.6319, allocations: 148 kB / 0.5968 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/0.6356, allocations: 2.031 MB / 0.5987 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.6356, allocations: 0 / 0.5987 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.6358, allocations: 64 kB / 0.5988 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.6358, allocations: 36 kB / 0.5988 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004393/0.6402, allocations: 2.737 MB / 0.6015 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.6511, allocations: 5.806 MB / 0.6072 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.6529, allocations: 0.9829 MB / 0.6081 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008964/0.6538, allocations: 0.5169 MB / 0.6086 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.6643, allocations: 4.172 MB / 0.6127 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.6644, allocations: 42.94 kB / 0.6128 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000383/0.6648, allocations: 91.14 kB / 0.6128 GB, free: 10.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.906e-06/0.6648, allocations: 0 / 0.6128 GB, free: 10.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001869/0.6666, allocations: 0.8396 MB / 0.6137 GB, free: 9.215 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.6667, allocations: 115.2 kB / 0.6138 GB, free: 9.078 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.6681, allocations: 1.167 MB / 0.6149 GB, free: 7.895 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.6682, allocations: 33.7 kB / 0.6149 GB, free: 7.855 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007304/0.6689, allocations: 1.001 MB / 0.6159 GB, free: 6.844 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.6691, allocations: 206.4 kB / 0.6161 GB, free: 6.641 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.6695, allocations: 339.3 kB / 0.6164 GB, free: 6.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6696, allocations: 309.1 kB / 0.6167 GB, free: 5.996 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.6702, allocations: 311.8 kB / 0.617 GB, free: 5.691 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.6716, allocations: 1.32 MB / 0.6183 GB, free: 3.863 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.6738, allocations: 1.817 MB / 0.6201 GB, free: 1.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.6738, allocations: 12 kB / 0.6201 GB, free: 1.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002963/0.6768, allocations: 1.679 MB / 0.6217 GB, free: 15.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.6768, allocations: 20 kB / 0.6218 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/0.6768, allocations: 36 kB / 0.6218 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006554/0.6775, allocations: 161.6 kB / 0.622 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.6789, allocations: 483.7 kB / 0.6224 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.6821, allocations: 3.84 MB / 0.6262 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.6832, allocations: 92.23 kB / 0.6263 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.6834, allocations: 132 kB / 0.6264 GB, free: 10.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.0006327/0.684, allocations: 380.8 kB / 0.6267 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.6842, allocations: 135.2 kB / 0.6269 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.6868, allocations: 1.371 MB / 0.6282 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6868, allocations: 7.938 kB / 0.6282 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.6868, allocations: 0 / 0.6282 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6868, allocations: 0 / 0.6282 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.6891, allocations: 1.282 MB / 0.6295 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6891, allocations: 4 kB / 0.6295 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.6895, allocations: 75.89 kB / 0.6295 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007702/0.6902, allocations: 175.2 kB / 0.6297 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.6903, allocations: 20 kB / 0.6297 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.6933, allocations: 3.702 MB / 0.6333 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6933, allocations: 7.938 kB / 0.6334 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.6948, allocations: 0.9756 MB / 0.6343 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.6951, allocations: 111.1 kB / 0.6344 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.6953, allocations: 8 kB / 0.6344 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.6957, allocations: 11.94 kB / 0.6344 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.6958, allocations: 43.88 kB / 0.6345 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.6958, allocations: 20 kB / 0.6345 GB, free: 2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.697, allocations: 0.8371 MB / 0.6353 GB, free: 1.164 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.697, allocations: 0 / 0.6353 GB, free: 1.164 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003212/0.7002, allocations: 0.8873 MB / 0.6362 GB, free: 280 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.002212/0.7024, allocations: 1.073 MB / 0.6372 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.7044, allocations: 0.8622 MB / 0.6381 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7044, allocations: 4 kB / 0.6381 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.705, allocations: 399.3 kB / 0.6385 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.7061, allocations: 198.3 kB / 0.6386 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.7099, allocations: 2.36 MB / 0.6409 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.7106, allocations: 0.6018 MB / 0.6415 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.7111, allocations: 296.9 kB / 0.6418 GB, free: 10.36 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.7111, allocations: 0 / 0.6418 GB, free: 10.36 MB / 494.1 MB Notification: Performance of Templates: time 0.05938/0.7705, allocations: 49.02 MB / 0.6897 GB, free: 9.383 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.520350855978904] Failed to read output from testmodel.py, exit status != 0: 0.7826756920258049 0.793725044 0.16967616400000002 Calling exit ...