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.204/2.204, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001409/0.001409, allocations: 176.8 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.3 MB / 0.5662 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 92.05 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.474e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 106.3 MB / 0.8842 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8702/1.068, allocations: 135.6 MB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/1.068, allocations: 85.38 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06848/1.136, allocations: 16.44 MB / 1.033 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.673e-06/1.136, allocations: 0 / 1.033 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001076/1.137, allocations: 28 kB / 1.033 GB, free: 5.535 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.003516/1.14, allocations: 1.138 MB / 1.034 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.14, allocations: 8.031 kB / 1.034 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005278/1.141, allocations: 122.5 kB / 1.034 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.142, allocations: 0.5874 MB / 1.035 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/1.143, allocations: 126.5 kB / 1.035 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/1.143, allocations: 56 kB / 1.035 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002058/1.145, allocations: 0.6138 MB / 1.035 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/1.147, allocations: 0.7456 MB / 1.036 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/1.147, allocations: 3.906 kB / 1.036 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.147, allocations: 4 kB / 1.036 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/1.147, allocations: 20 kB / 1.036 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007464/1.155, allocations: 2.614 MB / 1.039 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/1.157, allocations: 0.5462 MB / 1.039 GB, free: 348 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006659/1.157, allocations: 239.7 kB / 1.039 GB, free: 212 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-05/1.157, allocations: 12.55 kB / 1.039 GB, free: 200 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/1.158, allocations: 399 kB / 1.04 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.867e-06/1.159, allocations: 0 / 1.04 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.001623/1.16, allocations: 0.5226 MB / 1.04 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/1.16, allocations: 299.1 kB / 1.041 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009756/1.161, allocations: 488.8 kB / 1.041 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.162, allocations: 33.7 kB / 1.041 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/1.162, allocations: 453.4 kB / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/1.162, allocations: 212.1 kB / 1.042 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/1.162, allocations: 0 / 1.042 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002341/1.163, allocations: 384.6 kB / 1.042 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/1.163, allocations: 207.3 kB / 1.042 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/1.164, allocations: 348.4 kB / 1.043 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/1.165, allocations: 242.9 kB / 1.043 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/1.165, allocations: 4 kB / 1.043 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001724/1.167, allocations: 0.6093 MB / 1.043 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/1.167, allocations: 280.1 kB / 1.044 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.167, allocations: 48 / 1.044 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/1.167, allocations: 15.95 kB / 1.044 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.168, allocations: 157.2 kB / 1.044 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.168, allocations: 0 / 1.044 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.169, allocations: 123.3 kB / 1.044 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/1.169, allocations: 27 kB / 1.044 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.17, allocations: 4 kB / 1.044 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001405/1.171, allocations: 0.4886 MB / 1.045 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.171, allocations: 3.984 kB / 1.045 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.171, allocations: 8 kB / 1.045 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.172, allocations: 129.9 kB / 1.045 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.172, allocations: 7.984 kB / 1.045 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009486/1.173, allocations: 87.53 kB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/1.173, allocations: 25.92 kB / 1.045 GB, free: 11.78 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.0002944/1.174, allocations: 128 kB / 1.045 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001488/1.175, allocations: 0.5128 MB / 1.045 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/1.175, allocations: 71.06 kB / 1.045 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/1.177, allocations: 0.6019 MB / 1.046 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.177, allocations: 11.95 kB / 1.046 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.177, allocations: 0 / 1.046 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.177, allocations: 3.984 kB / 1.046 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/1.181, allocations: 1.509 MB / 1.048 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.181, allocations: 12.22 kB / 1.048 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.182, allocations: 139.7 kB / 1.048 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.097e-05/1.182, allocations: 8 kB / 1.048 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/1.182, allocations: 10.86 kB / 1.048 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/1.182, allocations: 7.938 kB / 1.048 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.182, allocations: 4 kB / 1.048 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/1.185, allocations: 1.137 MB / 1.049 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/1.185, allocations: 169.9 kB / 1.049 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.185, allocations: 4 kB / 1.049 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009454/1.186, allocations: 75.88 kB / 1.049 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.187, allocations: 66 kB / 1.049 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/1.187, allocations: 23.23 kB / 1.049 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007093/1.187, allocations: 368.2 kB / 1.05 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.187, allocations: 4 kB / 1.05 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001364/1.189, allocations: 314.3 kB / 1.05 GB, free: 7.641 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.003278/1.192, allocations: 2.318 MB / 1.052 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002498/1.195, allocations: 0.8434 MB / 1.053 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.195, allocations: 0 / 1.053 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000892/1.196, allocations: 303.6 kB / 1.053 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.197, allocations: 166.4 kB / 1.053 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/1.202, allocations: 1.235 MB / 1.055 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/1.202, allocations: 1.013 MB / 1.056 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001213/1.204, allocations: 141.6 kB / 1.056 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007407/1.204, allocations: 352.6 kB / 1.056 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of SimCode: time 3.697e-06/1.204, allocations: 0 / 1.056 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07362/1.278, allocations: 15.4 MB / 1.071 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003805/1.279, allocations: 209.2 kB / 1.071 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.21/4.489, allocations: 0 / 1.071 GB, free: 2.738 MB / 0.6823 GB