Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_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.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_8_0_0_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_8_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 8.0.0/package.mo): time 2.559/2.559, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001442/0.001442, allocations: 176.9 kB / 360.6 MB, free: 7.285 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.085/2.085, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001158/0.001158, allocations: 97.05 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.749e-05, allocations: 4 kB / 0.8509 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.8216, allocations: 115.2 MB / 0.9635 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/1.062, allocations: 139.7 MB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004201/1.063, allocations: 78.53 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09379/1.157, allocations: 15.51 MB / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.435e-06/1.157, allocations: 0 / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001035/1.157, allocations: 21.31 kB / 1.115 GB, free: 1.246 MB / 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.004214/1.161, allocations: 1.105 MB / 1.116 GB, free: 76 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/1.161, allocations: 8.031 kB / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006797/1.162, allocations: 114.7 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/1.164, allocations: 0.5648 MB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/1.165, allocations: 119.1 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/1.165, allocations: 56 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002626/1.168, allocations: 0.5664 MB / 1.118 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/1.17, allocations: 0.7019 MB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.852e-05/1.17, allocations: 3.906 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/1.171, allocations: 6.047 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/1.171, allocations: 20 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009166/1.18, allocations: 2.505 MB / 1.121 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/1.183, allocations: 0.538 MB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008602/1.183, allocations: 218.5 kB / 1.122 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.993e-05/1.184, allocations: 12.56 kB / 1.122 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/1.185, allocations: 381.3 kB / 1.122 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=64): time 6.091e-06/1.185, allocations: 0 / 1.122 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64): time 0.002133/1.187, allocations: 0.4911 MB / 1.122 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002474/1.187, allocations: 295.3 kB / 1.123 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.189, allocations: 462.2 kB / 1.123 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/1.189, allocations: 33.7 kB / 1.123 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/1.19, allocations: 415.7 kB / 1.124 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/1.19, allocations: 201.1 kB / 1.124 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/1.19, allocations: 3.938 kB / 1.124 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002754/1.19, allocations: 374.9 kB / 1.124 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/1.191, allocations: 217.5 kB / 1.124 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/1.193, allocations: 368.7 kB / 1.125 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/1.194, allocations: 256.4 kB / 1.125 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.194, allocations: 0 / 1.125 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002971/1.197, allocations: 0.6478 MB / 1.126 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003238/1.197, allocations: 394.2 kB / 1.126 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.197, allocations: 3.984 kB / 1.126 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/1.197, allocations: 4 kB / 1.126 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/1.199, allocations: 143.8 kB / 1.126 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/1.199, allocations: 7.953 kB / 1.126 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/1.201, allocations: 139.4 kB / 1.126 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.201, allocations: 31.98 kB / 1.126 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.201, allocations: 4 kB / 1.126 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00252/1.204, allocations: 0.5376 MB / 1.127 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.204, allocations: 0 / 1.127 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.204, allocations: 4 kB / 1.127 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.205, allocations: 125.2 kB / 1.127 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/1.205, allocations: 4 kB / 1.127 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.207, allocations: 119.6 kB / 1.127 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.207, allocations: 27.98 kB / 1.127 GB, free: 4.68 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.0003881/1.207, allocations: 127.9 kB / 1.127 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001944/1.209, allocations: 498.2 kB / 1.128 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/1.21, allocations: 71.16 kB / 1.128 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/1.212, allocations: 0.5685 MB / 1.128 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/1.212, allocations: 4 kB / 1.128 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/1.212, allocations: 7.984 kB / 1.128 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.212, allocations: 3.938 kB / 1.128 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004217/1.216, allocations: 1.384 MB / 1.13 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.216, allocations: 3.438 kB / 1.13 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/1.218, allocations: 135.8 kB / 1.13 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-05/1.218, allocations: 4 kB / 1.13 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/1.218, allocations: 7.984 kB / 1.13 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/1.218, allocations: 11.39 kB / 1.13 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.218, allocations: 7.953 kB / 1.13 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/1.222, allocations: 1.014 MB / 1.131 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/1.222, allocations: 155 kB / 1.131 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/1.222, allocations: 4 kB / 1.131 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.223, allocations: 71.94 kB / 1.131 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/1.224, allocations: 56.39 kB / 1.131 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.224, allocations: 23.98 kB / 1.131 GB, free: 384 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009711/1.225, allocations: 343 kB / 1.131 GB, free: 44 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5.81e-07/1.225, allocations: 0 / 1.131 GB, free: 44 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001981/1.227, allocations: 322.5 kB / 1.132 GB, free: 15.72 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.003948/1.231, allocations: 1.999 MB / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003468/1.234, allocations: 0.9758 MB / 1.135 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.234, allocations: 0 / 1.135 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.235, allocations: 266.5 kB / 1.135 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.237, allocations: 149.3 kB / 1.135 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/1.242, allocations: 1.147 MB / 1.136 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.244, allocations: 0.9928 MB / 1.137 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001418/1.245, allocations: 121.1 kB / 1.137 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/1.246, allocations: 323.3 kB / 1.137 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of SimCode: time 1.323e-06/1.246, allocations: 0 / 1.137 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08741/1.333, allocations: 15.13 MB / 1.152 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004/1.334, allocations: 208 kB / 1.152 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/4.32, allocations: 3.375 kB / 1.152 GB, free: 10.52 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_8.0.0_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_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)