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.001374/0.001374, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001523/0.001523, allocations: 219 kB / 22.25 MB, free: 5.254 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.797 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.152/0.152, allocations: 23.93 MB / 336.3 MB, free: 10.93 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.002122/0.002122, allocations: 67.89 kB / 471.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3879, allocations: 59.87 MB / 0.5191 GB, free: 9.781 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.07784/0.4658, allocations: 28.63 MB / 0.5471 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03485/0.5006, allocations: 24.85 MB / 0.5713 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.5023, allocations: 35.69 kB / 0.5714 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.5043, allocations: 0.6125 MB / 0.5719 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.5091, allocations: 1.276 MB / 0.5732 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.5219, allocations: 4.344 MB / 0.5774 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003911/0.5258, allocations: 2.196 MB / 0.5796 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.5272, allocations: 0.9274 MB / 0.5805 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.5286, allocations: 1.036 MB / 0.5815 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.5302, allocations: 1.152 MB / 0.5826 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003055/0.5305, allocations: 180 kB / 0.5828 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007068/0.5375, allocations: 2.601 MB / 0.5853 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007782/0.5383, allocations: 486.5 kB / 0.5858 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.5395, allocations: 0.8208 MB / 0.5866 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.5525, allocations: 5.159 MB / 0.5916 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.5525, allocations: 3.984 kB / 0.5916 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5525, allocations: 0 / 0.5916 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.676e-05/0.5526, allocations: 4 kB / 0.5916 GB, free: 15.35 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.005074/0.5577, allocations: 2.512 MB / 0.5941 GB, free: 12.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5577, allocations: 12.03 kB / 0.5941 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.5601, allocations: 0.526 MB / 0.5946 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.5625, allocations: 1.179 MB / 0.5958 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.5627, allocations: 230.1 kB / 0.596 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.563, allocations: 144 kB / 0.5961 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.5664, allocations: 2.031 MB / 0.5981 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.5665, allocations: 0 / 0.5981 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.5666, allocations: 59.94 kB / 0.5982 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.5667, allocations: 40 kB / 0.5982 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005173/0.5718, allocations: 2.737 MB / 0.6009 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.5826, allocations: 5.803 MB / 0.6066 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.5846, allocations: 0.9903 MB / 0.6075 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009121/0.5855, allocations: 0.513 MB / 0.608 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.5965, allocations: 4.168 MB / 0.6121 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.5965, allocations: 46.92 kB / 0.6121 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003864/0.5969, allocations: 91.14 kB / 0.6122 GB, free: 9.906 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 3.136e-06/0.5969, allocations: 0 / 0.6122 GB, free: 9.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.002043/0.599, allocations: 0.8396 MB / 0.613 GB, free: 9.059 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5991, allocations: 115.2 kB / 0.6132 GB, free: 8.922 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.6006, allocations: 1.167 MB / 0.6143 GB, free: 7.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-05/0.6007, allocations: 33.7 kB / 0.6143 GB, free: 7.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007968/0.6015, allocations: 1.005 MB / 0.6153 GB, free: 6.684 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.6017, allocations: 210.6 kB / 0.6155 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/0.6021, allocations: 343.3 kB / 0.6158 GB, free: 6.133 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6023, allocations: 301.1 kB / 0.6161 GB, free: 5.836 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00066/0.6029, allocations: 307.8 kB / 0.6164 GB, free: 5.535 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.6049, allocations: 1.324 MB / 0.6177 GB, free: 3.703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.6074, allocations: 1.809 MB / 0.6195 GB, free: 1.383 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.6074, allocations: 8 kB / 0.6195 GB, free: 1.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003047/0.6104, allocations: 1.684 MB / 0.6211 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.6105, allocations: 23.94 kB / 0.6211 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/0.6105, allocations: 36 kB / 0.6212 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/0.6112, allocations: 169.4 kB / 0.6213 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.6126, allocations: 483.2 kB / 0.6218 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.6162, allocations: 3.847 MB / 0.6256 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6173, allocations: 84.11 kB / 0.6256 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.6175, allocations: 132 kB / 0.6258 GB, free: 10.66 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.0006592/0.6181, allocations: 388.1 kB / 0.6261 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.6184, allocations: 127.2 kB / 0.6263 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.6211, allocations: 1.356 MB / 0.6276 GB, free: 8.711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.6211, allocations: 7.938 kB / 0.6276 GB, free: 8.703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6211, allocations: 4 kB / 0.6276 GB, free: 8.699 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6211, allocations: 3.984 kB / 0.6276 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.6236, allocations: 1.295 MB / 0.6289 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.6236, allocations: 4 kB / 0.6289 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.6239, allocations: 67.89 kB / 0.6289 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007529/0.6247, allocations: 175.6 kB / 0.6291 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.6247, allocations: 15.98 kB / 0.6291 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.6281, allocations: 3.702 MB / 0.6327 GB, free: 3.078 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6281, allocations: 448 / 0.6327 GB, free: 3.078 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.6297, allocations: 0.974 MB / 0.6337 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.63, allocations: 111.2 kB / 0.6338 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.6301, allocations: 12 kB / 0.6338 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.6305, allocations: 15.92 kB / 0.6338 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.6306, allocations: 32.05 kB / 0.6338 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.6306, allocations: 27.97 kB / 0.6339 GB, free: 1.852 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.6319, allocations: 0.8488 MB / 0.6347 GB, free: 1.004 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6319, allocations: 0 / 0.6347 GB, free: 1.004 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002857/0.6347, allocations: 0.8873 MB / 0.6356 GB, free: 116 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.001911/0.6367, allocations: 1.062 MB / 0.6366 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00194/0.6386, allocations: 0.8633 MB / 0.6374 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6386, allocations: 384 / 0.6374 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.6392, allocations: 409.1 kB / 0.6378 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.6404, allocations: 195.7 kB / 0.638 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.6444, allocations: 2.318 MB / 0.6403 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.6451, allocations: 0.5979 MB / 0.6409 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.6462, allocations: 392.9 kB / 0.6412 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.6466, allocations: 194.8 kB / 0.6414 GB, free: 9.984 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6466, allocations: 0 / 0.6414 GB, free: 9.984 MB / 494.1 MB Notification: Performance of Templates: time 0.04579/0.6923, allocations: 27.5 MB / 0.6683 GB, free: 14.65 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: 6.262689059134573] Failed to read output from testmodel.py, exit status != 0: 0.7015454298816621 0.716721624 0.16082242600000002 Calling exit ...