Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.296/2.296, allocations: 248.5 MB / 261.1 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 186.7 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001072/0.001072, allocations: 100.6 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.803e-05/4.827e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.285, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9021/1.187, allocations: 134.3 MB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/1.188, allocations: 69.77 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01962/1.207, allocations: 5.012 MB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.793e-06/1.207, allocations: 0 / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.622e-05/1.207, allocations: 8 kB / 1.027 GB, free: 12.71 MB / 0.6511 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.0009253/1.208, allocations: 0.5018 MB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.208, allocations: 12.03 kB / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.004e-05/1.208, allocations: 52.61 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/1.208, allocations: 31.62 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/1.209, allocations: 284.2 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/1.209, allocations: 17.56 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/1.209, allocations: 26.62 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/1.21, allocations: 234.4 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/1.21, allocations: 0 / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/1.21, allocations: 3.438 kB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/1.21, allocations: 11.98 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/1.21, allocations: 145.8 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/1.212, allocations: 1.033 MB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/1.213, allocations: 178.5 kB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/1.213, allocations: 84.03 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/1.213, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.213, allocations: 30.56 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/1.213, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004614/1.213, allocations: 151.8 kB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/1.214, allocations: 89.09 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/1.214, allocations: 246.8 kB / 1.03 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/1.214, allocations: 25.7 kB / 1.03 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.214, allocations: 155.8 kB / 1.03 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/1.214, allocations: 50.39 kB / 1.03 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/1.214, allocations: 11.69 kB / 1.03 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.214, allocations: 333.4 kB / 1.03 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/1.215, allocations: 44.5 kB / 1.03 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/1.215, allocations: 84.48 kB / 1.031 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/1.215, allocations: 59.61 kB / 1.031 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.215, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004244/1.215, allocations: 179 kB / 1.031 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.466e-05/1.216, allocations: 181.8 kB / 1.031 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.216, allocations: 0 / 1.031 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.216, allocations: 4 kB / 1.031 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/1.216, allocations: 39.28 kB / 1.031 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.216, allocations: 0 / 1.031 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/1.216, allocations: 27.83 kB / 1.031 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/1.216, allocations: 11.44 kB / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.216, allocations: 4 kB / 1.031 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003151/1.217, allocations: 128.3 kB / 1.031 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/1.217, allocations: 0 / 1.031 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/1.217, allocations: 0 / 1.031 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/1.217, allocations: 31.92 kB / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.217, allocations: 4 kB / 1.031 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/1.217, allocations: 23.36 kB / 1.031 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/1.217, allocations: 11.78 kB / 1.031 GB, free: 8.762 MB / 0.6511 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 (freProTMix.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001124/1.217, allocations: 116.4 kB / 1.031 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/1.217, allocations: 19.72 kB / 1.031 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/1.217, allocations: 32.47 kB / 1.031 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.217, allocations: 0 / 1.031 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.217, allocations: 4 kB / 1.031 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.217, allocations: 3.938 kB / 1.031 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/1.218, allocations: 0.5627 MB / 1.032 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.218, allocations: 7.953 kB / 1.032 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/1.219, allocations: 31.92 kB / 1.032 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.219, allocations: 0 / 1.032 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.219, allocations: 10.92 kB / 1.032 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.219, allocations: 0 / 1.032 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.219, allocations: 0 / 1.032 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/1.219, allocations: 351.6 kB / 1.032 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.22, allocations: 108.5 kB / 1.032 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/1.22, allocations: 15.44 kB / 1.032 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/1.22, allocations: 15.92 kB / 1.032 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/1.22, allocations: 11.86 kB / 1.032 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/1.22, allocations: 4 kB / 1.032 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003136/1.22, allocations: 202.2 kB / 1.033 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.22, allocations: 0 / 1.033 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005169/1.221, allocations: 74.62 kB / 1.033 GB, free: 7.375 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 0 () * 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.001066/1.222, allocations: 0.9587 MB / 1.034 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005615/1.223, allocations: 193.3 kB / 1.034 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.223, allocations: 0 / 1.034 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.223, allocations: 60.56 kB / 1.034 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/1.223, allocations: 51.33 kB / 1.034 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.225, allocations: 379.2 kB / 1.034 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/1.225, allocations: 0.7611 MB / 1.035 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000287/1.225, allocations: 34.06 kB / 1.035 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/1.225, allocations: 76.28 kB / 1.035 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of SimCode: time 7.82e-07/1.225, allocations: 0 / 1.035 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/1.26, allocations: 5.043 MB / 1.04 GB, free: 232 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003729/1.261, allocations: 187.7 kB / 1.04 GB, free: 4 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.845, allocations: 6.875 kB / 1.04 GB, free: 0 / 0.6511 GB