Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.652/1.652, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 170.7 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 0.5777 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007911/0.0007914, allocations: 89.98 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 7.531 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.002047/0.2323, allocations: 1.827 MB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.2333, allocations: 0.757 MB / 0.9028 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.2335, allocations: 4 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.2337, allocations: 35.66 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/0.2338, allocations: 27.73 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.234, allocations: 63.86 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.2342, allocations: 292.3 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.2344, allocations: 111 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.338e-05/0.2345, allocations: 71.59 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2346, allocations: 79.44 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.2346, allocations: 4 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.2347, allocations: 8 kB / 0.9035 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.2347, allocations: 39.77 kB / 0.9035 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.2347, allocations: 65.58 kB / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2349, allocations: 343.3 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.235, allocations: 0 / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.724e-06/0.235, allocations: 4 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.235, allocations: 3.938 kB / 0.9039 GB, free: 60.44 MB / 0.6042 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.0006626/0.2356, allocations: 0.5415 MB / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2357, allocations: 8.031 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.2357, allocations: 58.53 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.2358, allocations: 31.58 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.2362, allocations: 306 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2362, allocations: 16.44 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.2362, allocations: 20 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.2366, allocations: 247.3 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2366, allocations: 3.984 kB / 0.9051 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2366, allocations: 12 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2366, allocations: 4 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.2369, allocations: 153 kB / 0.9053 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009573/0.2379, allocations: 1.044 MB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.2382, allocations: 150.9 kB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.2384, allocations: 84.83 kB / 0.9065 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2384, allocations: 0 / 0.9065 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.2384, allocations: 34.5 kB / 0.9066 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.2385, allocations: 0 / 0.9066 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004206/0.2389, allocations: 196.2 kB / 0.9068 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.2389, allocations: 55.39 kB / 0.9068 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.2391, allocations: 270.6 kB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2391, allocations: 29.7 kB / 0.9071 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.2392, allocations: 164.1 kB / 0.9072 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.2393, allocations: 51.3 kB / 0.9073 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.2393, allocations: 0 / 0.9073 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.2393, allocations: 342.8 kB / 0.9076 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.2395, allocations: 51.97 kB / 0.9077 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2396, allocations: 90.61 kB / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2397, allocations: 64.02 kB / 0.9078 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2397, allocations: 0 / 0.9078 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003173/0.24, allocations: 189.3 kB / 0.908 GB, free: 56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.2401, allocations: 117.1 kB / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2401, allocations: 0 / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2401, allocations: 4 kB / 0.9081 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.2403, allocations: 35.88 kB / 0.9082 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2403, allocations: 4 kB / 0.9082 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.2404, allocations: 27.77 kB / 0.9082 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2404, allocations: 11.94 kB / 0.9082 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-06/0.2404, allocations: 0 / 0.9082 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000206/0.2406, allocations: 131.8 kB / 0.9083 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2407, allocations: 11.92 kB / 0.9083 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.2407, allocations: 3.984 kB / 0.9083 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2408, allocations: 31.98 kB / 0.9084 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.2408, allocations: 8.094 kB / 0.9084 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.2409, allocations: 11.84 kB / 0.9084 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2409, allocations: 4 kB / 0.9084 GB, free: 55.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (freProTMix.con.cheYMinMax.y,freProTMix.con.I.trigger_internal) * 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.0001116/0.241, allocations: 229 kB / 0.9086 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.241, allocations: 19.72 kB / 0.9086 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.2411, allocations: 25.83 kB / 0.9087 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2411, allocations: 0 / 0.9087 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2411, allocations: 0 / 0.9087 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2411, allocations: 8 kB / 0.9087 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.2414, allocations: 313.4 kB / 0.909 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2414, allocations: 8 kB / 0.909 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2415, allocations: 19.98 kB / 0.909 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2415, allocations: 7.938 kB / 0.909 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2415, allocations: 0 / 0.909 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2415, allocations: 0 / 0.909 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2416, allocations: 0 / 0.909 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.242, allocations: 315.2 kB / 0.9093 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.242, allocations: 104.8 kB / 0.9094 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.242, allocations: 4 kB / 0.9094 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2422, allocations: 4 kB / 0.9094 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.2422, allocations: 7.984 kB / 0.9094 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.2422, allocations: 12.06 kB / 0.9094 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001363/0.2424, allocations: 190 kB / 0.9096 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2424, allocations: 0 / 0.9096 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003023/0.2427, allocations: 71.69 kB / 0.9097 GB, free: 54.18 MB / 0.6042 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.0005498/0.2432, allocations: 0.8538 MB / 0.9105 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.2436, allocations: 197.8 kB / 0.9107 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2436, allocations: 4.438 kB / 0.9107 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2437, allocations: 59.91 kB / 0.9108 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.2442, allocations: 67.42 kB / 0.9108 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.246, allocations: 1.359 MB / 0.9121 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.2462, allocations: 0.7482 MB / 0.9129 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.2463, allocations: 29.94 kB / 0.9129 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2464, allocations: 83.41 kB / 0.913 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2464, allocations: 0 / 0.913 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.2614, allocations: 4.514 MB / 0.9174 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.2617, allocations: 230.1 kB / 0.9176 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.27, allocations: 0 / 0.9176 GB, free: 46.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)