Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008394/0.0008394, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005064/0.005064, allocations: 171 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.193/2.193, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 8 kB / 0.873 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4806, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking): time 0.001952/0.4826, allocations: 1.886 MB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.4843, allocations: 1.677 MB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.4845, allocations: 11.94 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.4847, allocations: 63.39 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.4849, allocations: 75.44 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.4854, allocations: 296.7 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.4858, allocations: 0.6605 MB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.4862, allocations: 349.7 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.4864, allocations: 167 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.4866, allocations: 190.7 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.4866, allocations: 20 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.4867, allocations: 27.98 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.4867, allocations: 79.55 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.4869, allocations: 244.2 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.4875, allocations: 0.9363 MB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4875, allocations: 0 / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4875, allocations: 7.938 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4876, allocations: 0 / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001106/0.4887, allocations: 0.8163 MB / 1.031 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.4887, allocations: 8.031 kB / 1.031 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.833e-05/0.4888, allocations: 90.7 kB / 1.031 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.4889, allocations: 64.19 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007951/0.4897, allocations: 0.5074 MB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.4897, allocations: 33.38 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.4898, allocations: 48.38 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.4906, allocations: 0.5227 MB / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4906, allocations: 0 / 1.032 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.4907, allocations: 16 kB / 1.032 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4907, allocations: 12 kB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.4915, allocations: 411.8 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.4934, allocations: 1.705 MB / 1.034 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.4943, allocations: 0.5917 MB / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.4948, allocations: 250.9 kB / 1.035 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4948, allocations: 15.97 kB / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/0.4953, allocations: 237.4 kB / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.4953, allocations: 0 / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.001122/0.4964, allocations: 0.5173 MB / 1.035 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4965, allocations: 110.8 kB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.4969, allocations: 393.6 kB / 1.036 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.4969, allocations: 37.69 kB / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4971, allocations: 283.8 kB / 1.036 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.4971, allocations: 98.47 kB / 1.036 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.4972, allocations: 45.7 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.4973, allocations: 354.7 kB / 1.037 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.4977, allocations: 180.6 kB / 1.037 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.4981, allocations: 301.8 kB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007712/0.4989, allocations: 465.9 kB / 1.038 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4989, allocations: 4 kB / 1.038 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009853/0.4999, allocations: 0.5452 MB / 1.038 GB, free: 88 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.5, allocations: 207.1 kB / 1.038 GB, free: 15.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5001, allocations: 4 kB / 1.038 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.5001, allocations: 7.938 kB / 1.038 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.5004, allocations: 91.88 kB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.5004, allocations: 11.98 kB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.5008, allocations: 111.6 kB / 1.039 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.5009, allocations: 23.98 kB / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-06/0.5009, allocations: 0 / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007449/0.5016, allocations: 448.9 kB / 1.039 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.5016, allocations: 0 / 1.039 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/0.5016, allocations: 11.94 kB / 1.039 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.5019, allocations: 88.27 kB / 1.039 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5019, allocations: 7.938 kB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.5023, allocations: 87.62 kB / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.5023, allocations: 20.05 kB / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,yFan.y,$PRE.yFan.y,retFanAirTra1.conP.con1.y,retFanAirTra.conP.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001935/0.5025, allocations: 276.9 kB / 1.039 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.5026, allocations: 43.44 kB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/0.5026, allocations: 44.36 kB / 1.04 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5026, allocations: 8 kB / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5027, allocations: 0 / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5027, allocations: 0 / 1.04 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.504, allocations: 1.019 MB / 1.041 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.504, allocations: 0 / 1.041 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.5043, allocations: 79.89 kB / 1.041 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5043, allocations: 3.984 kB / 1.041 GB, free: 13.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5043, allocations: 8 kB / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5043, allocations: 0 / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5043, allocations: 0 / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.5055, allocations: 0.6785 MB / 1.041 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.5056, allocations: 128.6 kB / 1.041 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.5056, allocations: 8 kB / 1.041 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.5059, allocations: 40.03 kB / 1.041 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.5059, allocations: 23.91 kB / 1.041 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.5059, allocations: 11.98 kB / 1.041 GB, free: 12.47 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002426/0.5062, allocations: 271.2 kB / 1.042 GB, free: 12.21 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5062, allocations: 0 / 1.042 GB, free: 12.21 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004937/0.5067, allocations: 191.1 kB / 1.042 GB, free: 12.02 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (retFanAirTra.conP.I.y,retFanAirTra1.conP.I.y) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001379/0.5081, allocations: 1.231 MB / 1.043 GB, free: 10.76 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.5093, allocations: 0.7343 MB / 1.044 GB, free: 10 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5093, allocations: 4 kB / 1.044 GB, free: 9.996 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/0.5097, allocations: 180.1 kB / 1.044 GB, free: 9.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.5102, allocations: 107.5 kB / 1.044 GB, free: 9.719 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005353/0.5156, allocations: 4.37 MB / 1.048 GB, free: 5.188 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.5159, allocations: 0.8354 MB / 1.049 GB, free: 4.328 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.5162, allocations: 67.25 kB / 1.049 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.5164, allocations: 175.4 kB / 1.049 GB, free: 4.09 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.5164, allocations: 0 / 1.049 GB, free: 4.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.981/3.497, allocations: 9.063 MB / 1.058 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/3.498, allocations: 264.1 kB / 1.059 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/5.245, allocations: 0 / 1.059 GB, free: 11.03 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1)