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.001525/0.001525, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.0017/0.0017, allocations: 213.1 kB / 22.99 MB, free: 4.984 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.134/0.134, allocations: 23.93 MB / 337.1 MB, free: 10.94 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.002032/0.002032, allocations: 67.89 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2847, allocations: 59.89 MB / 0.5198 GB, free: 9.777 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.07115/0.3559, allocations: 28.53 MB / 0.5477 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03171/0.3876, allocations: 24.85 MB / 0.572 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.389, allocations: 35.62 kB / 0.572 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.3911, allocations: 0.6126 MB / 0.5726 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.395, allocations: 1.272 MB / 0.5738 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.4086, allocations: 4.348 MB / 0.5781 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.4122, allocations: 2.188 MB / 0.5802 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.4137, allocations: 0.9352 MB / 0.5811 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.4152, allocations: 1.044 MB / 0.5822 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.4172, allocations: 1.14 MB / 0.5833 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004576/0.4176, allocations: 180 kB / 0.5834 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006821/0.4245, allocations: 2.609 MB / 0.586 GB, free: 5.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006367/0.4251, allocations: 486.4 kB / 0.5865 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.4262, allocations: 0.8207 MB / 0.5873 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.4367, allocations: 5.163 MB / 0.5923 GB, free: 15.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4367, allocations: 0 / 0.5923 GB, free: 15.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4367, allocations: 0 / 0.5923 GB, free: 15.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.4368, allocations: 0 / 0.5923 GB, free: 15.44 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.004517/0.4413, allocations: 2.516 MB / 0.5948 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4413, allocations: 8.031 kB / 0.5948 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.4438, allocations: 0.5338 MB / 0.5953 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.4462, allocations: 1.179 MB / 0.5964 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.4465, allocations: 226.1 kB / 0.5966 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.4468, allocations: 140 kB / 0.5968 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.4503, allocations: 2.035 MB / 0.5988 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.4503, allocations: 4 kB / 0.5988 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.4505, allocations: 56 kB / 0.5988 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.4505, allocations: 36 kB / 0.5989 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004448/0.455, allocations: 2.745 MB / 0.6015 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.4657, allocations: 5.803 MB / 0.6072 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.4676, allocations: 0.9824 MB / 0.6082 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009227/0.4685, allocations: 0.5169 MB / 0.6087 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.4791, allocations: 4.168 MB / 0.6127 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.4791, allocations: 39 kB / 0.6128 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003692/0.4795, allocations: 91.14 kB / 0.6129 GB, free: 10 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.906e-06/0.4795, allocations: 4 kB / 0.6129 GB, free: 9.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.001913/0.4814, allocations: 0.8395 MB / 0.6137 GB, free: 9.148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.4815, allocations: 111.2 kB / 0.6138 GB, free: 9.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.4829, allocations: 1.167 MB / 0.6149 GB, free: 7.832 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.483, allocations: 33.7 kB / 0.615 GB, free: 7.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007554/0.4837, allocations: 1.001 MB / 0.6159 GB, free: 6.781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.4839, allocations: 206.4 kB / 0.6161 GB, free: 6.578 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.4843, allocations: 343.6 kB / 0.6165 GB, free: 6.234 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4844, allocations: 305.1 kB / 0.6168 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.485, allocations: 311.8 kB / 0.6171 GB, free: 5.629 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4864, allocations: 1.324 MB / 0.6183 GB, free: 3.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.4887, allocations: 1.817 MB / 0.6201 GB, free: 1.469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.4887, allocations: 15.94 kB / 0.6201 GB, free: 1.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002964/0.4917, allocations: 1.679 MB / 0.6218 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.4917, allocations: 24 kB / 0.6218 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.4917, allocations: 36.88 kB / 0.6218 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.4924, allocations: 169.3 kB / 0.622 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.4938, allocations: 475.3 kB / 0.6225 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.497, allocations: 3.84 MB / 0.6262 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.4981, allocations: 83.86 kB / 0.6263 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.4983, allocations: 128 kB / 0.6264 GB, free: 10.76 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.0006087/0.4989, allocations: 397.5 kB / 0.6268 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.4991, allocations: 127.2 kB / 0.6269 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.5017, allocations: 1.36 MB / 0.6282 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.5017, allocations: 7.938 kB / 0.6282 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.5017, allocations: 0 / 0.6282 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5018, allocations: 4 kB / 0.6282 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.5041, allocations: 1.294 MB / 0.6295 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5041, allocations: 0 / 0.6295 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.5044, allocations: 71.89 kB / 0.6296 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007786/0.5052, allocations: 175.6 kB / 0.6297 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.5052, allocations: 16 kB / 0.6298 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.5082, allocations: 3.695 MB / 0.6334 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5082, allocations: 4 kB / 0.6334 GB, free: 3.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.5097, allocations: 0.9832 MB / 0.6343 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.51, allocations: 107.2 kB / 0.6344 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.5102, allocations: 11.98 kB / 0.6344 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.5106, allocations: 15.94 kB / 0.6345 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.5107, allocations: 43.95 kB / 0.6345 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.5107, allocations: 20 kB / 0.6345 GB, free: 1.938 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001158/0.5119, allocations: 0.841 MB / 0.6353 GB, free: 1.098 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5119, allocations: 4.062 kB / 0.6353 GB, free: 1.094 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002609/0.5145, allocations: 0.8834 MB / 0.6362 GB, free: 212 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.001839/0.5163, allocations: 1.07 MB / 0.6373 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.5182, allocations: 0.8667 MB / 0.6381 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5182, allocations: 0.875 kB / 0.6381 GB, free: 14.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.5188, allocations: 401.5 kB / 0.6385 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.52, allocations: 198.1 kB / 0.6387 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.5235, allocations: 2.314 MB / 0.6409 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.5241, allocations: 0.6095 MB / 0.6415 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.5252, allocations: 392.8 kB / 0.6419 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.5256, allocations: 186.6 kB / 0.6421 GB, free: 10.07 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5256, allocations: 0 / 0.6421 GB, free: 10.07 MB / 494.1 MB Notification: Performance of Templates: time 0.0422/0.5678, allocations: 27.5 MB / 0.6689 GB, free: 14.73 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardLeadAcidPotential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.535038572008489] Failed to read output from testmodel.py, exit status != 0: 0.5764646420138888 0.590373752 0.150485386 Calling exit ...