Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.001058/0.001058, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002566, 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.001118/0.001118, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002517, 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.9651/0.9651, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08542/1.051, 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/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001253/0.001253, allocations: 240.1 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.002267, allocations: 467.5 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6651/0.6651, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07083/0.7359, allocations: 42.4 MB / 426.5 MB, free: 5.949 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 427.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.294e-05, allocations: 2.312 kB / 427.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002218/0.002231, allocations: 2.173 MB / 430 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003394, allocations: 0.6036 MB / 430.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.003481, allocations: 4 kB / 430.6 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.003548, allocations: 23.67 kB / 430.6 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.003613, allocations: 43.58 kB / 430.7 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.003774, allocations: 87.83 kB / 430.8 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.004002, allocations: 263.3 kB / 431 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.004157, allocations: 90.2 kB / 431.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.004326, allocations: 179.7 kB / 431.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.004426, allocations: 91.67 kB / 431.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.00446, allocations: 24 kB / 431.4 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.004492, allocations: 28 kB / 431.4 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.004531, allocations: 35.88 kB / 431.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.004588, allocations: 55.88 kB / 431.5 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.004768, allocations: 163.4 kB / 431.7 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.658e-05/0.004785, allocations: 0 / 431.7 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004786, allocations: 0 / 431.7 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.004802, allocations: 0 / 431.7 MB, free: 0.7305 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007361/0.005538, allocations: 0.5872 MB / 432.3 MB, free: 104 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.005573, allocations: 15.98 kB / 432.3 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.005632, allocations: 36.91 kB / 432.3 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1842/0.1898, allocations: 159 kB / 432.5 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.1899, allocations: 17.67 kB / 432.5 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.1899, allocations: 22.75 kB / 432.5 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.1903, allocations: 265.9 kB / 432.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1903, allocations: 192 / 432.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.1904, allocations: 12.61 kB / 432.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1904, allocations: 3.938 kB / 432.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1905, allocations: 43.34 kB / 432.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.1912, allocations: 378.4 kB / 433.2 MB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1915, allocations: 87.41 kB / 433.3 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.1915, allocations: 24.31 kB / 433.3 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1915, allocations: 7.125 kB / 433.3 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.1918, allocations: 129.9 kB / 433.4 MB, free: 2.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.355e-06/0.1918, allocations: 0 / 433.4 MB, free: 2.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002319/0.192, allocations: 111.8 kB / 433.5 MB, free: 2.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.192, allocations: 65.7 kB / 433.6 MB, free: 2.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1922, allocations: 197.7 kB / 433.8 MB, free: 2.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1922, allocations: 39.14 kB / 433.8 MB, free: 1.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.1923, allocations: 144.9 kB / 434 MB, free: 1.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1923, allocations: 50.78 kB / 434 MB, free: 1.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.1924, allocations: 66.39 kB / 434.1 MB, free: 1.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.1924, allocations: 330.4 kB / 434.4 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.1925, allocations: 113.8 kB / 434.5 MB, free: 1.422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1926, allocations: 223.5 kB / 434.7 MB, free: 1.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1928, allocations: 205.1 kB / 434.9 MB, free: 1.059 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1928, allocations: 0 / 434.9 MB, free: 1.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003033/0.1931, allocations: 322.3 kB / 435.3 MB, free: 16.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/0.1932, allocations: 94.34 kB / 435.3 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1932, allocations: 0 / 435.3 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1932, allocations: 2.844 kB / 435.4 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1934, allocations: 56.28 kB / 435.4 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1934, allocations: 8.75 kB / 435.4 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1936, allocations: 48.28 kB / 435.5 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1936, allocations: 12.8 kB / 435.5 MB, free: 16.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.1937, allocations: 139.8 kB / 435.6 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.1938, allocations: 20.81 kB / 435.6 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.194, allocations: 109.6 kB / 435.7 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.194, allocations: 4.016 kB / 435.7 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.194, allocations: 2.531 kB / 435.7 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.194, allocations: 1.172 kB / 435.7 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.1943, allocations: 288.8 kB / 436 MB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1943, allocations: 3.938 kB / 436 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1944, allocations: 30.56 kB / 436.1 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.1944, allocations: 21.78 kB / 436.1 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1944, allocations: 6.703 kB / 436.1 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1945, allocations: 4.75 kB / 436.1 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1945, allocations: 0.625 kB / 436.1 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1945, allocations: 4.156 kB / 436.1 MB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1947, allocations: 195.6 kB / 436.3 MB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.1947, allocations: 7.297 kB / 436.3 MB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1949, allocations: 31.48 kB / 436.3 MB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.195, allocations: 43.92 kB / 436.4 MB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.195, allocations: 6.609 kB / 436.4 MB, free: 16.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.708e-05/0.1951, allocations: 54.23 kB / 436.4 MB, free: 16.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1951, allocations: 0.625 kB / 436.4 MB, free: 16.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.1954, allocations: 56.06 kB / 436.5 MB, free: 16.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000143/0.1955, allocations: 100.2 kB / 436.6 MB, free: 16.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1958, allocations: 359.9 kB / 436.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.1958, allocations: 5.719 kB / 436.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.1959, allocations: 52.69 kB / 437 MB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.1962, allocations: 52.88 kB / 437 MB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1973, allocations: 358.4 kB / 437.4 MB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.1974, allocations: 77.11 kB / 437.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001/0.1975, allocations: 21.81 kB / 437.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.1977, allocations: 95.52 kB / 437.6 MB, free: 15.53 MB / 426.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1977, allocations: 1.312 kB / 437.6 MB, free: 15.53 MB / 426.7 MB Notification: Performance of Templates: time 0.007565/0.2052, allocations: 3.58 MB / 441.2 MB, free: 15.32 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4355572033673525]