Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007421/0.000742, allocations: 91.14 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.004967/0.004968, allocations: 173.4 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004763, allocations: 12.5 kB / 0.6743 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1984, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002625/0.201, allocations: 2.244 MB / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2027, allocations: 0.8937 MB / 0.7909 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.203, allocations: 11.94 kB / 0.791 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.2032, allocations: 39.58 kB / 0.791 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.2034, allocations: 43.64 kB / 0.791 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.204, allocations: 291 kB / 0.7913 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.2046, allocations: 0.536 MB / 0.7918 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.205, allocations: 271.7 kB / 0.7921 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.2052, allocations: 143.2 kB / 0.7922 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.2054, allocations: 162.9 kB / 0.7924 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.2055, allocations: 16 kB / 0.7924 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.2056, allocations: 27.98 kB / 0.7924 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.2057, allocations: 63.69 kB / 0.7925 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.2058, allocations: 212.4 kB / 0.7927 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.2064, allocations: 0.6581 MB / 0.7933 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2064, allocations: 0 / 0.7933 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2064, allocations: 4 kB / 0.7933 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2064, allocations: 0 / 0.7933 GB, free: 5.961 MB / 0.6075 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.001157/0.2076, allocations: 0.7074 MB / 0.794 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2076, allocations: 8.031 kB / 0.794 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2077, allocations: 52.38 kB / 0.7941 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.2083, allocations: 396.3 kB / 0.7945 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.2084, allocations: 33.31 kB / 0.7945 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-05/0.2084, allocations: 56.28 kB / 0.7945 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.2092, allocations: 434.7 kB / 0.795 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2092, allocations: 3.938 kB / 0.795 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.2093, allocations: 16 kB / 0.795 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2093, allocations: 8 kB / 0.795 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.2099, allocations: 327.8 kB / 0.7953 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.2119, allocations: 1.428 MB / 0.7967 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.2125, allocations: 262.9 kB / 0.7969 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.2128, allocations: 120.8 kB / 0.7971 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.2128, allocations: 4 kB / 0.7971 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.2132, allocations: 206.6 kB / 0.7973 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.482e-06/0.2132, allocations: 0 / 0.7973 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007185/0.2139, allocations: 341 kB / 0.7976 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.214, allocations: 136.5 kB / 0.7977 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.2144, allocations: 429.5 kB / 0.7981 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2145, allocations: 33.7 kB / 0.7982 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.2146, allocations: 236.1 kB / 0.7984 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.2147, allocations: 82.8 kB / 0.7985 GB, free: 452 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.2148, allocations: 37.7 kB / 0.7985 GB, free: 408 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2149, allocations: 350.8 kB / 0.7988 GB, free: 48 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.2152, allocations: 124.3 kB / 0.799 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.2155, allocations: 200.3 kB / 0.7991 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.216, allocations: 296.1 kB / 0.7994 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.216, allocations: 0 / 0.7994 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000756/0.2168, allocations: 427.9 kB / 0.7998 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.921e-05/0.2169, allocations: 158 kB / 0.8 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2169, allocations: 0 / 0.8 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2169, allocations: 11.97 kB / 0.8 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.2172, allocations: 55.91 kB / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2172, allocations: 4 kB / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.2176, allocations: 99.47 kB / 0.8002 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.2177, allocations: 8 kB / 0.8002 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.051e-06/0.2177, allocations: 4 kB / 0.8002 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006118/0.2183, allocations: 361.3 kB / 0.8005 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.2183, allocations: 0 / 0.8005 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.2183, allocations: 4 kB / 0.8005 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.2185, allocations: 67.97 kB / 0.8006 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.2186, allocations: 0 / 0.8006 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.2189, allocations: 79.55 kB / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2189, allocations: 12 kB / 0.8007 GB, free: 14.08 MB / 0.6231 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.0002153/0.2192, allocations: 253 kB / 0.8009 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2192, allocations: 35.53 kB / 0.8009 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/0.2198, allocations: 309 kB / 0.8012 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2198, allocations: 8 kB / 0.8012 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2198, allocations: 0 / 0.8012 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2198, allocations: 3.984 kB / 0.8012 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009418/0.2208, allocations: 0.7766 MB / 0.802 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2208, allocations: 3.984 kB / 0.802 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.221, allocations: 55.89 kB / 0.8021 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.221, allocations: 8 kB / 0.8021 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2211, allocations: 4 kB / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2211, allocations: 0 / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2211, allocations: 4 kB / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/0.2219, allocations: 0.4991 MB / 0.8026 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.222, allocations: 120.6 kB / 0.8027 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.222, allocations: 11.94 kB / 0.8027 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2222, allocations: 19.98 kB / 0.8027 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.2223, allocations: 19.97 kB / 0.8027 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2223, allocations: 8 kB / 0.8027 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002958/0.2226, allocations: 291.2 kB / 0.803 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2226, allocations: 4.062 kB / 0.803 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004874/0.2231, allocations: 155.5 kB / 0.8032 GB, free: 11.42 MB / 0.6231 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.0001554/0.2233, allocations: 119.1 kB / 0.8033 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009409/0.2242, allocations: 0.5729 MB / 0.8038 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2242, allocations: 4 kB / 0.8038 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.2245, allocations: 123.9 kB / 0.804 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.225, allocations: 65.64 kB / 0.804 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2261, allocations: 0.8336 MB / 0.8048 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.2265, allocations: 0.8079 MB / 0.8056 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.2267, allocations: 51.25 kB / 0.8057 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.2267, allocations: 27.44 kB / 0.8057 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.2268, allocations: 0 / 0.8057 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of Templates: time 0.008229/0.235, allocations: 4.569 MB / 0.8102 GB, free: 4.219 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1) Environment - environmentSimulation: