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.001282/0.001282, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00146/0.00146, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.429/1.429, 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 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: 23.99 MB / 336.4 MB, free: 10.96 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.001973/0.001973, allocations: 67.89 kB / 471.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.318, allocations: 59.89 MB / 0.5192 GB, free: 9.676 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.0737/0.3917, allocations: 28.7 MB / 0.5472 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0337/0.4254, allocations: 24.85 MB / 0.5715 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.4271, allocations: 35.62 kB / 0.5716 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.4289, allocations: 0.6048 MB / 0.5721 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.4329, allocations: 1.28 MB / 0.5734 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.4448, allocations: 4.348 MB / 0.5776 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003414/0.4482, allocations: 2.188 MB / 0.5798 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.4495, allocations: 0.9195 MB / 0.5807 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.4507, allocations: 1.04 MB / 0.5817 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.4521, allocations: 1.047 MB / 0.5827 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.4524, allocations: 180 kB / 0.5829 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006508/0.4589, allocations: 2.543 MB / 0.5854 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005584/0.4595, allocations: 478.5 kB / 0.5858 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009767/0.4605, allocations: 0.8246 MB / 0.5866 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.471, allocations: 5.171 MB / 0.5917 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.471, allocations: 0 / 0.5917 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.471, allocations: 0 / 0.5917 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.872e-05/0.471, allocations: 0 / 0.5917 GB, free: 15.38 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.004276/0.4753, allocations: 2.514 MB / 0.5941 GB, free: 12.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4754, allocations: 8.031 kB / 0.5941 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.4776, allocations: 0.526 MB / 0.5947 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.4799, allocations: 1.183 MB / 0.5958 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.4801, allocations: 222.1 kB / 0.596 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.4804, allocations: 144 kB / 0.5962 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.4837, allocations: 2.023 MB / 0.5981 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/0.4837, allocations: 15.86 kB / 0.5981 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.4839, allocations: 63.98 kB / 0.5982 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.4839, allocations: 36 kB / 0.5982 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/0.4884, allocations: 2.741 MB / 0.6009 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.4989, allocations: 5.803 MB / 0.6066 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.5009, allocations: 0.9902 MB / 0.6076 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/0.5018, allocations: 0.513 MB / 0.6081 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.5122, allocations: 4.168 MB / 0.6121 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.5122, allocations: 39 kB / 0.6122 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000491/0.5127, allocations: 87.14 kB / 0.6122 GB, free: 9.945 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 3.948e-06/0.5127, allocations: 4 kB / 0.6123 GB, free: 9.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.002311/0.515, allocations: 0.8396 MB / 0.6131 GB, free: 9.094 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5151, allocations: 111.2 kB / 0.6132 GB, free: 8.961 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.5175, allocations: 1.171 MB / 0.6143 GB, free: 7.773 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.204e-05/0.5176, allocations: 37.7 kB / 0.6144 GB, free: 7.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.5186, allocations: 1.001 MB / 0.6153 GB, free: 6.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.5189, allocations: 198.4 kB / 0.6155 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006041/0.5195, allocations: 351.5 kB / 0.6159 GB, free: 6.172 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5197, allocations: 301.1 kB / 0.6161 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006924/0.5204, allocations: 319.8 kB / 0.6164 GB, free: 5.562 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.5219, allocations: 1.316 MB / 0.6177 GB, free: 3.738 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.5244, allocations: 1.813 MB / 0.6195 GB, free: 1.414 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-05/0.5244, allocations: 12 kB / 0.6195 GB, free: 1.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003223/0.5277, allocations: 1.675 MB / 0.6212 GB, free: 15.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.5277, allocations: 28.92 kB / 0.6212 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.326e-05/0.5278, allocations: 36 kB / 0.6212 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/0.5284, allocations: 165.4 kB / 0.6214 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.5298, allocations: 475.2 kB / 0.6218 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.5332, allocations: 3.848 MB / 0.6256 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.5343, allocations: 87.86 kB / 0.6257 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.5345, allocations: 124.2 kB / 0.6258 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.0006792/0.5351, allocations: 397.3 kB / 0.6262 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.5355, allocations: 127.2 kB / 0.6263 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.5381, allocations: 1.37 MB / 0.6276 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5381, allocations: 7.938 kB / 0.6276 GB, free: 8.723 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5381, allocations: 4 kB / 0.6276 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5381, allocations: 3.938 kB / 0.6276 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.5407, allocations: 1.291 MB / 0.6289 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.5407, allocations: 4 kB / 0.6289 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.541, allocations: 71.89 kB / 0.629 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007168/0.5417, allocations: 179.5 kB / 0.6291 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.5418, allocations: 12 kB / 0.6292 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003172/0.5449, allocations: 3.695 MB / 0.6328 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5449, allocations: 3.938 kB / 0.6328 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.5465, allocations: 0.9784 MB / 0.6337 GB, free: 2.066 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.5468, allocations: 103.2 kB / 0.6338 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.547, allocations: 19.92 kB / 0.6338 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.5474, allocations: 15.94 kB / 0.6339 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.5475, allocations: 35.89 kB / 0.6339 GB, free: 1.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.5475, allocations: 23.98 kB / 0.6339 GB, free: 1.871 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001262/0.5488, allocations: 0.8371 MB / 0.6347 GB, free: 1.035 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5488, allocations: 4.062 kB / 0.6347 GB, free: 1.031 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002726/0.5515, allocations: 0.8835 MB / 0.6356 GB, free: 148 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.002239/0.5538, allocations: 1.067 MB / 0.6366 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.5557, allocations: 0.8714 MB / 0.6375 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5558, allocations: 0 / 0.6375 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005826/0.5563, allocations: 409.4 kB / 0.6379 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.001153/0.5575, allocations: 192.9 kB / 0.6381 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.5616, allocations: 2.31 MB / 0.6403 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/0.5623, allocations: 0.6017 MB / 0.6409 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001199/0.5635, allocations: 392.8 kB / 0.6413 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.5639, allocations: 198.2 kB / 0.6415 GB, free: 10.01 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5639, allocations: 0 / 0.6415 GB, free: 10.01 MB / 494.1 MB Notification: Performance of Templates: time 0.04596/0.6099, allocations: 27.06 MB / 0.6679 GB, free: 15.11 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: 5.651752958074212] Failed to read output from testmodel.py, exit status != 0: 0.618938522413373 0.634093974 0.15997771100000002 Calling exit ...