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.001496/0.001496, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.001667/0.001667, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.1402/0.1402, allocations: 23.9 MB / 332.7 MB, free: 12.32 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.00213/0.00213, allocations: 71.89 kB / 466.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2932, allocations: 59.82 MB / 0.514 GB, free: 9.109 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.04024/0.3335, allocations: 29.53 MB / 0.5429 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03523/0.3687, allocations: 28.42 MB / 0.5706 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.3703, allocations: 35.69 kB / 0.5707 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.3723, allocations: 0.6727 MB / 0.5713 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004066/0.3764, allocations: 1.328 MB / 0.5726 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.3881, allocations: 4.293 MB / 0.5768 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003474/0.3916, allocations: 2.196 MB / 0.5789 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.3929, allocations: 0.9582 MB / 0.5799 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.3941, allocations: 1.044 MB / 0.5809 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.3956, allocations: 1.144 MB / 0.582 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.3959, allocations: 183.9 kB / 0.5822 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007573/0.4035, allocations: 2.699 MB / 0.5848 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000579/0.4041, allocations: 486.5 kB / 0.5853 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.4052, allocations: 0.9837 MB / 0.5863 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.4153, allocations: 5.171 MB / 0.5913 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4153, allocations: 4 kB / 0.5913 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4154, allocations: 0 / 0.5913 GB, free: 11.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.284e-05/0.4154, allocations: 0 / 0.5913 GB, free: 11.92 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.004615/0.42, allocations: 2.599 MB / 0.5938 GB, free: 9.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.42, allocations: 8.031 kB / 0.5939 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.4225, allocations: 0.5338 MB / 0.5944 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.4247, allocations: 1.251 MB / 0.5956 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.4249, allocations: 170.7 kB / 0.5958 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.4252, allocations: 144 kB / 0.5959 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.4288, allocations: 2.031 MB / 0.5979 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.4288, allocations: 0 / 0.5979 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.429, allocations: 63.94 kB / 0.5979 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.429, allocations: 40 kB / 0.598 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004783/0.4338, allocations: 2.78 MB / 0.6007 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.4455, allocations: 6.676 MB / 0.6072 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.4475, allocations: 0.9986 MB / 0.6082 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009811/0.4485, allocations: 0.5052 MB / 0.6087 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/0.4614, allocations: 8.439 MB / 0.6169 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4614, allocations: 42.98 kB / 0.617 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004375/0.4619, allocations: 107 kB / 0.6171 GB, free: 60 kB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.405e-06/0.4619, allocations: 0 / 0.6171 GB, free: 60 kB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.002109/0.464, allocations: 1.002 MB / 0.618 GB, free: 15.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.4641, allocations: 119.4 kB / 0.6182 GB, free: 14.87 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.4657, allocations: 1.237 MB / 0.6194 GB, free: 13.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.4658, allocations: 37.7 kB / 0.6194 GB, free: 13.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008106/0.4666, allocations: 0.9936 MB / 0.6204 GB, free: 12.58 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.4668, allocations: 202.4 kB / 0.6206 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004493/0.4672, allocations: 339.3 kB / 0.6209 GB, free: 12.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4674, allocations: 305.1 kB / 0.6212 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/0.468, allocations: 307.8 kB / 0.6215 GB, free: 11.44 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.4694, allocations: 1.331 MB / 0.6228 GB, free: 9.598 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.4717, allocations: 1.813 MB / 0.6245 GB, free: 7.273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.4717, allocations: 12 kB / 0.6246 GB, free: 7.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002957/0.4747, allocations: 1.691 MB / 0.6262 GB, free: 5.559 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.4747, allocations: 27.98 kB / 0.6262 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/0.4748, allocations: 36 kB / 0.6263 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.4754, allocations: 165.3 kB / 0.6264 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.4768, allocations: 479.5 kB / 0.6269 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.4804, allocations: 4.089 MB / 0.6309 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.4815, allocations: 92.03 kB / 0.631 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.4817, allocations: 131.9 kB / 0.6311 GB, free: 220 kB / 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.0006586/0.4824, allocations: 376.9 kB / 0.6314 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.4827, allocations: 143 kB / 0.6316 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.4853, allocations: 1.388 MB / 0.6329 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4853, allocations: 8 kB / 0.6329 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4853, allocations: 0 / 0.6329 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4853, allocations: 0 / 0.6329 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.4879, allocations: 1.519 MB / 0.6344 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.4879, allocations: 4 kB / 0.6344 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.4882, allocations: 71.89 kB / 0.6345 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007674/0.489, allocations: 175.5 kB / 0.6347 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.4891, allocations: 19.94 kB / 0.6347 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/0.4924, allocations: 3.955 MB / 0.6386 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.4924, allocations: 4.25 kB / 0.6386 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4941, allocations: 0.9927 MB / 0.6395 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.4944, allocations: 216.2 kB / 0.6397 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.4946, allocations: 12 kB / 0.6397 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.495, allocations: 8 kB / 0.6398 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.4951, allocations: 43.83 kB / 0.6398 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.4951, allocations: 20 kB / 0.6398 GB, free: 6.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001427/0.4966, allocations: 0.9631 MB / 0.6408 GB, free: 5.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4966, allocations: 4 kB / 0.6408 GB, free: 5.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00269/0.4993, allocations: 0.868 MB / 0.6416 GB, free: 4.812 MB / 494.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.002153/0.5014, allocations: 1.066 MB / 0.6426 GB, free: 3.734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.5036, allocations: 0.871 MB / 0.6435 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.5036, allocations: 4 kB / 0.6435 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.5042, allocations: 405.4 kB / 0.6439 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5056, allocations: 222.4 kB / 0.6441 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.5096, allocations: 2.324 MB / 0.6464 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/0.5105, allocations: 1.188 MB / 0.6475 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001251/0.5117, allocations: 409.7 kB / 0.6479 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.5121, allocations: 206.2 kB / 0.6481 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of SimCode: time 1.233e-06/0.5121, allocations: 0 / 0.6481 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.04721/0.5593, allocations: 26.91 MB / 0.6744 GB, free: 3.188 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.800595676060766] Failed to read output from testmodel.py, exit status != 0: 0.5685888999141753 0.58281876 0.16427492100000002 Calling exit ...