Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.949/1.949, allocations: 289.7 MB / 302.3 MB, free: 2.145 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.001206/0.001206, allocations: 184.1 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009149/0.0009147, allocations: 87.88 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.683e-05/4.699e-05, allocations: 8 kB / 0.8664 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2788, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9618/1.241, allocations: 140.3 MB / 1.117 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.241, allocations: 70.95 kB / 1.117 GB, free: 43.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01002/1.251, allocations: 4.058 MB / 1.121 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/1.251, allocations: 0 / 1.121 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.761e-05/1.251, allocations: 4 kB / 1.121 GB, free: 41.59 MB / 0.7448 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.0006093/1.252, allocations: 498.8 kB / 1.121 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.252, allocations: 12.03 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/1.252, allocations: 54.42 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/1.252, allocations: 33.34 kB / 1.122 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/1.252, allocations: 275.9 kB / 1.122 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.252, allocations: 22.33 kB / 1.122 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/1.252, allocations: 22.88 kB / 1.122 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/1.253, allocations: 219.8 kB / 1.122 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.253, allocations: 6.328 kB / 1.122 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/1.253, allocations: 11.44 kB / 1.122 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/1.253, allocations: 4 kB / 1.122 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/1.253, allocations: 145.8 kB / 1.122 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.254, allocations: 0.8676 MB / 1.123 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008385/1.255, allocations: 299.2 kB / 1.123 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/1.255, allocations: 72.31 kB / 1.123 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/1.255, allocations: 9.453 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/1.255, allocations: 108 kB / 1.124 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/1.255, allocations: 0 / 1.124 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002881/1.256, allocations: 155.7 kB / 1.124 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/1.256, allocations: 81.11 kB / 1.124 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/1.256, allocations: 239.2 kB / 1.124 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/1.256, allocations: 29.12 kB / 1.124 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/1.256, allocations: 164.8 kB / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/1.256, allocations: 42.66 kB / 1.124 GB, free: 39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-06/1.256, allocations: 4 kB / 1.124 GB, free: 39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/1.256, allocations: 338.3 kB / 1.125 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/1.256, allocations: 47.16 kB / 1.125 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/1.256, allocations: 83.05 kB / 1.125 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.294e-05/1.256, allocations: 51.64 kB / 1.125 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.256, allocations: 0 / 1.125 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002156/1.257, allocations: 175 kB / 1.125 GB, free: 38.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/1.257, allocations: 178.7 kB / 1.125 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.257, allocations: 3.422 kB / 1.125 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.257, allocations: 4 kB / 1.125 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/1.257, allocations: 39.11 kB / 1.125 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.257, allocations: 4.578 kB / 1.125 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/1.257, allocations: 34.06 kB / 1.125 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/1.257, allocations: 3.625 kB / 1.125 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/1.257, allocations: 4 kB / 1.125 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001761/1.257, allocations: 123.8 kB / 1.125 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/1.257, allocations: 0 / 1.125 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/1.257, allocations: 4.578 kB / 1.125 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/1.258, allocations: 31.55 kB / 1.125 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/1.258, allocations: 0 / 1.125 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.926e-05/1.258, allocations: 28.08 kB / 1.125 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/1.258, allocations: 6.203 kB / 1.125 GB, free: 38.06 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.696e-05/1.258, allocations: 108.8 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/1.258, allocations: 24.53 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.692e-05/1.258, allocations: 28.78 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.258, allocations: 3.953 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.258, allocations: 4 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.258, allocations: 0 / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/1.258, allocations: 0.5508 MB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.258, allocations: 0 / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/1.259, allocations: 28.66 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/1.259, allocations: 7.953 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/1.259, allocations: 3.75 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.259, allocations: 0 / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.259, allocations: 8.312 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/1.259, allocations: 324.2 kB / 1.126 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/1.259, allocations: 99.42 kB / 1.126 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/1.259, allocations: 12.08 kB / 1.126 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/1.259, allocations: 12.27 kB / 1.126 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/1.259, allocations: 13.11 kB / 1.126 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.259, allocations: 8.062 kB / 1.126 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001767/1.259, allocations: 196.7 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.259, allocations: 4 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003329/1.26, allocations: 74.31 kB / 1.127 GB, free: 36.84 MB / 0.7448 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0005659/1.26, allocations: 0.862 MB / 1.128 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003035/1.261, allocations: 196.5 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.261, allocations: 0 / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/1.261, allocations: 59.25 kB / 1.128 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/1.261, allocations: 53.89 kB / 1.128 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/1.262, allocations: 345 kB / 1.128 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/1.262, allocations: 0.7549 MB / 1.129 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001733/1.262, allocations: 39.34 kB / 1.129 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/1.262, allocations: 78.44 kB / 1.129 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/1.262, allocations: 0 / 1.129 GB, free: 34.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/1.279, allocations: 4.792 MB / 1.134 GB, free: 32.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/1.28, allocations: 188 kB / 1.134 GB, free: 31.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/3.252, allocations: 3.125 kB / 1.134 GB, free: 31.86 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)