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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003078/0.003078, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.3 MB / 0.5488 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.00218, allocations: 71.31 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3651, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.003766/0.3689, allocations: 1.38 MB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.371, allocations: 1.152 MB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/0.3714, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.3717, allocations: 47.53 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.3719, allocations: 35.59 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.3723, allocations: 119.8 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.3728, allocations: 308.3 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.3732, allocations: 160.4 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.3734, allocations: 119.5 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.3737, allocations: 115.4 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/0.3738, allocations: 36 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/0.3738, allocations: 36 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.3739, allocations: 67.72 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3741, allocations: 135.3 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005181/0.3746, allocations: 434.8 kB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.3746, allocations: 0 / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.786e-06/0.3746, allocations: 7.938 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.3746, allocations: 0 / 0.7874 GB, free: 9.312 MB / 0.6075 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.001074/0.3757, allocations: 0.5573 MB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3758, allocations: 8.031 kB / 0.788 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.3759, allocations: 40.56 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.3764, allocations: 321 kB / 0.7883 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3765, allocations: 16.81 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.3765, allocations: 24.36 kB / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.377, allocations: 226.4 kB / 0.7886 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.377, allocations: 3.938 kB / 0.7886 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.377, allocations: 8 kB / 0.7886 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.377, allocations: 8 kB / 0.7886 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.3774, allocations: 149.6 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.3789, allocations: 0.8488 MB / 0.7896 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.3797, allocations: 198.7 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.3799, allocations: 80.83 kB / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3799, allocations: 0 / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.38, allocations: 34.56 kB / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.38, allocations: 4 kB / 0.7899 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005793/0.3806, allocations: 193.2 kB / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.3806, allocations: 55.41 kB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.3809, allocations: 254.6 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.381, allocations: 29.7 kB / 0.7904 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3811, allocations: 164.1 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3812, allocations: 51.3 kB / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.3813, allocations: 41.7 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3814, allocations: 326.8 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3816, allocations: 64.77 kB / 0.791 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3817, allocations: 85.12 kB / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.382, allocations: 144.2 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3821, allocations: 0 / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004071/0.3825, allocations: 204.3 kB / 0.7914 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3825, allocations: 7.938 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3825, allocations: 0 / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3825, allocations: 4 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.3827, allocations: 35.91 kB / 0.7914 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3827, allocations: 4 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3828, allocations: 15.84 kB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3829, allocations: 4 kB / 0.7915 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002017/0.3831, allocations: 168.2 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001315/0.3832, allocations: 85.09 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000211/0.3834, allocations: 132.2 kB / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.3834, allocations: 0 / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0003037/0.3837, allocations: 181.2 kB / 0.792 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3838, allocations: 10.66 kB / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.3838, allocations: 0 / 0.792 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.428e-06/0.3838, allocations: 3.938 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3839, allocations: 31.92 kB / 0.7921 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3839, allocations: 8.125 kB / 0.7921 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.384, allocations: 15.84 kB / 0.7921 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.384, allocations: 4 kB / 0.7921 GB, free: 4.211 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.3842, allocations: 184.3 kB / 0.7923 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.3842, allocations: 23.75 kB / 0.7923 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.3843, allocations: 25.83 kB / 0.7923 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3843, allocations: 0 / 0.7923 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3843, allocations: 3.938 kB / 0.7923 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3843, allocations: 11.98 kB / 0.7923 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.3847, allocations: 305.3 kB / 0.7926 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3847, allocations: 0 / 0.7926 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3849, allocations: 23.98 kB / 0.7926 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3849, allocations: 3.938 kB / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3849, allocations: 4 kB / 0.7926 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3849, allocations: 4 kB / 0.7926 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3849, allocations: 7.938 kB / 0.7927 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.3854, allocations: 314.5 kB / 0.793 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.3855, allocations: 92.95 kB / 0.793 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3855, allocations: 11.92 kB / 0.7931 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3857, allocations: 0 / 0.7931 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.3857, allocations: 11.98 kB / 0.7931 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3857, allocations: 4 kB / 0.7931 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001834/0.3859, allocations: 182 kB / 0.7932 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3859, allocations: 64 / 0.7932 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003804/0.3863, allocations: 79.59 kB / 0.7933 GB, free: 2.859 MB / 0.6075 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 (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.0001392/0.3865, allocations: 103.2 kB / 0.7934 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.3869, allocations: 206.7 kB / 0.7936 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.387, allocations: 0.5 kB / 0.7936 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3871, allocations: 63.91 kB / 0.7937 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.3877, allocations: 56.2 kB / 0.7937 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.3886, allocations: 435 kB / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3891, allocations: 0.748 MB / 0.7949 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.3892, allocations: 25.94 kB / 0.7949 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.3893, allocations: 19.44 kB / 0.7949 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.3893, allocations: 0 / 0.7949 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of Templates: time 0.006399/0.3957, allocations: 1.987 MB / 0.7969 GB, free: 15.2 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)