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.0007899/0.0007899, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001204/0.001204, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8337/0.8337, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.07727/0.07727, allocations: 17.44 MB / 277.4 MB, free: 11.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 412.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.966e-05, allocations: 2.281 kB / 412.9 MB, free: 15.75 MB / 394.7 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.02239/0.02241, allocations: 28.91 MB / 441.8 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1524/0.1748, allocations: 24.84 MB / 466.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/0.1755, allocations: 35.5 kB / 466.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.1763, allocations: 0.6131 MB / 467.3 MB, free: 49.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.1779, allocations: 1.323 MB / 468.6 MB, free: 48.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005566/0.1835, allocations: 4.478 MB / 473.1 MB, free: 45.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1846, allocations: 2.275 MB / 475.4 MB, free: 44.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005523/0.1851, allocations: 0.931 MB / 476.3 MB, free: 44.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000655/0.1858, allocations: 1.425 MB / 477.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006409/0.1864, allocations: 0.9253 MB / 478.6 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.1866, allocations: 178.5 kB / 478.8 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.1895, allocations: 2.56 MB / 481.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.1898, allocations: 492.1 kB / 481.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003604/0.1901, allocations: 0.6948 MB / 482.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.1936, allocations: 5.461 MB / 488 MB, free: 39.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1936, allocations: 1.094 kB / 488 MB, free: 39.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1936, allocations: 0 / 488 MB, free: 39.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.1936, allocations: 0 / 488 MB, free: 39.97 MB / 410.7 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.002149/0.1957, allocations: 2.501 MB / 490.5 MB, free: 38.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1958, allocations: 9.156 kB / 490.5 MB, free: 38.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1969, allocations: 0.5276 MB / 491 MB, free: 38.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.1981, allocations: 1.173 MB / 492.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.1982, allocations: 218.1 kB / 492.4 MB, free: 37.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.1983, allocations: 144.2 kB / 492.6 MB, free: 37.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.2003, allocations: 2.034 MB / 494.6 MB, free: 36.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.2003, allocations: 1.375 kB / 494.6 MB, free: 36.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.2004, allocations: 60.72 kB / 494.7 MB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.2004, allocations: 37.44 kB / 494.7 MB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.2031, allocations: 2.745 MB / 497.5 MB, free: 35.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00574/0.2089, allocations: 5.802 MB / 0.4915 GB, free: 32.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.2101, allocations: 0.9929 MB / 0.4924 GB, free: 32.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.2107, allocations: 0.5123 MB / 0.4929 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005304/0.216, allocations: 4.16 MB / 0.497 GB, free: 30.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.216, allocations: 44.14 kB / 0.497 GB, free: 30.4 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001937/0.2162, allocations: 82.69 kB / 0.4971 GB, free: 30.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/0.2162, allocations: 0 / 0.4971 GB, free: 30.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.001097/0.2173, allocations: 0.8468 MB / 0.4979 GB, free: 30.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.2173, allocations: 113.9 kB / 0.498 GB, free: 29.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.2181, allocations: 1.159 MB / 0.4992 GB, free: 29.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.2181, allocations: 38.11 kB / 0.4992 GB, free: 29.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.2184, allocations: 1 MB / 0.5002 GB, free: 28.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-05/0.2185, allocations: 198.2 kB / 0.5004 GB, free: 28.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.2187, allocations: 339.5 kB / 0.5007 GB, free: 28.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 1.889e-05/0.2187, allocations: 305.1 kB / 0.501 GB, free: 27.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.2191, allocations: 313.3 kB / 0.5013 GB, free: 27.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.2196, allocations: 1.316 MB / 0.5026 GB, free: 26.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2207, allocations: 1.811 MB / 0.5043 GB, free: 24.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.2207, allocations: 10.69 kB / 0.5044 GB, free: 24.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00158/0.2223, allocations: 1.686 MB / 0.506 GB, free: 23.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2223, allocations: 22.66 kB / 0.506 GB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.2223, allocations: 36.98 kB / 0.5061 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.2227, allocations: 167.9 kB / 0.5062 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.2233, allocations: 476.7 kB / 0.5067 GB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.2245, allocations: 3.833 MB / 0.5104 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.2249, allocations: 92.31 kB / 0.5105 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/0.225, allocations: 126.9 kB / 0.5106 GB, free: 18.59 MB / 410.7 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.0002946/0.2253, allocations: 379.7 kB / 0.511 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2254, allocations: 139 kB / 0.5111 GB, free: 18.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.2267, allocations: 1.371 MB / 0.5125 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2267, allocations: 4 kB / 0.5125 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2267, allocations: 0 / 0.5125 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2267, allocations: 5.5 kB / 0.5125 GB, free: 16.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.2278, allocations: 1.292 MB / 0.5137 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2278, allocations: 8.875 kB / 0.5137 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.228, allocations: 72.08 kB / 0.5138 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/0.2283, allocations: 176.2 kB / 0.514 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.2283, allocations: 16 kB / 0.514 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009366/0.2292, allocations: 3.702 MB / 0.5176 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2292, allocations: 4.031 kB / 0.5176 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.2299, allocations: 0.9583 MB / 0.5185 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.2299, allocations: 107.6 kB / 0.5187 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.23, allocations: 16.06 kB / 0.5187 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2302, allocations: 13.73 kB / 0.5187 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.2303, allocations: 41.72 kB / 0.5187 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2303, allocations: 16.98 kB / 0.5187 GB, free: 10.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005812/0.2309, allocations: 0.8447 MB / 0.5196 GB, free: 9.789 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2309, allocations: 0 / 0.5196 GB, free: 9.789 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001329/0.2322, allocations: 0.8795 MB / 0.5204 GB, free: 8.906 MB / 410.7 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.000958/0.2332, allocations: 1.094 MB / 0.5215 GB, free: 7.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008625/0.234, allocations: 0.8908 MB / 0.5224 GB, free: 7.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.234, allocations: 0 / 0.5224 GB, free: 7.008 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.2343, allocations: 411.6 kB / 0.5227 GB, free: 6.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.2349, allocations: 185 kB / 0.5229 GB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.2367, allocations: 2.258 MB / 0.5251 GB, free: 4.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.237, allocations: 0.6006 MB / 0.5257 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.2372, allocations: 288 kB / 0.526 GB, free: 3.25 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2372, allocations: 4 kB / 0.526 GB, free: 3.246 MB / 410.7 MB Notification: Performance of Templates: time 0.03005/0.2673, allocations: 49.21 MB / 0.5741 GB, free: 2.602 MB / 458.7 MB " [Timeout remaining time 660] 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: 6.490690696053207] Failed to read output from testmodel.py, exit status != 0: 0.2727078655734658 0.28012838399999995 0.08496911900000001 Calling exit ...