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.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.001364/0.001364, allocations: 105.7 kB / 17.54 MB, free: 4.648 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.001364/0.001364, allocations: 193.9 kB / 20.71 MB, free: 1.488 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.278/1.278, allocations: 225.6 MB / 249.3 MB, free: 3.023 MB / 190.1 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.002184/0.002184, allocations: 289.6 kB / 304.7 MB, free: 3.57 MB / 238.1 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.9629/0.9629, allocations: 180.9 MB / 0.5281 GB, free: 1.891 MB / 382.1 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.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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 95.84 kB / 0.7278 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4243, allocations: 94.16 MB / 0.8197 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003335/0.4277, allocations: 2.108 MB / 0.8218 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.4286, allocations: 0.5703 MB / 0.8223 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.4287, allocations: 2.969 kB / 0.8223 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.4288, allocations: 27.67 kB / 0.8224 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.637e-05/0.4289, allocations: 36.06 kB / 0.8224 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.4291, allocations: 95.41 kB / 0.8225 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.4294, allocations: 268.2 kB / 0.8227 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.4296, allocations: 91.08 kB / 0.8228 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.4298, allocations: 108.1 kB / 0.8229 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.4299, allocations: 119.8 kB / 0.823 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.43, allocations: 26.44 kB / 0.8231 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.87e-05/0.43, allocations: 25.81 kB / 0.8231 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.4301, allocations: 56.72 kB / 0.8231 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.4302, allocations: 114 kB / 0.8233 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.4305, allocations: 279.6 kB / 0.8235 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4305, allocations: 4 kB / 0.8235 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4305, allocations: 0 / 0.8235 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4305, allocations: 0 / 0.8235 GB, free: 1.547 MB / 0.5606 GB 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.001114/0.4316, allocations: 0.64 MB / 0.8242 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.4317, allocations: 9.281 kB / 0.8242 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.155e-05/0.4317, allocations: 58.14 kB / 0.8242 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.4318, allocations: 39.05 kB / 0.8243 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.4321, allocations: 254.3 kB / 0.8245 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4321, allocations: 18.72 kB / 0.8245 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.4322, allocations: 20.62 kB / 0.8245 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.4328, allocations: 280.2 kB / 0.8248 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4328, allocations: 5.172 kB / 0.8248 GB, free: 400 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.4328, allocations: 9.188 kB / 0.8248 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.4328, allocations: 4.719 kB / 0.8248 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.4335, allocations: 193.8 kB / 0.825 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4345, allocations: 0.6265 MB / 0.8256 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.4353, allocations: 224 kB / 0.8258 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.4356, allocations: 83.09 kB / 0.8259 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.4356, allocations: 5.406 kB / 0.8259 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.4361, allocations: 191.3 kB / 0.8261 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.4361, allocations: 0 / 0.8261 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001009/0.4371, allocations: 332.2 kB / 0.8264 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.4372, allocations: 114.9 kB / 0.8265 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4374, allocations: 199 kB / 0.8267 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.4374, allocations: 33.83 kB / 0.8267 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4375, allocations: 166.1 kB / 0.8269 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.4375, allocations: 46.52 kB / 0.8269 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.4376, allocations: 62.44 kB / 0.827 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4378, allocations: 332.3 kB / 0.8273 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.4381, allocations: 106 kB / 0.8274 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.4385, allocations: 173.1 kB / 0.8276 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.4392, allocations: 312.5 kB / 0.8279 GB, free: 14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4392, allocations: 0 / 0.8279 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00087/0.44, allocations: 421.5 kB / 0.8283 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.4401, allocations: 95.97 kB / 0.8284 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4401, allocations: 2.625 kB / 0.8284 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4401, allocations: 6.969 kB / 0.8284 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.4403, allocations: 49.52 kB / 0.8284 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4403, allocations: 2.719 kB / 0.8284 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.4406, allocations: 55.55 kB / 0.8285 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4407, allocations: 12.84 kB / 0.8285 GB, free: 13.58 MB / 0.5762 GB 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,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,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * 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.0001339/0.4408, allocations: 144.3 kB / 0.8286 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.4408, allocations: 29.58 kB / 0.8287 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/0.4416, allocations: 256.3 kB / 0.8289 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4416, allocations: 1.125 kB / 0.8289 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4416, allocations: 1.344 kB / 0.8289 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4416, allocations: 3.984 kB / 0.8289 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009554/0.4425, allocations: 0.587 MB / 0.8295 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4425, allocations: 0 / 0.8295 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.4427, allocations: 32.38 kB / 0.8295 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4427, allocations: 0 / 0.8295 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.4427, allocations: 9.578 kB / 0.8295 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4427, allocations: 0.8125 kB / 0.8295 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4427, allocations: 1.062 kB / 0.8295 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.4434, allocations: 354.3 kB / 0.8299 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.4435, allocations: 90.86 kB / 0.83 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.4435, allocations: 10.39 kB / 0.83 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.4438, allocations: 38.42 kB / 0.83 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4439, allocations: 46.31 kB / 0.8301 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.4439, allocations: 9.516 kB / 0.8301 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001093/0.444, allocations: 139.9 kB / 0.8302 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.444, allocations: 4 kB / 0.8302 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002832/0.4443, allocations: 63.33 kB / 0.8303 GB, free: 12.26 MB / 0.5762 GB 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.001383/0.4457, allocations: 0.9974 MB / 0.8312 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008346/0.4465, allocations: 412.4 kB / 0.8316 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4465, allocations: 0 / 0.8316 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.4469, allocations: 101.3 kB / 0.8317 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.4472, allocations: 50.45 kB / 0.8318 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.451, allocations: 2.594 MB / 0.8343 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.4513, allocations: 0.7382 MB / 0.835 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.835e-05/0.4514, allocations: 16.2 kB / 0.835 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.4515, allocations: 74.38 kB / 0.8351 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.4515, allocations: 1.344 kB / 0.8351 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.4786, allocations: 5.248 MB / 0.8402 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.599, allocations: 5.578 kB / 0.8402 GB, free: 5.648 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.00651368599938]