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.00139/0.00139, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.001467/0.001467, allocations: 205 kB / 20.09 MB, free: 2.977 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1631/0.1631, allocations: 23.86 MB / 333.4 MB, free: 1.211 MB / 254.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.00195/0.00195, allocations: 64.16 kB / 467.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1322, allocations: 59.82 MB / 0.5146 GB, free: 12.46 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.05399/0.1861, allocations: 29.31 MB / 0.5433 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03477/0.2209, allocations: 28.41 MB / 0.571 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.2224, allocations: 35.69 kB / 0.571 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.2245, allocations: 0.6748 MB / 0.5717 GB, free: 1.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004116/0.2286, allocations: 1.319 MB / 0.573 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01285/0.2415, allocations: 4.305 MB / 0.5772 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003856/0.2453, allocations: 2.184 MB / 0.5793 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.2468, allocations: 0.9621 MB / 0.5803 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.2481, allocations: 1.044 MB / 0.5813 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.2499, allocations: 1.148 MB / 0.5824 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.2503, allocations: 176 kB / 0.5826 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008329/0.2586, allocations: 2.707 MB / 0.5852 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008162/0.2594, allocations: 478.5 kB / 0.5857 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.2608, allocations: 0.9799 MB / 0.5866 GB, free: 2.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2919/0.5527, allocations: 5.181 MB / 0.5917 GB, free: 31.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.5527, allocations: 1.562 kB / 0.5917 GB, free: 31.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5527, allocations: 0.9062 kB / 0.5917 GB, free: 31.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.523e-05/0.5528, allocations: 3.562 kB / 0.5917 GB, free: 31.17 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.006621/0.5594, allocations: 2.594 MB / 0.5942 GB, free: 29.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5595, allocations: 9.281 kB / 0.5942 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00271/0.5622, allocations: 0.5256 MB / 0.5947 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.5647, allocations: 1.258 MB / 0.596 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.5649, allocations: 169.5 kB / 0.5961 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/0.5652, allocations: 145.6 kB / 0.5963 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004065/0.5693, allocations: 2.029 MB / 0.5983 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.5693, allocations: 7.969 kB / 0.5983 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.5695, allocations: 62.19 kB / 0.5983 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.5695, allocations: 36.28 kB / 0.5984 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005061/0.5746, allocations: 2.775 MB / 0.6011 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/0.5875, allocations: 6.673 MB / 0.6076 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.5897, allocations: 0.9983 MB / 0.6086 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.5907, allocations: 0.5114 MB / 0.6091 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.6025, allocations: 8.438 MB / 0.6173 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.6025, allocations: 40.12 kB / 0.6173 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007193/0.6033, allocations: 106.4 kB / 0.6174 GB, free: 20.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 4.188e-06/0.6033, allocations: 0 / 0.6174 GB, free: 20.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=50): time 0.002108/0.6054, allocations: 1.003 MB / 0.6184 GB, free: 20.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.6054, allocations: 109.4 kB / 0.6185 GB, free: 19.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.6073, allocations: 1.241 MB / 0.6197 GB, free: 19.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.6074, allocations: 36.83 kB / 0.6198 GB, free: 19.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.6079, allocations: 0.9895 MB / 0.6207 GB, free: 18.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.6081, allocations: 207 kB / 0.6209 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.6086, allocations: 341.1 kB / 0.6213 GB, free: 18.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.6086, allocations: 305.1 kB / 0.6215 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.6092, allocations: 313.7 kB / 0.6218 GB, free: 17.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009268/0.6101, allocations: 1.327 MB / 0.6231 GB, free: 16.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.6118, allocations: 1.816 MB / 0.6249 GB, free: 14.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.943e-05/0.6118, allocations: 14.48 kB / 0.6249 GB, free: 14.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002874/0.6147, allocations: 1.686 MB / 0.6266 GB, free: 14.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.6148, allocations: 22.09 kB / 0.6266 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.508e-05/0.6148, allocations: 39.72 kB / 0.6266 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007081/0.6155, allocations: 164.7 kB / 0.6268 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.6169, allocations: 483.7 kB / 0.6272 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.6192, allocations: 4.099 MB / 0.6313 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6207, allocations: 85.39 kB / 0.6313 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.6209, allocations: 128.4 kB / 0.6315 GB, free: 10.28 MB / 446.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.0007905/0.6217, allocations: 387.7 kB / 0.6318 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.6221, allocations: 141.7 kB / 0.632 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.6245, allocations: 1.383 MB / 0.6333 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.6245, allocations: 3.688 kB / 0.6333 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6245, allocations: 0 / 0.6333 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6245, allocations: 3.984 kB / 0.6333 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.6275, allocations: 1.523 MB / 0.6348 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6275, allocations: 1.906 kB / 0.6348 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.6278, allocations: 69.48 kB / 0.6349 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007355/0.6285, allocations: 174.9 kB / 0.635 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.6286, allocations: 25.06 kB / 0.6351 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.6306, allocations: 3.949 MB / 0.6389 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6306, allocations: 11.72 kB / 0.6389 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.6319, allocations: 0.9926 MB / 0.6399 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/0.6324, allocations: 212.2 kB / 0.6401 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/0.6329, allocations: 11.34 kB / 0.6401 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/0.6336, allocations: 15.52 kB / 0.6401 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.6337, allocations: 36.25 kB / 0.6402 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.6338, allocations: 22.95 kB / 0.6402 GB, free: 2.973 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001433/0.6352, allocations: 0.9645 MB / 0.6411 GB, free: 2.461 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6352, allocations: 0 / 0.6411 GB, free: 2.461 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003135/0.6383, allocations: 0.8585 MB / 0.642 GB, free: 2.184 MB / 446.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.002604/0.6409, allocations: 1.068 MB / 0.643 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.6429, allocations: 0.8612 MB / 0.6438 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.6429, allocations: 2.719 kB / 0.6439 GB, free: 1.203 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.6434, allocations: 414.9 kB / 0.6442 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.6453, allocations: 237 kB / 0.6445 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.6498, allocations: 2.36 MB / 0.6468 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.6509, allocations: 1.186 MB / 0.6479 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/0.6516, allocations: 300.1 kB / 0.6482 GB, free: 12.78 MB / 462.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6516, allocations: 0 / 0.6482 GB, free: 12.78 MB / 462.1 MB Notification: Performance of Templates: time 0.06799/0.7196, allocations: 49.24 MB / 0.6963 GB, free: 12.3 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: 11.208593530987855] Failed to read output from testmodel.py, exit status != 0: 0.7284996079979464 0.742337951 0.186613888 Calling exit ...