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.001379/0.001379, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001548/0.001548, allocations: 222 kB / 23 MB, free: 4.918 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.1389/0.1389, allocations: 24 MB / 337.2 MB, free: 10.89 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.002106/0.002106, allocations: 75.11 kB / 472.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3027, allocations: 59.89 MB / 0.52 GB, free: 9.734 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.07226/0.3749, allocations: 28.71 MB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03362/0.4085, allocations: 24.84 MB / 0.5722 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.4102, allocations: 39.69 kB / 0.5723 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.4121, allocations: 0.6008 MB / 0.5729 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.4163, allocations: 1.284 MB / 0.5741 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01204/0.4283, allocations: 4.34 MB / 0.5784 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.4319, allocations: 2.192 MB / 0.5805 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.4334, allocations: 0.9195 MB / 0.5814 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.4348, allocations: 1.04 MB / 0.5824 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.4364, allocations: 1.054 MB / 0.5835 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.4368, allocations: 176 kB / 0.5836 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00725/0.444, allocations: 2.539 MB / 0.5861 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006876/0.4447, allocations: 482.5 kB / 0.5866 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.4459, allocations: 0.8169 MB / 0.5874 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.4569, allocations: 5.167 MB / 0.5924 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4569, allocations: 0 / 0.5924 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.457, allocations: 4 kB / 0.5924 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.046e-05/0.457, allocations: 0 / 0.5924 GB, free: 15.39 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.00451/0.4615, allocations: 2.512 MB / 0.5949 GB, free: 12.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4615, allocations: 12.03 kB / 0.5949 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.4638, allocations: 0.5182 MB / 0.5954 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.4662, allocations: 1.187 MB / 0.5965 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.4664, allocations: 226.1 kB / 0.5968 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003058/0.4667, allocations: 144 kB / 0.5969 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.4702, allocations: 2.031 MB / 0.5989 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.4702, allocations: 4 kB / 0.5989 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.4704, allocations: 67.98 kB / 0.5989 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.4704, allocations: 36 kB / 0.599 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.4751, allocations: 2.741 MB / 0.6017 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.4854, allocations: 5.803 MB / 0.6073 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.4873, allocations: 0.998 MB / 0.6083 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009324/0.4882, allocations: 0.5091 MB / 0.6088 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009887/0.4981, allocations: 4.16 MB / 0.6129 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.4982, allocations: 46.92 kB / 0.6129 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003708/0.4985, allocations: 95.12 kB / 0.613 GB, free: 9.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.4985, allocations: 0 / 0.613 GB, free: 9.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.00186/0.5004, allocations: 0.8359 MB / 0.6138 GB, free: 9.098 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.5005, allocations: 115.2 kB / 0.6139 GB, free: 8.961 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.502, allocations: 1.171 MB / 0.6151 GB, free: 7.773 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.502, allocations: 37.7 kB / 0.6151 GB, free: 7.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.5028, allocations: 1.001 MB / 0.6161 GB, free: 6.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.503, allocations: 202.4 kB / 0.6163 GB, free: 6.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/0.5034, allocations: 347.3 kB / 0.6166 GB, free: 6.172 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5035, allocations: 301.1 kB / 0.6169 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.5041, allocations: 311.8 kB / 0.6172 GB, free: 5.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.5055, allocations: 1.32 MB / 0.6185 GB, free: 3.742 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.5078, allocations: 1.813 MB / 0.6202 GB, free: 1.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.5078, allocations: 8 kB / 0.6202 GB, free: 1.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002894/0.5107, allocations: 1.68 MB / 0.6219 GB, free: 15.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.5107, allocations: 20 kB / 0.6219 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-05/0.5108, allocations: 36 kB / 0.6219 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007499/0.5115, allocations: 173.3 kB / 0.6221 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.5129, allocations: 483.5 kB / 0.6226 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.5162, allocations: 3.843 MB / 0.6263 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.5173, allocations: 88.23 kB / 0.6264 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.5175, allocations: 128 kB / 0.6265 GB, free: 10.7 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.0006509/0.5181, allocations: 385.3 kB / 0.6269 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.5184, allocations: 131.2 kB / 0.627 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.5209, allocations: 1.367 MB / 0.6284 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.521, allocations: 11.94 kB / 0.6284 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.521, allocations: 3.938 kB / 0.6284 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.521, allocations: 0 / 0.6284 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.5233, allocations: 1.298 MB / 0.6296 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5233, allocations: 4.031 kB / 0.6296 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.5236, allocations: 75.89 kB / 0.6297 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007272/0.5244, allocations: 167.3 kB / 0.6299 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.5244, allocations: 16 kB / 0.6299 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.5275, allocations: 3.699 MB / 0.6335 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5275, allocations: 4.031 kB / 0.6335 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.5291, allocations: 0.9752 MB / 0.6345 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.5294, allocations: 107.4 kB / 0.6346 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.5295, allocations: 11.94 kB / 0.6346 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.53, allocations: 19.92 kB / 0.6346 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.53, allocations: 35.95 kB / 0.6346 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.5301, allocations: 19.98 kB / 0.6346 GB, free: 1.879 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001228/0.5313, allocations: 0.8449 MB / 0.6355 GB, free: 1.035 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5313, allocations: 0 / 0.6355 GB, free: 1.035 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002784/0.5341, allocations: 0.8796 MB / 0.6363 GB, free: 156 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.001921/0.536, allocations: 1.075 MB / 0.6374 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.538, allocations: 0.8665 MB / 0.6382 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.538, allocations: 0 / 0.6382 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.5386, allocations: 410.6 kB / 0.6386 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.5397, allocations: 201.2 kB / 0.6388 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.5435, allocations: 2.353 MB / 0.6411 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/0.5441, allocations: 0.5979 MB / 0.6417 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.5447, allocations: 292.1 kB / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5447, allocations: 0 / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Performance of Templates: time 0.05898/0.6037, allocations: 49.03 MB / 0.6898 GB, free: 9.25 MB / 0.5294 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: 10.069700814783573] Failed to read output from testmodel.py, exit status != 0: 0.6127646267414093 0.627234695 0.167040551 Calling exit ...