Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.643/2.643, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 178.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.251/2.251, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009408/0.0009402, allocations: 101.4 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006318/0.000632, allocations: 11.59 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.001673/0.2221, allocations: 1.002 MB / 0.9795 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2236, allocations: 1.109 MB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.2238, allocations: 3.938 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.224, allocations: 27.73 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.2241, allocations: 31.77 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.2244, allocations: 55.89 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.2247, allocations: 268.4 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.2249, allocations: 111.2 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2251, allocations: 79.56 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2252, allocations: 79.44 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.2253, allocations: 12 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.155e-05/0.2253, allocations: 4 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.2254, allocations: 31.8 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.2254, allocations: 65.58 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.2258, allocations: 343.3 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2258, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2258, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2258, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 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.0009165/0.2267, allocations: 0.5338 MB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2268, allocations: 12.03 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.847e-05/0.2269, allocations: 54.55 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.227, allocations: 31.72 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.2275, allocations: 319.8 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2275, allocations: 12.44 kB / 0.9825 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.2276, allocations: 23.94 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.2281, allocations: 229.9 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2281, allocations: 0 / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.2282, allocations: 4 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2282, allocations: 8 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.2287, allocations: 157.6 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.2301, allocations: 0.8489 MB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.2312, allocations: 198.7 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.2314, allocations: 80.83 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.2315, allocations: 4 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2315, allocations: 34.56 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.2315, allocations: 0 / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0006661/0.2322, allocations: 193.3 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.2322, allocations: 55.39 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.2326, allocations: 254.6 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2326, allocations: 29.7 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.2327, allocations: 172 kB / 0.9847 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.2328, allocations: 51.28 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.2328, allocations: 0 / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.2329, allocations: 334.8 kB / 0.9851 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2331, allocations: 47.98 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.2333, allocations: 99.31 kB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.2336, allocations: 59.92 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2336, allocations: 8.031 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005296/0.2341, allocations: 187.1 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/0.2342, allocations: 122.8 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2342, allocations: 0 / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2342, allocations: 4 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.2345, allocations: 39.91 kB / 0.9856 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2345, allocations: 4 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2347, allocations: 15.8 kB / 0.9857 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.2348, allocations: 16 kB / 0.9857 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.2348, allocations: 4 kB / 0.9857 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003531/0.2351, allocations: 139.8 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2351, allocations: 4 kB / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.2352, allocations: 0 / 0.9858 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.2354, allocations: 35.92 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2354, allocations: 128 / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.2355, allocations: 23.84 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2356, allocations: 11.92 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (freProTMix.con.con1.y,freProTMix.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.2358, allocations: 221 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.2358, allocations: 27.67 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.964e-05/0.2359, allocations: 21.83 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2359, allocations: 0 / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2359, allocations: 4 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2359, allocations: 0 / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.2363, allocations: 305.5 kB / 0.9864 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2363, allocations: 0 / 0.9864 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.2366, allocations: 27.94 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2366, allocations: 4 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2366, allocations: 0 / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2366, allocations: 0 / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2366, allocations: 3.938 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/0.2373, allocations: 316.5 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.2374, allocations: 100.8 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.2374, allocations: 7.953 kB / 0.9869 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.2376, allocations: 4 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.2377, allocations: 7.984 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2377, allocations: 4 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002138/0.2379, allocations: 186 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2379, allocations: 4 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004754/0.2384, allocations: 71.67 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (freProTMix.con.I.y) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008578/0.2393, allocations: 0.8478 MB / 0.988 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.2399, allocations: 198.3 kB / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.24, allocations: 4.125 kB / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.2402, allocations: 63.91 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.2408, allocations: 49.73 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.2435, allocations: 1.304 MB / 0.9896 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2438, allocations: 0.7482 MB / 0.9903 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.244, allocations: 25.94 kB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.2441, allocations: 79.39 kB / 0.9904 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.2442, allocations: 0 / 0.9904 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.2744, allocations: 4.189 MB / 0.9945 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/0.2747, allocations: 225.8 kB / 0.9947 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/3.017, allocations: 0 / 0.9947 GB, free: 11.34 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)