Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",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.001035/0.001034, allocations: 90.98 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.005768/0.005768, allocations: 170.9 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.391/2.391, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 11.98 kB / 0.873 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.5678, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.002581/0.5705, allocations: 2.259 MB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.5719, allocations: 0.9045 MB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.5721, allocations: 8 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.5722, allocations: 47.52 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.5724, allocations: 43.7 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.573, allocations: 284.9 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004518/0.5735, allocations: 0.5398 MB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.5739, allocations: 271.8 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.574, allocations: 139.3 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.5742, allocations: 162.9 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.5743, allocations: 16 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.5743, allocations: 27.98 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.5744, allocations: 67.69 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.5746, allocations: 208.5 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.5751, allocations: 0.6639 MB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5751, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.985e-06/0.5751, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5751, allocations: 3.938 kB / 1.029 GB, free: 10.17 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001041/0.5762, allocations: 0.6919 MB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5762, allocations: 8.031 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.103e-05/0.5763, allocations: 82.7 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.5764, allocations: 60.28 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.5769, allocations: 380.4 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.5769, allocations: 37.38 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.577, allocations: 48.36 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.5777, allocations: 430.5 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5777, allocations: 7.875 kB / 1.03 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.5778, allocations: 24 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5778, allocations: 12 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.5784, allocations: 311.9 kB / 1.031 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.5803, allocations: 1.436 MB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.5809, allocations: 270.4 kB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.5811, allocations: 120.7 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.5812, allocations: 11.92 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.5815, allocations: 200 kB / 1.033 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.694e-06/0.5815, allocations: 4 kB / 1.033 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007061/0.5822, allocations: 348.9 kB / 1.033 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.5823, allocations: 132.5 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.5827, allocations: 409.6 kB / 1.033 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.5828, allocations: 37.69 kB / 1.034 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.583, allocations: 240 kB / 1.034 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.583, allocations: 78.91 kB / 1.034 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.5831, allocations: 33.7 kB / 1.034 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5832, allocations: 350.8 kB / 1.034 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.5835, allocations: 132.2 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.5838, allocations: 192.6 kB / 1.034 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.5843, allocations: 291.2 kB / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5843, allocations: 0 / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007224/0.585, allocations: 431.9 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.5851, allocations: 150.8 kB / 1.035 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5851, allocations: 4 kB / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5852, allocations: 0 / 1.035 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.5854, allocations: 59.91 kB / 1.035 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5854, allocations: 4 kB / 1.035 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.5858, allocations: 87.48 kB / 1.035 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.5859, allocations: 19.98 kB / 1.035 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.5859, allocations: 6.031 kB / 1.035 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006033/0.5865, allocations: 369.5 kB / 1.036 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.5865, allocations: 4 kB / 1.036 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.5865, allocations: 3.938 kB / 1.036 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.5867, allocations: 55.91 kB / 1.036 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5867, allocations: 4 kB / 1.036 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.5871, allocations: 83.58 kB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.5871, allocations: 15.94 kB / 1.036 GB, free: 2.238 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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.0001934/0.5873, allocations: 245 kB / 1.036 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.5874, allocations: 39.53 kB / 1.036 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.588, allocations: 309 kB / 1.037 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.588, allocations: 7.938 kB / 1.037 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.588, allocations: 0 / 1.037 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.588, allocations: 0 / 1.037 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.5889, allocations: 0.7914 MB / 1.037 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5889, allocations: 3.984 kB / 1.037 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.5891, allocations: 39.98 kB / 1.037 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5892, allocations: 0 / 1.037 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.5892, allocations: 11.98 kB / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5892, allocations: 0 / 1.037 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5892, allocations: 3.938 kB / 1.037 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.59, allocations: 0.5082 MB / 1.038 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.59, allocations: 120.6 kB / 1.038 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.5901, allocations: 15.92 kB / 1.038 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.5903, allocations: 24.05 kB / 1.038 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.5903, allocations: 15.98 kB / 1.038 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.5904, allocations: 7.984 kB / 1.038 GB, free: 4 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000295/0.5907, allocations: 287.2 kB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5907, allocations: 0 / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004669/0.5912, allocations: 167.4 kB / 1.039 GB, free: 15.55 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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.001042/0.5922, allocations: 1.044 MB / 1.04 GB, free: 14.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009037/0.5931, allocations: 0.586 MB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5931, allocations: 0 / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.5933, allocations: 123.9 kB / 1.04 GB, free: 13.75 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.5938, allocations: 73.89 kB / 1.04 GB, free: 13.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.5986, allocations: 3.827 MB / 1.044 GB, free: 9.75 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.599, allocations: 0.8116 MB / 1.045 GB, free: 8.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.5992, allocations: 47.2 kB / 1.045 GB, free: 8.867 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.5994, allocations: 147.4 kB / 1.045 GB, free: 8.727 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.5994, allocations: 0 / 1.045 GB, free: 8.727 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.619, allocations: 8.04 MB / 1.053 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/0.6193, allocations: 236.2 kB / 1.053 GB, free: 0.668 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.528, allocations: 1.875 kB / 1.053 GB, free: 0.668 MB / 0.795 GB (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1)