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.001351/0.001351, allocations: 114.3 kB / 18.94 MB, free: 2.805 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.001529/0.001529, allocations: 219.3 kB / 22.26 MB, free: 5.195 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8.016 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.1379/0.1379, allocations: 23.89 MB / 336.3 MB, free: 11.17 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.002176/0.002176, allocations: 75.89 kB / 471.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3356, allocations: 59.87 MB / 0.5191 GB, free: 9.852 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.04152/0.3772, allocations: 29.57 MB / 0.548 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03722/0.4144, allocations: 28.47 MB / 0.5758 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002116/0.4165, allocations: 31.75 kB / 0.5759 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.4185, allocations: 0.6748 MB / 0.5765 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004781/0.4233, allocations: 1.335 MB / 0.5778 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01241/0.4357, allocations: 4.348 MB / 0.5821 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003871/0.4395, allocations: 2.196 MB / 0.5842 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.4409, allocations: 0.9235 MB / 0.5851 GB, free: 6.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.4423, allocations: 1.044 MB / 0.5861 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.4439, allocations: 1.144 MB / 0.5872 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.4442, allocations: 180 kB / 0.5874 GB, free: 4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00816/0.4524, allocations: 2.714 MB / 0.5901 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006177/0.453, allocations: 470.6 kB / 0.5905 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.4542, allocations: 0.9838 MB / 0.5915 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.4651, allocations: 5.175 MB / 0.5965 GB, free: 10.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4652, allocations: 4 kB / 0.5965 GB, free: 10.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4652, allocations: 0 / 0.5965 GB, free: 10.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.14e-05/0.4652, allocations: 0 / 0.5965 GB, free: 10.63 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.004837/0.47, allocations: 2.524 MB / 0.599 GB, free: 8.062 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4701, allocations: 8.031 kB / 0.599 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.4725, allocations: 0.5299 MB / 0.5995 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.475, allocations: 1.183 MB / 0.6007 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.4752, allocations: 226.1 kB / 0.6009 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.4755, allocations: 147.9 kB / 0.601 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/0.4793, allocations: 2.027 MB / 0.603 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.4793, allocations: 7.938 kB / 0.603 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.4795, allocations: 60 kB / 0.6031 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.4795, allocations: 39.94 kB / 0.6031 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004522/0.4841, allocations: 2.78 MB / 0.6058 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.4956, allocations: 6.599 MB / 0.6123 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.4976, allocations: 1.002 MB / 0.6133 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009699/0.4986, allocations: 0.5091 MB / 0.6138 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/0.5096, allocations: 4.352 MB / 0.618 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.5096, allocations: 39 kB / 0.618 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004315/0.5101, allocations: 107 kB / 0.6181 GB, free: 4.055 MB / 462.1 MB Notification: Performance of pre-optimization done (n=50): time 2.424e-06/0.5101, allocations: 0 / 0.6181 GB, free: 4.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=50): time 0.002003/0.5121, allocations: 0.8552 MB / 0.619 GB, free: 3.191 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/0.5122, allocations: 111.2 kB / 0.6191 GB, free: 3.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.5139, allocations: 1.237 MB / 0.6203 GB, free: 1.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.514, allocations: 37.7 kB / 0.6203 GB, free: 1.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008729/0.5148, allocations: 1.001 MB / 0.6213 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.515, allocations: 194.5 kB / 0.6215 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.5154, allocations: 339.3 kB / 0.6218 GB, free: 232 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5156, allocations: 309.2 kB / 0.6221 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.5162, allocations: 311.8 kB / 0.6224 GB, free: 15.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.5177, allocations: 1.327 MB / 0.6237 GB, free: 13.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.52, allocations: 1.813 MB / 0.6255 GB, free: 11.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/0.52, allocations: 8 kB / 0.6255 GB, free: 11.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003252/0.5233, allocations: 1.703 MB / 0.6271 GB, free: 9.734 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.5233, allocations: 20 kB / 0.6272 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.274e-05/0.5234, allocations: 40 kB / 0.6272 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/0.5241, allocations: 165.4 kB / 0.6274 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.5256, allocations: 479.6 kB / 0.6278 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.5291, allocations: 3.882 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.5304, allocations: 88.05 kB / 0.6317 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.5307, allocations: 131.9 kB / 0.6318 GB, free: 4.656 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.0007929/0.5315, allocations: 387.7 kB / 0.6322 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.5318, allocations: 139.2 kB / 0.6323 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.5345, allocations: 1.388 MB / 0.6337 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5345, allocations: 7.938 kB / 0.6337 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5345, allocations: 0 / 0.6337 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.5346, allocations: 7.984 kB / 0.6337 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.5374, allocations: 1.487 MB / 0.6351 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5374, allocations: 4.281 kB / 0.6351 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.5377, allocations: 75.89 kB / 0.6352 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007821/0.5385, allocations: 175.2 kB / 0.6354 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.5386, allocations: 19.98 kB / 0.6354 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.5419, allocations: 3.748 MB / 0.6391 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.5419, allocations: 7.938 kB / 0.6391 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.5436, allocations: 0.9994 MB / 0.6401 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.544, allocations: 123.1 kB / 0.6402 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.5442, allocations: 15.94 kB / 0.6402 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.5446, allocations: 15.98 kB / 0.6402 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.5447, allocations: 39.83 kB / 0.6402 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.5448, allocations: 23.98 kB / 0.6403 GB, free: 11.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001485/0.5463, allocations: 0.9671 MB / 0.6412 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5463, allocations: 0 / 0.6412 GB, free: 10.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002837/0.5491, allocations: 0.8603 MB / 0.642 GB, free: 9.633 MB / 494.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.002317/0.5514, allocations: 1.063 MB / 0.6431 GB, free: 8.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.5536, allocations: 0.8674 MB / 0.6439 GB, free: 7.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5536, allocations: 8.125 kB / 0.6439 GB, free: 7.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.5542, allocations: 401 kB / 0.6443 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.5557, allocations: 232.9 kB / 0.6445 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.5598, allocations: 2.341 MB / 0.6468 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009491/0.5608, allocations: 1.184 MB / 0.648 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00124/0.562, allocations: 406.1 kB / 0.6484 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.5624, allocations: 205.8 kB / 0.6486 GB, free: 2.84 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5624, allocations: 0 / 0.6486 GB, free: 2.84 MB / 494.1 MB Notification: Performance of Templates: time 0.0479/0.6103, allocations: 27.65 MB / 0.6756 GB, free: 7.258 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.863869664259255] Failed to read output from testmodel.py, exit status != 0: 0.6198468510992825 0.635800475 0.16717304700000002 Calling exit ...