Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 103.9 kB / 16.45 MB, free: 6.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 199.8 kB / 19.41 MB, free: 3.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1094/0.1094, allocations: 15.55 MB / 318.2 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.89 kB / 445.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1622, allocations: 56.55 MB / 0.4902 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.00574/0.1679, allocations: 3.445 MB / 0.4936 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007123/0.1751, allocations: 4.763 MB / 0.4982 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004566/0.1755, allocations: 11.94 kB / 0.4982 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.176, allocations: 111.1 kB / 0.4983 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.1772, allocations: 452.8 kB / 0.4988 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.1786, allocations: 0.5244 MB / 0.4993 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.1794, allocations: 0.5805 MB / 0.4998 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.1798, allocations: 296.5 kB / 0.5001 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.1802, allocations: 295.1 kB / 0.5004 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004504/0.1806, allocations: 306.8 kB / 0.5007 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.1807, allocations: 52 kB / 0.5007 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.1819, allocations: 483.3 kB / 0.5012 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.182, allocations: 119.6 kB / 0.5013 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.1823, allocations: 278.7 kB / 0.5016 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.1839, allocations: 1.039 MB / 0.5026 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1839, allocations: 0 / 0.5026 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1839, allocations: 0 / 0.5026 GB, free: 7.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1839, allocations: 3.984 kB / 0.5026 GB, free: 7.641 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001623/0.1855, allocations: 0.876 MB / 0.5035 GB, free: 6.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1855, allocations: 8.031 kB / 0.5035 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004665/0.186, allocations: 100.3 kB / 0.5036 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.1866, allocations: 370.5 kB / 0.5039 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.1867, allocations: 41.38 kB / 0.5039 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.1868, allocations: 44.33 kB / 0.504 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.1876, allocations: 466.6 kB / 0.5044 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1876, allocations: 0 / 0.5044 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.1877, allocations: 16 kB / 0.5044 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1877, allocations: 12 kB / 0.5045 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008925/0.1886, allocations: 0.5114 MB / 0.505 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.1913, allocations: 1.534 MB / 0.5065 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.1921, allocations: 342.7 kB / 0.5068 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1923, allocations: 108.8 kB / 0.5069 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002453/0.1948, allocations: 1.573 MB / 0.5084 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1948, allocations: 34.56 kB / 0.5085 GB, free: 1.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.1948, allocations: 0 / 0.5085 GB, free: 1.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.3139/0.5087, allocations: 2.332 MB / 0.5107 GB, free: 24.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5087, allocations: 59.02 kB / 0.5108 GB, free: 24.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.5091, allocations: 292.9 kB / 0.5111 GB, free: 24.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.5092, allocations: 32.77 kB / 0.5111 GB, free: 24.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5093, allocations: 281.9 kB / 0.5114 GB, free: 24.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.402e-05/0.5094, allocations: 117.1 kB / 0.5115 GB, free: 24.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.5095, allocations: 80.12 kB / 0.5116 GB, free: 24.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.5096, allocations: 345.8 kB / 0.5119 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.5098, allocations: 130 kB / 0.512 GB, free: 23.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.5101, allocations: 268.7 kB / 0.5123 GB, free: 23.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.5107, allocations: 428.2 kB / 0.5127 GB, free: 23.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5107, allocations: 3.938 kB / 0.5127 GB, free: 23.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003793/0.5145, allocations: 0.8135 MB / 0.5135 GB, free: 23.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.5145, allocations: 11.31 kB / 0.5135 GB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5145, allocations: 3.219 kB / 0.5135 GB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/0.5179, allocations: 407.6 kB / 0.5139 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.5182, allocations: 82.77 kB / 0.514 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/0.5242, allocations: 3.977 MB / 0.5178 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.5246, allocations: 16 kB / 0.5179 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.5246, allocations: 22.3 kB / 0.5179 GB, free: 20.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.5249, allocations: 176.3 kB / 0.518 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.525, allocations: 34.23 kB / 0.5181 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004601/0.5296, allocations: 0.8255 MB / 0.5189 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5296, allocations: 5.766 kB / 0.5189 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5296, allocations: 4.234 kB / 0.5189 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5296, allocations: 1.219 kB / 0.5189 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.5304, allocations: 0.6274 MB / 0.5195 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5304, allocations: 3.656 kB / 0.5195 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.5306, allocations: 48.56 kB / 0.5196 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004334/0.535, allocations: 483.1 kB / 0.52 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.535, allocations: 16.56 kB / 0.52 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006359/0.5414, allocations: 5.313 MB / 0.5252 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5414, allocations: 2.75 kB / 0.5252 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004863/0.5462, allocations: 1.116 MB / 0.5263 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.5464, allocations: 118.3 kB / 0.5264 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.5464, allocations: 15.06 kB / 0.5264 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.5467, allocations: 13.03 kB / 0.5265 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.5469, allocations: 43.59 kB / 0.5265 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.5469, allocations: 21 kB / 0.5265 GB, free: 14.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.5471, allocations: 202.2 kB / 0.5267 GB, free: 13.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5471, allocations: 0 / 0.5267 GB, free: 13.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001019/0.5482, allocations: 239.7 kB / 0.5269 GB, free: 13.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * 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 (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000506/0.5487, allocations: 289.3 kB / 0.5272 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.55, allocations: 0.6707 MB / 0.5279 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.55, allocations: 4 kB / 0.5279 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000844/0.5508, allocations: 0.6095 MB / 0.5285 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.5515, allocations: 107 kB / 0.5286 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.5532, allocations: 1.019 MB / 0.5296 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5535, allocations: 0.8298 MB / 0.5304 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.5538, allocations: 74.72 kB / 0.5304 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5539, allocations: 58.38 kB / 0.5305 GB, free: 11.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5539, allocations: 0 / 0.5305 GB, free: 11.54 MB / 382.1 MB Notification: Performance of Templates: time 0.02536/0.5792, allocations: 11.45 MB / 0.5417 GB, free: 7.41 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.801083960570395]