Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 2.587/2.587, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001695/0.001695, allocations: 176.9 kB / 361.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.726/2.726, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0009081/0.0009078, allocations: 93.03 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.178e-05, allocations: 4 kB / 0.8519 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9622/0.9622, allocations: 115.3 MB / 0.9645 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/1.218, allocations: 139.9 MB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.218, allocations: 75.94 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04221/1.261, allocations: 15.5 MB / 1.116 GB, free: 416 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.234e-06/1.261, allocations: 0 / 1.116 GB, free: 416 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.787e-05/1.261, allocations: 23.98 kB / 1.116 GB, free: 392 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002063/1.263, allocations: 1.11 MB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.263, allocations: 8.031 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/1.263, allocations: 111.7 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008773/1.264, allocations: 0.5687 MB / 1.118 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/1.264, allocations: 123 kB / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/1.264, allocations: 59.91 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001095/1.265, allocations: 0.5703 MB / 1.119 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/1.267, allocations: 0.7019 MB / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/1.267, allocations: 0 / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/1.267, allocations: 4 kB / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/1.267, allocations: 20 kB / 1.12 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/1.271, allocations: 2.493 MB / 1.122 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/1.272, allocations: 0.5366 MB / 1.123 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/1.273, allocations: 226.5 kB / 1.123 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-05/1.273, allocations: 12.55 kB / 1.123 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006655/1.273, allocations: 373.3 kB / 1.123 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=64): time 3.146e-06/1.273, allocations: 0 / 1.123 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64): time 0.001005/1.274, allocations: 0.4989 MB / 1.124 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.274, allocations: 299.3 kB / 1.124 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/1.275, allocations: 458.2 kB / 1.124 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/1.275, allocations: 29.7 kB / 1.124 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/1.276, allocations: 415.8 kB / 1.125 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/1.276, allocations: 197 kB / 1.125 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/1.276, allocations: 4 kB / 1.125 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.276, allocations: 374.9 kB / 1.125 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/1.276, allocations: 225.5 kB / 1.126 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/1.277, allocations: 366 kB / 1.126 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/1.277, allocations: 256.4 kB / 1.126 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.277, allocations: 0 / 1.126 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001286/1.279, allocations: 0.6439 MB / 1.127 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/1.279, allocations: 396.8 kB / 1.127 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.279, allocations: 4 kB / 1.127 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.279, allocations: 4 kB / 1.127 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/1.28, allocations: 143.8 kB / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.28, allocations: 4 kB / 1.127 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/1.28, allocations: 155.3 kB / 1.127 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/1.28, allocations: 24 kB / 1.127 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/1.28, allocations: 4 kB / 1.127 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/1.281, allocations: 0.5314 MB / 1.128 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/1.281, allocations: 0 / 1.128 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/1.282, allocations: 4 kB / 1.128 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/1.282, allocations: 131.8 kB / 1.128 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.282, allocations: 8.062 kB / 1.128 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/1.283, allocations: 115.5 kB / 1.128 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/1.283, allocations: 25.41 kB / 1.128 GB, free: 3.809 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * 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.0002109/1.283, allocations: 120.9 kB / 1.128 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008519/1.284, allocations: 498.2 kB / 1.129 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/1.284, allocations: 71.16 kB / 1.129 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/1.285, allocations: 0.5685 MB / 1.129 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.285, allocations: 11.94 kB / 1.129 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.285, allocations: 0 / 1.129 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/1.285, allocations: 3.984 kB / 1.129 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/1.287, allocations: 1.384 MB / 1.131 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/1.287, allocations: 6.688 kB / 1.131 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/1.288, allocations: 131.8 kB / 1.131 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/1.288, allocations: 8.188 kB / 1.131 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/1.288, allocations: 15.98 kB / 1.131 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.288, allocations: 4 kB / 1.131 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.288, allocations: 0 / 1.131 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/1.289, allocations: 1.02 MB / 1.132 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/1.289, allocations: 152.1 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/1.289, allocations: 15.98 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/1.29, allocations: 67.94 kB / 1.132 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.29, allocations: 44.45 kB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/1.29, allocations: 20 kB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004543/1.291, allocations: 350.9 kB / 1.133 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.291, allocations: 0 / 1.133 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009766/1.292, allocations: 322.4 kB / 1.133 GB, free: 14.86 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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.001866/1.294, allocations: 2.003 MB / 1.135 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001515/1.295, allocations: 0.9761 MB / 1.136 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.295, allocations: 256 / 1.136 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004122/1.296, allocations: 278 kB / 1.136 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/1.296, allocations: 138.6 kB / 1.136 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/1.299, allocations: 1.143 MB / 1.137 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/1.299, allocations: 0.9928 MB / 1.138 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005606/1.3, allocations: 117.2 kB / 1.138 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004137/1.3, allocations: 323.3 kB / 1.139 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/1.3, allocations: 2.531 kB / 1.139 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/1.338, allocations: 15.13 MB / 1.153 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.339, allocations: 205.7 kB / 1.154 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/4.343, allocations: 0 / 1.154 GB, free: 9.66 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)