Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001276/0.001276, allocations: 114.7 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001313/0.001313, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.849/2.849, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.91 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9103, allocations: 176.1 MB / 1.322 GB, free: 24.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00293/0.9133, allocations: 2.186 MB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000908/0.9142, allocations: 0.62 MB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.9143, allocations: 2.531 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.9144, allocations: 26.3 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.057e-05/0.9145, allocations: 47.61 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.9147, allocations: 96.77 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.915, allocations: 297.6 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.9152, allocations: 105.7 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.9153, allocations: 126.7 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.9155, allocations: 133.7 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.9155, allocations: 30.38 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-05/0.9155, allocations: 30.75 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.9156, allocations: 68.64 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.9157, allocations: 127.6 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.916, allocations: 325.2 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.916, allocations: 0 / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.916, allocations: 0 / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.916, allocations: 0 / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001217/0.9172, allocations: 0.6851 MB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.9173, allocations: 12.42 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.443e-05/0.9173, allocations: 10.28 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.471e-05/0.9174, allocations: 66.5 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.9174, allocations: 29.86 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.9177, allocations: 273.6 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.9177, allocations: 13.5 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.9178, allocations: 31.53 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/0.9184, allocations: 308.4 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9184, allocations: 3.281 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.9184, allocations: 7.031 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.9184, allocations: 5.625 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.9191, allocations: 221.6 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.9203, allocations: 0.7052 MB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/0.921, allocations: 214 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.9214, allocations: 106 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.9214, allocations: 6.094 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005639/0.922, allocations: 210.9 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.922, allocations: 4.969 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.001893/0.9239, allocations: 0.5403 MB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.9239, allocations: 139.3 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.9242, allocations: 225.7 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.9242, allocations: 36.5 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.9244, allocations: 163.2 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.9244, allocations: 77.56 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.9246, allocations: 73.34 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.9247, allocations: 340.6 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.9251, allocations: 124.9 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.9256, allocations: 201.1 kB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.9263, allocations: 331.5 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9263, allocations: 0 / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001002/0.9273, allocations: 474.4 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/0.9273, allocations: 92.34 kB / 1.331 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9274, allocations: 5.844 kB / 1.331 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.9274, allocations: 2.844 kB / 1.331 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.9277, allocations: 53.98 kB / 1.331 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.9277, allocations: 2.812 kB / 1.331 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.928, allocations: 59.28 kB / 1.331 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.9281, allocations: 15.48 kB / 1.331 GB, free: 18.55 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (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,antFre.errAndSetOn.y,antFre.ySetOn.y,$PRE.antFre.ySetOn.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 (40): * Single equations (assignments): 37 * 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.0001433/0.9282, allocations: 153.9 kB / 1.331 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.9282, allocations: 27.8 kB / 1.331 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008909/0.9291, allocations: 310.9 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9291, allocations: 2.438 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.9291, allocations: 1.984 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9292, allocations: 1.312 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.9306, allocations: 0.7461 MB / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9306, allocations: 5.25 kB / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.9308, allocations: 45.83 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.9308, allocations: 2.469 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.9308, allocations: 9.797 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.9308, allocations: 2.891 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9308, allocations: 2.281 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.9316, allocations: 417 kB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.9316, allocations: 98.19 kB / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.9317, allocations: 14.23 kB / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.9321, allocations: 53.62 kB / 1.333 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.9322, allocations: 60.75 kB / 1.333 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.9322, allocations: 10.45 kB / 1.333 GB, free: 17.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001364/0.9324, allocations: 149.3 kB / 1.333 GB, free: 17.33 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9324, allocations: 1.156 kB / 1.333 GB, free: 17.33 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003725/0.9327, allocations: 61.36 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.ySetOn.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,antFre.ySetOn.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 19 * 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.00146/0.9342, allocations: 1.096 MB / 1.334 GB, free: 16.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.9352, allocations: 447.9 kB / 1.335 GB, free: 16.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9352, allocations: 0.5312 kB / 1.335 GB, free: 16.24 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.9358, allocations: 156.4 kB / 1.335 GB, free: 16.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.9362, allocations: 36 kB / 1.335 GB, free: 16.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.9405, allocations: 2.914 MB / 1.338 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.9407, allocations: 0.7511 MB / 1.339 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.9409, allocations: 26.28 kB / 1.339 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.941, allocations: 89.28 kB / 1.339 GB, free: 13.45 MB / 1.061 GB Notification: Performance of SimCode: time 8.71e-07/0.941, allocations: 0 / 1.339 GB, free: 13.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.9704, allocations: 6.364 MB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/9.255, allocations: 11.31 kB / 1.345 GB, free: 12.72 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.348523271037266] Failed to read output from testmodel.py, exit status != 0: 9.39351780700963 9.405472611 8.486882381 Calling exit ...