Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",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.202/2.202, allocations: 248.5 MB / 261.1 MB, free: 5.996 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.00151/0.00151, allocations: 188 kB / 320.4 MB, free: 15.34 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.871/1.871, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001084/0.001084, allocations: 101.4 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.917e-05/4.922e-05, allocations: 7.984 kB / 0.787 GB, free: 97.74 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2018, allocations: 106.2 MB / 0.8907 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8119/1.014, allocations: 135.4 MB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.014, allocations: 84.42 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06921/1.083, allocations: 16.57 MB / 1.039 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.933e-06/1.083, allocations: 0 / 1.039 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.551e-05/1.083, allocations: 24 kB / 1.039 GB, free: 2.059 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003224/1.087, allocations: 1.134 MB / 1.04 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.087, allocations: 11.97 kB / 1.04 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003324/1.087, allocations: 140.8 kB / 1.04 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/1.087, allocations: 122.5 kB / 1.041 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.089, allocations: 0.5917 MB / 1.041 GB, free: 216 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/1.089, allocations: 148.4 kB / 1.041 GB, free: 76 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/1.089, allocations: 90.44 kB / 1.041 GB, free: 16 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/1.092, allocations: 0.8744 MB / 1.042 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/1.092, allocations: 7.906 kB / 1.042 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.092, allocations: 42.56 kB / 1.042 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/1.092, allocations: 24 kB / 1.042 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/1.094, allocations: 0.6625 MB / 1.043 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007029/1.101, allocations: 2.856 MB / 1.046 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/1.103, allocations: 0.5596 MB / 1.046 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000654/1.103, allocations: 263.5 kB / 1.047 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-05/1.103, allocations: 8.562 kB / 1.047 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009742/1.104, allocations: 410.2 kB / 1.047 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 5.55e-06/1.104, allocations: 3.984 kB / 1.047 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.00171/1.106, allocations: 0.5887 MB / 1.048 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/1.106, allocations: 299.3 kB / 1.048 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/1.108, allocations: 0.7441 MB / 1.049 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.108, allocations: 43.83 kB / 1.049 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/1.109, allocations: 429 kB / 1.049 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/1.109, allocations: 229.4 kB / 1.049 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/1.109, allocations: 10.12 kB / 1.049 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.109, allocations: 336.2 kB / 1.05 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006705/1.11, allocations: 225 kB / 1.05 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/1.111, allocations: 359.2 kB / 1.05 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/1.111, allocations: 261.5 kB / 1.05 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.111, allocations: 0 / 1.05 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001855/1.113, allocations: 0.6856 MB / 1.051 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/1.113, allocations: 277.2 kB / 1.051 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.113, allocations: 3.938 kB / 1.051 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/1.113, allocations: 7.984 kB / 1.051 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.115, allocations: 158.4 kB / 1.051 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.115, allocations: 8 kB / 1.051 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.116, allocations: 156.9 kB / 1.052 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/1.116, allocations: 27.38 kB / 1.052 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.116, allocations: 6.656 kB / 1.052 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001648/1.118, allocations: 0.5577 MB / 1.052 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.118, allocations: 0 / 1.052 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.118, allocations: 7.953 kB / 1.052 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.119, allocations: 138 kB / 1.052 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.119, allocations: 4 kB / 1.052 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.12, allocations: 133.7 kB / 1.052 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/1.12, allocations: 21.56 kB / 1.052 GB, free: 7.555 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0003122/1.12, allocations: 147.9 kB / 1.053 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/1.121, allocations: 98.78 kB / 1.053 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/1.122, allocations: 0.6847 MB / 1.053 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.123, allocations: 7.953 kB / 1.053 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.123, allocations: 4 kB / 1.053 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.123, allocations: 3.984 kB / 1.053 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/1.126, allocations: 1.7 MB / 1.055 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.126, allocations: 4 kB / 1.055 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.128, allocations: 142 kB / 1.055 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/1.128, allocations: 8.281 kB / 1.055 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/1.128, allocations: 25.38 kB / 1.055 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/1.128, allocations: 7.984 kB / 1.055 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/1.128, allocations: 4 kB / 1.055 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/1.13, allocations: 1.21 MB / 1.056 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/1.131, allocations: 197.7 kB / 1.057 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/1.131, allocations: 22.73 kB / 1.057 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009669/1.132, allocations: 94.08 kB / 1.057 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.132, allocations: 58.92 kB / 1.057 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/1.132, allocations: 22.75 kB / 1.057 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001155/1.133, allocations: 0.5692 MB / 1.057 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/1.133, allocations: 0 / 1.057 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001262/1.135, allocations: 306.9 kB / 1.058 GB, free: 3.391 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003272/1.138, allocations: 2.418 MB / 1.06 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002386/1.14, allocations: 0.9129 MB / 1.061 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.141, allocations: 0 / 1.061 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/1.141, allocations: 312.8 kB / 1.061 GB, free: 440 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.143, allocations: 194.8 kB / 1.061 GB, free: 300 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/1.148, allocations: 1.331 MB / 1.063 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/1.148, allocations: 1.022 MB / 1.064 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001219/1.15, allocations: 163 kB / 1.064 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/1.15, allocations: 366.9 kB / 1.064 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of SimCode: time 1.863e-06/1.15, allocations: 0 / 1.064 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06322/1.214, allocations: 18.98 MB / 1.083 GB, free: 11.08 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003635/1.214, allocations: 215.5 kB / 1.083 GB, free: 10.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/4.589, allocations: 7.891 kB / 1.083 GB, free: 10.85 MB / 0.698 GB