Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.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.0006547/0.0006547, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008252/0.00148, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006927/0.0006927, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008893/0.001582, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9114/0.9114, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08559/0.997, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1183/0.1183, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01068/0.129, allocations: 6.952 MB / 268.4 MB, free: 6.41 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 269.6 MB, free: 5.148 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.657e-05, allocations: 2.312 kB / 269.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003269/0.003285, allocations: 3.525 MB / 273.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1211/0.1244, allocations: 4.768 MB / 277.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.1247, allocations: 10 kB / 277.9 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1251, allocations: 107.3 kB / 278.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.1261, allocations: 466.9 kB / 278.5 MB, free: 1.277 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.1273, allocations: 0.5388 MB / 279 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000756/0.1281, allocations: 0.6084 MB / 279.7 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004662/0.1286, allocations: 317.2 kB / 280 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.1292, allocations: 447.4 kB / 280.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.1297, allocations: 253.8 kB / 280.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.1299, allocations: 52.84 kB / 280.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.131, allocations: 475.2 kB / 281.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1311, allocations: 88.75 kB / 281.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1313, allocations: 158.5 kB / 281.4 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.1326, allocations: 0.8477 MB / 282.3 MB, free: 404 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.935e-05/0.1326, allocations: 0 / 282.3 MB, free: 404 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1326, allocations: 1.438 kB / 282.3 MB, free: 404 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.728e-05/0.1326, allocations: 0 / 282.3 MB, free: 404 kB / 266.7 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.001476/0.1341, allocations: 0.9306 MB / 283.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1341, allocations: 11.09 kB / 283.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.1346, allocations: 220.5 kB / 283.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.135, allocations: 263.7 kB / 283.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.135, allocations: 32.88 kB / 283.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.1351, allocations: 48.14 kB / 283.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.1355, allocations: 325.2 kB / 284.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1356, allocations: 1.312 kB / 284.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.1356, allocations: 15.66 kB / 284.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.1356, allocations: 19.03 kB / 284.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.136, allocations: 257.6 kB / 284.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1376, allocations: 0.9495 MB / 285.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.1381, allocations: 302.8 kB / 285.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.1382, allocations: 59.2 kB / 285.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.1395, allocations: 0.7535 MB / 286.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1396, allocations: 33.31 kB / 286.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.365e-06/0.1396, allocations: 0 / 286.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.00737/0.1469, allocations: 1.914 MB / 288.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.147, allocations: 58.83 kB / 288.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1472, allocations: 264.7 kB / 288.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1472, allocations: 36.58 kB / 288.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1474, allocations: 263.6 kB / 289 MB, free: 13.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.1474, allocations: 112.5 kB / 289.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1476, allocations: 86.77 kB / 289.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1477, allocations: 343.9 kB / 289.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.496e-05/0.1478, allocations: 73.09 kB / 289.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1479, allocations: 191.9 kB / 289.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.1482, allocations: 297.7 kB / 290 MB, free: 12.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1482, allocations: 2 kB / 290 MB, free: 12.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002117/0.1503, allocations: 0.5928 MB / 290.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.1504, allocations: 7.203 kB / 290.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.1504, allocations: 6.656 kB / 290.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/0.1537, allocations: 0.6137 MB / 291.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.154, allocations: 99.17 kB / 291.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/0.1581, allocations: 2.934 MB / 294.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.1584, allocations: 12 kB / 294.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.1585, allocations: 23.98 kB / 294.3 MB, free: 9.434 MB / 282.7 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.0002249/0.1587, allocations: 140.5 kB / 294.5 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.1588, allocations: 27.97 kB / 294.5 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.1615, allocations: 0.6251 MB / 295.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.1615, allocations: 4 kB / 295.1 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1615, allocations: 4.812 kB / 295.1 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1615, allocations: 3.984 kB / 295.1 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000698/0.1622, allocations: 407.8 kB / 295.5 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.1622, allocations: 4 kB / 295.5 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.1624, allocations: 63.91 kB / 295.6 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.1625, allocations: 31.77 kB / 295.6 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004191/0.1667, allocations: 0.7491 MB / 296.4 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.1667, allocations: 22.36 kB / 296.4 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/0.1715, allocations: 4.046 MB / 300.4 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1715, allocations: 4 kB / 300.5 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.1744, allocations: 0.8188 MB / 301.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.1745, allocations: 12 kB / 301.3 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1747, allocations: 12.03 kB / 301.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.1749, allocations: 47.8 kB / 301.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.1749, allocations: 19.98 kB / 301.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1751, allocations: 88.62 kB / 301.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1751, allocations: 0 / 301.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001085/0.1762, allocations: 239.5 kB / 301.7 MB, free: 1.695 MB / 282.7 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.0006054/0.1768, allocations: 300.8 kB / 302 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1778, allocations: 0.5512 MB / 302.5 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.386e-05/0.1778, allocations: 4 kB / 302.5 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.1785, allocations: 0.5677 MB / 303.1 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.1791, allocations: 163.1 kB / 303.3 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007937/0.187, allocations: 0.9368 MB / 304.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.1871, allocations: 117.8 kB / 304.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000305/0.1875, allocations: 77.58 kB / 304.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.1877, allocations: 157.2 kB / 304.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1877, allocations: 3.938 kB / 304.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Templates: time 0.01583/0.2036, allocations: 13.37 MB / 317.9 MB, free: 1.445 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.896859984844923]