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.001501/0.001501, allocations: 79.19 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.00169/0.00169, allocations: 163.2 kB / 23.01 MB, free: 4.598 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.358/1.358, allocations: 177.2 MB / 203.4 MB, free: 8.879 MB / 190.1 MB " [Timeout remaining time 179] 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.1284/0.1284, allocations: 17.43 MB / 277.2 MB, free: 15.18 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.002003/0.002003, allocations: 71.89 kB / 412.6 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1018, allocations: 59.87 MB / 472.5 MB, free: 9.543 MB / 446.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.2525/0.3543, allocations: 28.67 MB / 0.4894 GB, free: 38.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.3757, allocations: 24.85 MB / 0.5137 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.3768, allocations: 37 kB / 0.5137 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.3782, allocations: 0.6072 MB / 0.5143 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.3809, allocations: 1.283 MB / 0.5155 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009246/0.3901, allocations: 4.342 MB / 0.5198 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.3922, allocations: 2.187 MB / 0.5219 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.393, allocations: 0.9128 MB / 0.5228 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008636/0.3939, allocations: 1.043 MB / 0.5238 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.395, allocations: 1.047 MB / 0.5248 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.3953, allocations: 181.3 kB / 0.525 GB, free: 18.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005997/0.4013, allocations: 2.54 MB / 0.5275 GB, free: 17.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.4016, allocations: 481.2 kB / 0.528 GB, free: 17.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007117/0.4023, allocations: 0.8264 MB / 0.5288 GB, free: 17.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007072/0.4094, allocations: 5.156 MB / 0.5338 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4094, allocations: 4 kB / 0.5338 GB, free: 15.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4094, allocations: 0 / 0.5338 GB, free: 15.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.4094, allocations: 6.562 kB / 0.5338 GB, free: 15.1 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.003063/0.4125, allocations: 2.507 MB / 0.5363 GB, free: 13.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.4125, allocations: 8.812 kB / 0.5363 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.4145, allocations: 0.5338 MB / 0.5368 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.4162, allocations: 1.184 MB / 0.5379 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4163, allocations: 225.5 kB / 0.5382 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.4165, allocations: 144 kB / 0.5383 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.4189, allocations: 2.028 MB / 0.5403 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.419, allocations: 0 / 0.5403 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.4191, allocations: 64 kB / 0.5403 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.4191, allocations: 36.66 kB / 0.5404 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003281/0.4224, allocations: 2.739 MB / 0.543 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007459/0.4299, allocations: 5.807 MB / 0.5487 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.4314, allocations: 0.9879 MB / 0.5497 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/0.4321, allocations: 0.5191 MB / 0.5502 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008909/0.441, allocations: 4.165 MB / 0.5543 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.4411, allocations: 43.81 kB / 0.5543 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002665/0.4413, allocations: 91.14 kB / 0.5544 GB, free: 13.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 1.903e-06/0.4413, allocations: 0 / 0.5544 GB, free: 13.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001855/0.4432, allocations: 0.8389 MB / 0.5552 GB, free: 13.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.4433, allocations: 111.8 kB / 0.5553 GB, free: 12.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.4447, allocations: 1.172 MB / 0.5565 GB, free: 11.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.4447, allocations: 37.7 kB / 0.5565 GB, free: 11.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007742/0.4455, allocations: 0.998 MB / 0.5575 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.4457, allocations: 207.9 kB / 0.5577 GB, free: 10.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/0.4461, allocations: 347.5 kB / 0.558 GB, free: 10.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.4462, allocations: 301.7 kB / 0.5583 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.4468, allocations: 315.6 kB / 0.5586 GB, free: 9.898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4483, allocations: 1.318 MB / 0.5599 GB, free: 8.137 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.4506, allocations: 1.816 MB / 0.5616 GB, free: 5.863 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.4506, allocations: 8 kB / 0.5617 GB, free: 5.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00282/0.4534, allocations: 1.682 MB / 0.5633 GB, free: 4.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.4534, allocations: 20.7 kB / 0.5633 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.4535, allocations: 36 kB / 0.5633 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.4541, allocations: 171.3 kB / 0.5635 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.4554, allocations: 475.6 kB / 0.564 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.4587, allocations: 3.846 MB / 0.5677 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/0.4596, allocations: 94.16 kB / 0.5678 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.4598, allocations: 127.8 kB / 0.5679 GB, free: 15.47 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.0006061/0.4604, allocations: 389.9 kB / 0.5683 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.4606, allocations: 131.8 kB / 0.5684 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.4632, allocations: 1.372 MB / 0.5698 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.4632, allocations: 8.734 kB / 0.5698 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4632, allocations: 0 / 0.5698 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4632, allocations: 5.453 kB / 0.5698 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.4655, allocations: 1.291 MB / 0.571 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4655, allocations: 4 kB / 0.571 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.4658, allocations: 73.39 kB / 0.5711 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007001/0.4665, allocations: 168.3 kB / 0.5713 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.4666, allocations: 17.92 kB / 0.5713 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.4696, allocations: 3.687 MB / 0.5749 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4696, allocations: 4.469 kB / 0.5749 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.471, allocations: 0.9739 MB / 0.5759 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.4712, allocations: 106 kB / 0.576 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.4713, allocations: 11.94 kB / 0.576 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.4717, allocations: 22.66 kB / 0.576 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.4718, allocations: 41.16 kB / 0.576 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.4718, allocations: 19.28 kB / 0.576 GB, free: 7.309 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.4729, allocations: 0.8447 MB / 0.5769 GB, free: 6.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4729, allocations: 0 / 0.5769 GB, free: 6.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002467/0.4754, allocations: 0.8789 MB / 0.5777 GB, free: 5.727 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.001706/0.4771, allocations: 1.076 MB / 0.5788 GB, free: 4.676 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.4788, allocations: 0.8711 MB / 0.5796 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4788, allocations: 0 / 0.5796 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.4794, allocations: 404.3 kB / 0.58 GB, free: 3.395 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4805, allocations: 185.6 kB / 0.5802 GB, free: 3.211 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.4839, allocations: 2.323 MB / 0.5825 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.4846, allocations: 0.6019 MB / 0.583 GB, free: 180 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001064/0.4856, allocations: 391.3 kB / 0.5834 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.486, allocations: 190.9 kB / 0.5836 GB, free: 15.63 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.486, allocations: 0 / 0.5836 GB, free: 15.63 MB / 494.1 MB Notification: Performance of Templates: time 0.04043/0.5264, allocations: 24.93 MB / 0.608 GB, free: 6.863 MB / 0.4981 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 ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.349097172031179] Failed to read output from testmodel.py, exit status != 0: 0.5349361300468445 0.5492313000000001 0.13678114800000002 Calling exit ...