Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.451/2.451, allocations: 251 MB / 265.9 MB, free: 11.71 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.001617/0.001617, allocations: 178.6 kB / 325.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001185/0.001185, allocations: 87.61 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.0006508, allocations: 12.34 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2139, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.4467, allocations: 133.2 MB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.4471, allocations: 83.92 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02353/0.4706, allocations: 5.75 MB / 1.035 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4707, allocations: 4 kB / 1.035 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.191e-05/0.4707, allocations: 12 kB / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001714/0.4725, allocations: 0.6821 MB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.4725, allocations: 8.031 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.4727, allocations: 78.53 kB / 1.035 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.4728, allocations: 55.34 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.4735, allocations: 327.1 kB / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.4735, allocations: 33 kB / 1.036 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.162e-05/0.4736, allocations: 44 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.475, allocations: 394.5 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.475, allocations: 0 / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.4751, allocations: 16 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.4751, allocations: 12 kB / 1.036 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.4766, allocations: 359.8 kB / 1.037 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.48, allocations: 1.287 MB / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.4815, allocations: 270.5 kB / 1.038 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.4815, allocations: 7.938 kB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.4816, allocations: 30.56 kB / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 2.625e-06/0.4816, allocations: 0 / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.001899/0.4835, allocations: 378.9 kB / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.4836, allocations: 59.39 kB / 1.039 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008425/0.4845, allocations: 397 kB / 1.039 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/0.4846, allocations: 33.7 kB / 1.039 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.4849, allocations: 240.2 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.485, allocations: 51.27 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.485, allocations: 4 kB / 1.039 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4852, allocations: 354.7 kB / 1.04 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.4859, allocations: 115.9 kB / 1.04 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.4866, allocations: 157.3 kB / 1.04 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.4872, allocations: 115.8 kB / 1.04 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4872, allocations: 0 / 1.04 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001425/0.4886, allocations: 329 kB / 1.04 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.4887, allocations: 4 kB / 1.04 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4887, allocations: 0 / 1.04 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.4888, allocations: 4 kB / 1.04 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.4892, allocations: 51.95 kB / 1.04 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.4893, allocations: 11.94 kB / 1.04 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.4899, allocations: 71.58 kB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.4899, allocations: 8 kB / 1.04 GB, free: 0.5664 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0003597/0.4903, allocations: 161.8 kB / 1.041 GB, free: 408 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.4904, allocations: 35.53 kB / 1.041 GB, free: 372 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.4905, allocations: 47.83 kB / 1.041 GB, free: 324 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4905, allocations: 4 kB / 1.041 GB, free: 320 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4905, allocations: 0 / 1.041 GB, free: 320 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4906, allocations: 0 / 1.041 GB, free: 320 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007093/0.4913, allocations: 409.1 kB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4913, allocations: 0 / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.4917, allocations: 51.91 kB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.4918, allocations: 4 kB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.4918, allocations: 4 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.4918, allocations: 3.984 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4918, allocations: 0 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.4931, allocations: 386.2 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.4933, allocations: 120.5 kB / 1.042 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.4934, allocations: 7.938 kB / 1.042 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.4938, allocations: 39.97 kB / 1.042 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.494, allocations: 23.95 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.494, allocations: 4 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005505/0.4946, allocations: 311.1 kB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4946, allocations: 0 / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004636/0.4951, allocations: 67.84 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001632/0.4967, allocations: 0.9209 MB / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.498, allocations: 259.8 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4981, allocations: 0 / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.4986, allocations: 124 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.4991, allocations: 29.97 kB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/0.5052, allocations: 2.57 MB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.5058, allocations: 0.807 MB / 1.047 GB, free: 10 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002622/0.5061, allocations: 38.95 kB / 1.047 GB, free: 9.961 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.5064, allocations: 135.4 kB / 1.047 GB, free: 9.828 MB / 0.698 GB Notification: Performance of SimCode: time 1.663e-06/0.5064, allocations: 0 / 1.047 GB, free: 9.828 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.5377, allocations: 6.506 MB / 1.053 GB, free: 3.562 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/0.5381, allocations: 233.3 kB / 1.053 GB, free: 3.324 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/3.23, allocations: 2.812 kB / 1.053 GB, free: 3.324 MB / 0.698 GB