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.001302/0.001302, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001568/0.001568, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.957 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.13/0.13, allocations: 23.85 MB / 336.3 MB, free: 11.27 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.002059/0.002059, allocations: 63.89 kB / 471.7 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3039, allocations: 59.86 MB / 0.5191 GB, free: 9.801 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.03893/0.3428, allocations: 29.54 MB / 0.5479 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0352/0.378, allocations: 28.47 MB / 0.5757 GB, free: 44 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.3794, allocations: 35.69 kB / 0.5758 GB, free: 8 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.3812, allocations: 0.6788 MB / 0.5764 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.3846, allocations: 1.327 MB / 0.5777 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.396, allocations: 4.352 MB / 0.582 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.399, allocations: 2.196 MB / 0.5841 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.4002, allocations: 0.9196 MB / 0.585 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.4013, allocations: 1.052 MB / 0.586 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.4028, allocations: 1.144 MB / 0.5871 GB, free: 4.246 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.403, allocations: 184 kB / 0.5873 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007147/0.4102, allocations: 2.703 MB / 0.59 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004865/0.4107, allocations: 482.5 kB / 0.5904 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.4118, allocations: 0.98 MB / 0.5914 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008651/0.4205, allocations: 5.182 MB / 0.5964 GB, free: 10.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4205, allocations: 0 / 0.5964 GB, free: 10.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4205, allocations: 0 / 0.5964 GB, free: 10.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.4205, allocations: 0 / 0.5964 GB, free: 10.7 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.004205/0.4247, allocations: 2.52 MB / 0.5989 GB, free: 8.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4248, allocations: 8.031 kB / 0.5989 GB, free: 8.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.4269, allocations: 0.5337 MB / 0.5994 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.4292, allocations: 1.175 MB / 0.6006 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.4294, allocations: 230 kB / 0.6008 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.4296, allocations: 144 kB / 0.6009 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.4328, allocations: 2.027 MB / 0.6029 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.4329, allocations: 0 / 0.6029 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.433, allocations: 64 kB / 0.603 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.4331, allocations: 36 kB / 0.603 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004254/0.4373, allocations: 2.776 MB / 0.6057 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.4478, allocations: 6.599 MB / 0.6122 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.4496, allocations: 1.016 MB / 0.6132 GB, free: 9.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009105/0.4505, allocations: 0.5091 MB / 0.6137 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/0.4605, allocations: 4.355 MB / 0.6179 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.4606, allocations: 46.88 kB / 0.618 GB, free: 4.223 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003528/0.4609, allocations: 103 kB / 0.6181 GB, free: 4.121 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.4609, allocations: 0 / 0.6181 GB, free: 4.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001837/0.4628, allocations: 0.8553 MB / 0.6189 GB, free: 3.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.4628, allocations: 115.1 kB / 0.619 GB, free: 3.121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.4644, allocations: 1.241 MB / 0.6202 GB, free: 1.871 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.4645, allocations: 33.7 kB / 0.6202 GB, free: 1.832 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007513/0.4652, allocations: 0.9935 MB / 0.6212 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.4654, allocations: 202.4 kB / 0.6214 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004128/0.4658, allocations: 343.3 kB / 0.6217 GB, free: 292 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.466, allocations: 305.2 kB / 0.622 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/0.4665, allocations: 315.8 kB / 0.6223 GB, free: 15.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.4679, allocations: 1.324 MB / 0.6236 GB, free: 13.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.4702, allocations: 1.809 MB / 0.6254 GB, free: 11.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/0.4702, allocations: 12 kB / 0.6254 GB, free: 11.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002765/0.473, allocations: 1.699 MB / 0.6271 GB, free: 9.801 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.473, allocations: 23.98 kB / 0.6271 GB, free: 9.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/0.4731, allocations: 36 kB / 0.6271 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.4737, allocations: 158.1 kB / 0.6273 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.4751, allocations: 487.2 kB / 0.6277 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.4783, allocations: 3.878 MB / 0.6315 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008977/0.4792, allocations: 92.03 kB / 0.6316 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.4794, allocations: 131.9 kB / 0.6317 GB, free: 4.723 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.0005539/0.4799, allocations: 376.9 kB / 0.6321 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.4802, allocations: 143.1 kB / 0.6322 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.4827, allocations: 1.377 MB / 0.6336 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.4827, allocations: 11.97 kB / 0.6336 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.4827, allocations: 0 / 0.6336 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4827, allocations: 0 / 0.6336 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.4851, allocations: 1.499 MB / 0.635 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4851, allocations: 8.281 kB / 0.635 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.4854, allocations: 67.89 kB / 0.6351 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006759/0.4861, allocations: 183 kB / 0.6353 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.4861, allocations: 16 kB / 0.6353 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.4891, allocations: 3.745 MB / 0.639 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4891, allocations: 7.984 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.4905, allocations: 0.9958 MB / 0.6399 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.4907, allocations: 127 kB / 0.6401 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.4909, allocations: 11.94 kB / 0.6401 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.4913, allocations: 19.98 kB / 0.6401 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.4914, allocations: 35.89 kB / 0.6401 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.4914, allocations: 28.05 kB / 0.6402 GB, free: 11.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001291/0.4927, allocations: 0.963 MB / 0.6411 GB, free: 10.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4927, allocations: 3.938 kB / 0.6411 GB, free: 10.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002357/0.4951, allocations: 0.868 MB / 0.6419 GB, free: 9.699 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.001657/0.4967, allocations: 1.055 MB / 0.643 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.4985, allocations: 0.8716 MB / 0.6438 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4985, allocations: 0 / 0.6438 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.499, allocations: 405 kB / 0.6442 GB, free: 7.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5002, allocations: 232.4 kB / 0.6444 GB, free: 7.125 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.5036, allocations: 2.338 MB / 0.6467 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/0.5044, allocations: 1.181 MB / 0.6479 GB, free: 3.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001116/0.5056, allocations: 407.2 kB / 0.6483 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.5059, allocations: 201.8 kB / 0.6485 GB, free: 2.926 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5059, allocations: 0 / 0.6485 GB, free: 2.926 MB / 494.1 MB Notification: Performance of Templates: time 0.04459/0.5505, allocations: 27.65 MB / 0.6755 GB, free: 7.344 MB / 0.5137 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: 5.556433136109263] Failed to read output from testmodel.py, exit status != 0: 0.5590186479967088 0.573074022 0.149534253 Calling exit ...