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.001509/0.001509, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00157/0.00157, allocations: 214.7 kB / 22.25 MB, free: 5.262 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.793 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.1419/0.1419, allocations: 23.89 MB / 336.3 MB, free: 10.94 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.002006/0.002006, allocations: 75.83 kB / 471.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3181, allocations: 59.86 MB / 0.519 GB, free: 9.773 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.07191/0.39, allocations: 28.69 MB / 0.547 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03356/0.4235, allocations: 24.85 MB / 0.5713 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.4254, allocations: 31.69 kB / 0.5713 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.4277, allocations: 0.6086 MB / 0.5719 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.432, allocations: 1.28 MB / 0.5732 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01269/0.4447, allocations: 4.34 MB / 0.5774 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.4486, allocations: 2.196 MB / 0.5796 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.4503, allocations: 0.9196 MB / 0.5805 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.452, allocations: 1.044 MB / 0.5815 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.454, allocations: 1.043 MB / 0.5825 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008364/0.4548, allocations: 180 kB / 0.5827 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008255/0.4631, allocations: 2.543 MB / 0.5852 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001101/0.4642, allocations: 474.5 kB / 0.5856 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.4664, allocations: 0.8285 MB / 0.5864 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.4803, allocations: 5.163 MB / 0.5915 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4803, allocations: 0 / 0.5915 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4803, allocations: 0 / 0.5915 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.641e-05/0.4804, allocations: 0 / 0.5915 GB, free: 15.54 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.00554/0.486, allocations: 2.516 MB / 0.5939 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.486, allocations: 8.031 kB / 0.5939 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.4884, allocations: 0.5298 MB / 0.5944 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.4909, allocations: 1.179 MB / 0.5956 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.4911, allocations: 226.1 kB / 0.5958 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.4915, allocations: 144 kB / 0.596 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/0.4953, allocations: 2.035 MB / 0.5979 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/0.4954, allocations: 4 kB / 0.5979 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.4956, allocations: 60 kB / 0.598 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.4956, allocations: 36 kB / 0.598 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004684/0.5003, allocations: 2.749 MB / 0.6007 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.5112, allocations: 5.791 MB / 0.6064 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.5132, allocations: 1.002 MB / 0.6074 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009806/0.5141, allocations: 0.5091 MB / 0.6079 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.5242, allocations: 4.176 MB / 0.6119 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.5242, allocations: 39 kB / 0.612 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003886/0.5246, allocations: 87.14 kB / 0.612 GB, free: 10.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 3.386e-06/0.5246, allocations: 0 / 0.612 GB, free: 10.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.002063/0.5267, allocations: 0.8512 MB / 0.6129 GB, free: 9.234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/0.5268, allocations: 111.2 kB / 0.613 GB, free: 9.102 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.5284, allocations: 1.163 MB / 0.6141 GB, free: 7.922 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.5284, allocations: 37.7 kB / 0.6142 GB, free: 7.879 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008136/0.5292, allocations: 1.001 MB / 0.6151 GB, free: 6.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.5295, allocations: 210.3 kB / 0.6153 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/0.53, allocations: 343.3 kB / 0.6157 GB, free: 6.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5301, allocations: 301.1 kB / 0.6159 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.5307, allocations: 315.8 kB / 0.6163 GB, free: 5.711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.5321, allocations: 1.316 MB / 0.6175 GB, free: 3.887 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/0.5346, allocations: 1.813 MB / 0.6193 GB, free: 1.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/0.5346, allocations: 12 kB / 0.6193 GB, free: 1.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003137/0.5378, allocations: 1.683 MB / 0.621 GB, free: 15.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.5378, allocations: 24 kB / 0.621 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.251e-05/0.5379, allocations: 36 kB / 0.621 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/0.5385, allocations: 161.6 kB / 0.6212 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.5399, allocations: 479.7 kB / 0.6216 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.5431, allocations: 3.836 MB / 0.6254 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.5442, allocations: 96.28 kB / 0.6255 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.5444, allocations: 124 kB / 0.6256 GB, free: 10.85 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.0006792/0.5451, allocations: 387.6 kB / 0.626 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.5454, allocations: 131.2 kB / 0.6261 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.548, allocations: 1.366 MB / 0.6274 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.548, allocations: 7.938 kB / 0.6274 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.548, allocations: 4 kB / 0.6274 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.548, allocations: 3.984 kB / 0.6274 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.5505, allocations: 1.294 MB / 0.6287 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.5505, allocations: 4 kB / 0.6287 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.5508, allocations: 75.88 kB / 0.6288 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/0.5515, allocations: 175.2 kB / 0.6289 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.5516, allocations: 12 kB / 0.6289 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003251/0.5548, allocations: 3.702 MB / 0.6326 GB, free: 3.254 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5548, allocations: 0 / 0.6326 GB, free: 3.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.5565, allocations: 0.9718 MB / 0.6335 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.5569, allocations: 107.2 kB / 0.6336 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.5572, allocations: 15.94 kB / 0.6336 GB, free: 2.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.5577, allocations: 15.94 kB / 0.6336 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.5577, allocations: 39.88 kB / 0.6337 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.5578, allocations: 23.94 kB / 0.6337 GB, free: 2.023 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.5593, allocations: 0.841 MB / 0.6345 GB, free: 1.184 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5593, allocations: 0 / 0.6345 GB, free: 1.184 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00333/0.5627, allocations: 0.8872 MB / 0.6354 GB, free: 304 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.002599/0.5653, allocations: 1.067 MB / 0.6364 GB, free: 15.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.5674, allocations: 0.87 MB / 0.6373 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5674, allocations: 0 / 0.6373 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.568, allocations: 403.3 kB / 0.6377 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.5693, allocations: 193.2 kB / 0.6379 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.5735, allocations: 2.319 MB / 0.6401 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.5743, allocations: 0.594 MB / 0.6407 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001254/0.5756, allocations: 392.9 kB / 0.6411 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.5759, allocations: 201.9 kB / 0.6413 GB, free: 10.16 MB / 494.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5759, allocations: 4 kB / 0.6413 GB, free: 10.15 MB / 494.1 MB Notification: Performance of Templates: time 0.04556/0.6215, allocations: 27.06 MB / 0.6677 GB, free: 15.26 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.824176607653499] Failed to read output from testmodel.py, exit status != 0: 0.6305513624101877 0.644912886 0.161399869 Calling exit ...