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.001457/0.001457, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001649/0.001649, allocations: 216.7 kB / 22.3 MB, free: 5.277 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.542/1.542, allocations: 230.7 MB / 256.1 MB, free: 7.719 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.1638/0.1638, allocations: 23.89 MB / 336.4 MB, free: 10.89 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.002066/0.002066, allocations: 63.91 kB / 471.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3748, allocations: 59.85 MB / 0.5191 GB, free: 9.758 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.08238/0.4572, allocations: 28.68 MB / 0.5471 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0379/0.4951, allocations: 24.85 MB / 0.5714 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.4971, allocations: 35.69 kB / 0.5714 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.4995, allocations: 0.6048 MB / 0.572 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005187/0.5047, allocations: 1.276 MB / 0.5733 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.5188, allocations: 4.344 MB / 0.5775 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.5228, allocations: 2.196 MB / 0.5797 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.5243, allocations: 0.9196 MB / 0.5806 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.5257, allocations: 1.04 MB / 0.5816 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.5272, allocations: 1.051 MB / 0.5826 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003226/0.5276, allocations: 176 kB / 0.5828 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009019/0.5366, allocations: 2.539 MB / 0.5852 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005915/0.5372, allocations: 490.4 kB / 0.5857 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.5383, allocations: 0.813 MB / 0.5865 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.5511, allocations: 5.178 MB / 0.5916 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5511, allocations: 0 / 0.5916 GB, free: 15.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5511, allocations: 0 / 0.5916 GB, free: 15.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.549e-05/0.5512, allocations: 0 / 0.5916 GB, free: 15.49 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.005162/0.5563, allocations: 2.512 MB / 0.594 GB, free: 12.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5564, allocations: 12.03 kB / 0.594 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.5589, allocations: 0.5259 MB / 0.5945 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.5612, allocations: 1.175 MB / 0.5957 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.5615, allocations: 226.1 kB / 0.5959 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.5618, allocations: 148 kB / 0.596 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/0.5655, allocations: 2.031 MB / 0.598 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.5655, allocations: 0 / 0.598 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.5657, allocations: 64 kB / 0.5981 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/0.5657, allocations: 36 kB / 0.5981 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00461/0.5703, allocations: 2.737 MB / 0.6008 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.5812, allocations: 5.809 MB / 0.6065 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.5833, allocations: 0.9831 MB / 0.6074 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.5843, allocations: 0.5169 MB / 0.6079 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.5949, allocations: 4.173 MB / 0.612 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.595, allocations: 47 kB / 0.6121 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005327/0.5955, allocations: 91.14 kB / 0.6121 GB, free: 10.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 4.829e-06/0.5955, allocations: 0 / 0.6121 GB, free: 10.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.002235/0.5977, allocations: 0.8454 MB / 0.613 GB, free: 9.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.5978, allocations: 111.2 kB / 0.6131 GB, free: 9.055 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.5995, allocations: 1.171 MB / 0.6142 GB, free: 7.867 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.998e-05/0.5996, allocations: 33.7 kB / 0.6142 GB, free: 7.828 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/0.6004, allocations: 1.001 MB / 0.6152 GB, free: 6.816 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.6006, allocations: 206.4 kB / 0.6154 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/0.6011, allocations: 343.3 kB / 0.6157 GB, free: 6.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6012, allocations: 301.1 kB / 0.616 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.6019, allocations: 315.8 kB / 0.6163 GB, free: 5.664 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.6034, allocations: 1.32 MB / 0.6176 GB, free: 3.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.6059, allocations: 1.813 MB / 0.6194 GB, free: 1.512 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/0.6059, allocations: 8 kB / 0.6194 GB, free: 1.504 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003157/0.6091, allocations: 1.683 MB / 0.621 GB, free: 15.81 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.6091, allocations: 20 kB / 0.6211 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.472e-05/0.6092, allocations: 39.98 kB / 0.6211 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.6099, allocations: 162.1 kB / 0.6213 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.6114, allocations: 483.2 kB / 0.6217 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/0.6151, allocations: 3.839 MB / 0.6255 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.6162, allocations: 92.27 kB / 0.6256 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.6165, allocations: 128 kB / 0.6257 GB, free: 10.8 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.0007261/0.6172, allocations: 384.8 kB / 0.626 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.6175, allocations: 135.2 kB / 0.6262 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.6204, allocations: 1.376 MB / 0.6275 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.6204, allocations: 7.938 kB / 0.6275 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.6204, allocations: 0 / 0.6275 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6204, allocations: 0 / 0.6275 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.6231, allocations: 1.29 MB / 0.6288 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6231, allocations: 0 / 0.6288 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.6235, allocations: 75.89 kB / 0.6289 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007965/0.6243, allocations: 179.2 kB / 0.629 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.6243, allocations: 20 kB / 0.629 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.6276, allocations: 3.691 MB / 0.6327 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6276, allocations: 4 kB / 0.6327 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.6292, allocations: 0.9718 MB / 0.6336 GB, free: 2.172 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.6295, allocations: 107.2 kB / 0.6337 GB, free: 2.066 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.6297, allocations: 15.94 kB / 0.6337 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.6301, allocations: 19.92 kB / 0.6337 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.6302, allocations: 31.95 kB / 0.6338 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.6303, allocations: 23.98 kB / 0.6338 GB, free: 1.977 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00133/0.6316, allocations: 0.8449 MB / 0.6346 GB, free: 1.133 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6316, allocations: 0 / 0.6346 GB, free: 1.133 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003205/0.6348, allocations: 0.8796 MB / 0.6355 GB, free: 256 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.002424/0.6372, allocations: 1.078 MB / 0.6365 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.6393, allocations: 0.8622 MB / 0.6374 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6393, allocations: 0 / 0.6374 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006469/0.64, allocations: 399.3 kB / 0.6378 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.6413, allocations: 197.5 kB / 0.6379 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.6456, allocations: 2.315 MB / 0.6402 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.6463, allocations: 0.6058 MB / 0.6408 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001198/0.6475, allocations: 396.1 kB / 0.6412 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.6479, allocations: 187.2 kB / 0.6414 GB, free: 10.11 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6479, allocations: 0 / 0.6414 GB, free: 10.11 MB / 494.1 MB Notification: Performance of Templates: time 0.04398/0.6919, allocations: 24.94 MB / 0.6657 GB, free: 1.348 MB / 0.4981 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: 6.353942561894655] Failed to read output from testmodel.py, exit status != 0: 0.7017604671418667 0.7174297119999999 0.16293046900000002 Calling exit ...