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.934/1.934, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001211/0.001211, allocations: 195.7 kB / 377.1 MB, free: 1.516 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.75/1.75, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0008864/0.0008861, allocations: 94.25 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004354, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2635, allocations: 116.3 MB / 0.9884 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7107/0.9743, allocations: 140.4 MB / 1.126 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.9746, allocations: 70.55 kB / 1.126 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009684/0.9843, allocations: 4.061 MB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9844, allocations: 0 / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.9844, allocations: 4 kB / 1.13 GB, free: 31.66 MB / 0.7292 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.0007817/0.9852, allocations: 0.534 MB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.9853, allocations: 8.031 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.949e-05/0.9854, allocations: 57.5 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.9854, allocations: 33.69 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.9858, allocations: 280.9 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.9858, allocations: 21.78 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.9859, allocations: 23.34 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.9864, allocations: 244.2 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.9864, allocations: 0 / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.9864, allocations: 12.61 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.9864, allocations: 8 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.9868, allocations: 181.3 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.9879, allocations: 0.8676 MB / 1.132 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/0.9888, allocations: 343.5 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.9888, allocations: 0 / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.9891, allocations: 141.5 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.9892, allocations: 0 / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0005781/0.9897, allocations: 253.5 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.9898, allocations: 78.52 kB / 1.133 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.9901, allocations: 245.4 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.9901, allocations: 25.7 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.9902, allocations: 171 kB / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.9902, allocations: 46.88 kB / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.9902, allocations: 0 / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.9903, allocations: 337.8 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.9905, allocations: 71.95 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.9906, allocations: 94.83 kB / 1.133 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.9908, allocations: 75.39 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9908, allocations: 0 / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000354/0.9912, allocations: 220.5 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.9912, allocations: 182.9 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9912, allocations: 0 / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.9913, allocations: 4 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.9914, allocations: 39.7 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.9914, allocations: 0.5625 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.9916, allocations: 27.27 kB / 1.134 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.9916, allocations: 8 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.9916, allocations: 6.188 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002149/0.9918, allocations: 130.3 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/0.9918, allocations: 0.7188 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.9919, allocations: 4.516 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.992, allocations: 39.25 kB / 1.134 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.992, allocations: 0.7812 kB / 1.134 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/0.9921, allocations: 23.77 kB / 1.134 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.9921, allocations: 0 / 1.134 GB, free: 27.11 MB / 0.7292 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 () * Number of clocked 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 0.0001328/0.9922, allocations: 221.1 kB / 1.134 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.9923, allocations: 20.75 kB / 1.134 GB, free: 26.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.312e-05/0.9923, allocations: 29.27 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.9924, allocations: 3.953 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9924, allocations: 0.75 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.9924, allocations: 7.234 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/0.993, allocations: 0.5906 MB / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.993, allocations: 0 / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.9932, allocations: 34.89 kB / 1.135 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9932, allocations: 3.953 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.9932, allocations: 1.5 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.9932, allocations: 4 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9932, allocations: 0.9375 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.9937, allocations: 387.6 kB / 1.135 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.9938, allocations: 108.8 kB / 1.136 GB, free: 25.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.9938, allocations: 3.953 kB / 1.136 GB, free: 25.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.994, allocations: 19.47 kB / 1.136 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.9941, allocations: 7.703 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.9941, allocations: 4.516 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001834/0.9943, allocations: 196.5 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9943, allocations: 4.062 kB / 1.136 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003514/0.9946, allocations: 76.34 kB / 1.136 GB, free: 25.46 MB / 0.7292 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 () * Number of clocked 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.0009176/0.9956, allocations: 0.9188 MB / 1.137 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.9961, allocations: 227 kB / 1.137 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9961, allocations: 3.938 kB / 1.137 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.9963, allocations: 79.58 kB / 1.137 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.9968, allocations: 56.27 kB / 1.137 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.9994, allocations: 1.588 MB / 1.139 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.9997, allocations: 0.7585 MB / 1.139 GB, free: 21.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000138/0.9999, allocations: 26.92 kB / 1.139 GB, free: 21.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/1, allocations: 75.36 kB / 1.14 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/1, allocations: 0 / 1.14 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/1.019, allocations: 4.533 MB / 1.144 GB, free: 19.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.019, allocations: 216.3 kB / 1.144 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/3.085, allocations: 1.125 kB / 1.144 GB, free: 19.13 MB / 0.7292 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)