Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.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 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 184.6 kB / 326.5 MB, free: 2.645 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205 MB / 0.5766 GB, free: 20.62 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.0008499/0.0008501, allocations: 88.08 kB / 0.6803 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 14.53 kB / 0.7939 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 105.4 MB / 0.8968 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure): time 0.004019/0.2047, allocations: 4.437 MB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003074/0.2078, allocations: 1.743 MB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.2089, allocations: 23.94 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.2095, allocations: 122.8 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006303/0.2102, allocations: 107.1 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2114, allocations: 481 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.2125, allocations: 1.229 MB / 0.9047 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.2132, allocations: 0.5756 MB / 0.9053 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.2135, allocations: 266.4 kB / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.2137, allocations: 345.6 kB / 0.9059 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.975e-05/0.2138, allocations: 28 kB / 0.9059 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.191e-05/0.2139, allocations: 35.94 kB / 0.906 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.214, allocations: 147.2 kB / 0.9061 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.2142, allocations: 409.1 kB / 0.9065 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007983/0.215, allocations: 1.426 MB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.2151, allocations: 4 kB / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2151, allocations: 0 / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.2151, allocations: 0 / 0.9079 GB, free: 56.12 MB / 0.6042 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.001883/0.217, allocations: 1.215 MB / 0.9091 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.217, allocations: 12.03 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.2172, allocations: 123.5 kB / 0.9092 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.218, allocations: 0.6843 MB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.2181, allocations: 151.6 kB / 0.91 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.2182, allocations: 100.4 kB / 0.9101 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.2196, allocations: 0.9439 MB / 0.911 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.2196, allocations: 3.906 kB / 0.911 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.2197, allocations: 40 kB / 0.9111 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.2197, allocations: 20 kB / 0.9111 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.221, allocations: 0.7691 MB / 0.9118 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.2246, allocations: 3.049 MB / 0.9148 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/0.2256, allocations: 0.5368 MB / 0.9153 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.226, allocations: 242.1 kB / 0.9156 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.226, allocations: 16.34 kB / 0.9156 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007271/0.2268, allocations: 327.1 kB / 0.9159 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=55): time 5.23e-06/0.2268, allocations: 3.938 kB / 0.9159 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55): time 0.002147/0.2289, allocations: 0.7401 MB / 0.9166 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.229, allocations: 149 kB / 0.9168 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.2302, allocations: 0.7471 MB / 0.9175 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.2302, allocations: 41.7 kB / 0.9175 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.2306, allocations: 0.4948 MB / 0.918 GB, free: 45.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.2308, allocations: 181.4 kB / 0.9182 GB, free: 45.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.2309, allocations: 77.67 kB / 0.9183 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.231, allocations: 334 kB / 0.9186 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.2317, allocations: 253.9 kB / 0.9188 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.2323, allocations: 0.5051 MB / 0.9193 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.2332, allocations: 0.707 MB / 0.92 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2332, allocations: 4 kB / 0.92 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001293/0.2345, allocations: 0.8418 MB / 0.9208 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.2346, allocations: 288.1 kB / 0.9211 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.2347, allocations: 16 kB / 0.9211 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.2347, allocations: 15.94 kB / 0.9211 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.2353, allocations: 183.7 kB / 0.9213 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.2354, allocations: 15.98 kB / 0.9213 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.2359, allocations: 143 kB / 0.9215 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.2359, allocations: 36 kB / 0.9215 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.2359, allocations: 4 kB / 0.9215 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008207/0.2368, allocations: 0.6375 MB / 0.9221 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2368, allocations: 8 kB / 0.9221 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.2368, allocations: 12 kB / 0.9221 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.2372, allocations: 160.4 kB / 0.9223 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.2372, allocations: 15.94 kB / 0.9223 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.2377, allocations: 115.2 kB / 0.9224 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.2377, allocations: 31.94 kB / 0.9225 GB, free: 40.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,retFanPre2.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre1.movMea.mode,yFan.pulseStart,$PRE.yFan.pulseStart,yFan.y,retFanPre.movMea.mode,$PRE.retFanPre.movMea.mode,$whenCondition1,$whenCondition2,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.2381, allocations: 332.9 kB / 0.9228 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.2382, allocations: 82.97 kB / 0.9229 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2393, allocations: 0.6403 MB / 0.9235 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.2394, allocations: 12 kB / 0.9235 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2394, allocations: 0 / 0.9235 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2394, allocations: 11.86 kB / 0.9235 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.24, allocations: 0.7824 MB / 0.9243 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.24, allocations: 0 / 0.9243 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.2405, allocations: 115.9 kB / 0.9244 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2405, allocations: 11.98 kB / 0.9244 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.2405, allocations: 12 kB / 0.9244 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2405, allocations: 0 / 0.9244 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2405, allocations: 3.938 kB / 0.9244 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.2419, allocations: 0.9017 MB / 0.9253 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.242, allocations: 176.1 kB / 0.9254 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.23e-05/0.2421, allocations: 8 kB / 0.9255 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.2424, allocations: 63.95 kB / 0.9255 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.2425, allocations: 52.42 kB / 0.9256 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.2425, allocations: 19.98 kB / 0.9256 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004926/0.243, allocations: 0.4951 MB / 0.9261 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2431, allocations: 0 / 0.9261 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007839/0.2438, allocations: 318.6 kB / 0.9264 GB, free: 36.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.movMea.mode,yFan.y,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001399/0.244, allocations: 125.5 kB / 0.9265 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.2455, allocations: 0.9585 MB / 0.9274 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2455, allocations: 0 / 0.9274 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.2459, allocations: 283.1 kB / 0.9277 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.2467, allocations: 183.7 kB / 0.9279 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.249, allocations: 1.86 MB / 0.9297 GB, free: 32.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.2494, allocations: 0.9877 MB / 0.9307 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.2496, allocations: 67.42 kB / 0.9307 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.2496, allocations: 0 / 0.9307 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.01308/0.2627, allocations: 10.59 MB / 0.9411 GB, free: 21.37 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)