Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001499/0.001499, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001777/0.001777, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1407/0.1407, allocations: 23.93 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002025/0.002025, allocations: 59.91 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3337, allocations: 59.88 MB / 0.5198 GB, free: 9.715 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.0724/0.4061, allocations: 28.53 MB / 0.5477 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03275/0.4389, allocations: 24.85 MB / 0.572 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.4406, allocations: 35.69 kB / 0.572 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.4427, allocations: 0.6125 MB / 0.5726 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.4473, allocations: 1.272 MB / 0.5738 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01358/0.4609, allocations: 4.348 MB / 0.5781 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003732/0.4646, allocations: 2.196 MB / 0.5802 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.466, allocations: 0.9235 MB / 0.5811 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.4674, allocations: 1.048 MB / 0.5821 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.469, allocations: 1.148 MB / 0.5833 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003323/0.4693, allocations: 176 kB / 0.5834 GB, free: 8.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00661/0.4759, allocations: 2.605 MB / 0.586 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000667/0.4766, allocations: 486.4 kB / 0.5864 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.4776, allocations: 0.813 MB / 0.5872 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.4885, allocations: 5.163 MB / 0.5923 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.4885, allocations: 7.984 kB / 0.5923 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4885, allocations: 4 kB / 0.5923 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.725e-05/0.4885, allocations: 0 / 0.5923 GB, free: 15.51 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.004625/0.4931, allocations: 2.516 MB / 0.5947 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4932, allocations: 12.03 kB / 0.5948 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.4956, allocations: 0.522 MB / 0.5953 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.498, allocations: 1.183 MB / 0.5964 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.4982, allocations: 226.1 kB / 0.5966 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.4985, allocations: 144 kB / 0.5968 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.502, allocations: 2.031 MB / 0.5988 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.502, allocations: 0 / 0.5988 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.5022, allocations: 60 kB / 0.5988 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.5022, allocations: 40 kB / 0.5989 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00461/0.5069, allocations: 2.737 MB / 0.6015 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.5178, allocations: 5.799 MB / 0.6072 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.5198, allocations: 0.9942 MB / 0.6082 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009332/0.5207, allocations: 0.5129 MB / 0.6087 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.5317, allocations: 4.164 MB / 0.6127 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.5317, allocations: 46.92 kB / 0.6128 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004267/0.5322, allocations: 87.14 kB / 0.6129 GB, free: 10.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 3.807e-06/0.5322, allocations: 0 / 0.6129 GB, free: 10.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001956/0.5341, allocations: 0.8357 MB / 0.6137 GB, free: 9.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.5342, allocations: 119.4 kB / 0.6138 GB, free: 9.086 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.5358, allocations: 1.167 MB / 0.6149 GB, free: 7.902 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.5359, allocations: 37.7 kB / 0.615 GB, free: 7.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007977/0.5366, allocations: 1.001 MB / 0.6159 GB, free: 6.848 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.5368, allocations: 206.4 kB / 0.6161 GB, free: 6.645 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004433/0.5373, allocations: 343.3 kB / 0.6165 GB, free: 6.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5374, allocations: 301.1 kB / 0.6168 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.538, allocations: 307.8 kB / 0.617 GB, free: 5.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.5395, allocations: 1.328 MB / 0.6183 GB, free: 3.867 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.542, allocations: 1.813 MB / 0.6201 GB, free: 1.543 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-05/0.542, allocations: 8 kB / 0.6201 GB, free: 1.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003092/0.5451, allocations: 1.691 MB / 0.6218 GB, free: 15.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.5452, allocations: 20 kB / 0.6218 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.303e-05/0.5452, allocations: 36 kB / 0.6218 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007132/0.5459, allocations: 169.4 kB / 0.622 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.5473, allocations: 483.4 kB / 0.6224 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.5506, allocations: 3.84 MB / 0.6262 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.5517, allocations: 88.2 kB / 0.6263 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.5519, allocations: 128 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.0006291/0.5525, allocations: 385.3 kB / 0.6268 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.5528, allocations: 127.2 kB / 0.6269 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.5554, allocations: 1.36 MB / 0.6282 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.5554, allocations: 11.88 kB / 0.6282 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5554, allocations: 15.98 kB / 0.6282 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5554, allocations: 0 / 0.6282 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.5578, allocations: 1.282 MB / 0.6295 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.5578, allocations: 8.281 kB / 0.6295 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.5581, allocations: 67.89 kB / 0.6296 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/0.5589, allocations: 175.3 kB / 0.6297 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.5589, allocations: 15.98 kB / 0.6298 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003036/0.562, allocations: 3.706 MB / 0.6334 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.562, allocations: 4 kB / 0.6334 GB, free: 3.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.5635, allocations: 0.975 MB / 0.6343 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.5638, allocations: 103.4 kB / 0.6344 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.564, allocations: 16 kB / 0.6344 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.5644, allocations: 15.92 kB / 0.6345 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.5645, allocations: 31.95 kB / 0.6345 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.5645, allocations: 23.98 kB / 0.6345 GB, free: 2.008 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.5657, allocations: 0.8449 MB / 0.6353 GB, free: 1.164 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5657, allocations: 0 / 0.6353 GB, free: 1.164 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002703/0.5684, 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.001984/0.5704, allocations: 1.073 MB / 0.6373 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.5723, allocations: 0.8667 MB / 0.6381 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5723, allocations: 0 / 0.6381 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.5729, allocations: 406.5 kB / 0.6385 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.574, allocations: 187.2 kB / 0.6387 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.5776, allocations: 2.319 MB / 0.6409 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.5783, allocations: 0.6017 MB / 0.6415 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.5794, allocations: 389 kB / 0.6419 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.5797, allocations: 198 kB / 0.6421 GB, free: 10.14 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5797, allocations: 0 / 0.6421 GB, free: 10.14 MB / 494.1 MB Notification: Performance of Templates: time 0.04458/0.6243, allocations: 27.51 MB / 0.6689 GB, free: 14.8 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7984913469990715] Failed to read output from testmodel.py, exit status != 0: 0.633125968000968 0.647007494 0.155406404 Calling exit ...