Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.113/2.113, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001284, allocations: 191.5 kB / 499.1 MB, free: 4.656 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 99.75 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 53.66 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2461, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003307/0.2495, allocations: 2.637 MB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2511, allocations: 0.9123 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003892/0.2515, allocations: 15.94 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.2518, allocations: 39.58 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.2521, allocations: 35.72 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007239/0.2528, allocations: 295.2 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.2533, allocations: 0.536 MB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.2537, allocations: 283.7 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.254, allocations: 175.2 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.2542, allocations: 199 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.2543, allocations: 28 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.2544, allocations: 47.92 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.2544, allocations: 87.61 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.2546, allocations: 206.8 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.255, allocations: 0.6951 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2551, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2551, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.2551, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 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.001192/0.2563, allocations: 0.779 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2563, allocations: 11.98 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.2564, allocations: 56.28 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.2569, allocations: 384.4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.2569, allocations: 33.38 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.257, allocations: 52.31 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.2576, allocations: 430.7 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2576, allocations: 3.938 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.2577, allocations: 23.92 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2577, allocations: 12 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005256/0.2582, allocations: 315.9 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.2599, allocations: 1.416 MB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.2604, allocations: 258.8 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.2606, allocations: 120.8 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2607, allocations: 80 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.261, allocations: 212.1 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 1.813e-06/0.261, allocations: 3.938 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=26): time 0.0006249/0.2616, allocations: 331 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.2617, allocations: 136.5 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.262, allocations: 413.6 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.262, allocations: 33.7 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2622, allocations: 224.1 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.2622, allocations: 90.73 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.2623, allocations: 81.58 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.2624, allocations: 346.8 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2626, allocations: 137.1 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.2629, allocations: 194.3 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.2633, allocations: 298.2 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2633, allocations: 0 / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006273/0.2639, allocations: 424 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.264, allocations: 37.64 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.264, allocations: 4 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.264, allocations: 4 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.2642, allocations: 55.91 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2643, allocations: 4 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.2646, allocations: 75.47 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.2646, allocations: 19.92 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002607/0.2649, allocations: 244.5 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002032/0.2651, allocations: 189 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003062/0.2654, allocations: 282.2 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2654, allocations: 0 / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005305/0.266, allocations: 418.3 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.266, allocations: 37.69 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.266, allocations: 7.938 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-06/0.266, allocations: 4.125 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.2662, allocations: 51.92 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2662, allocations: 7.984 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2666, allocations: 55.8 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2666, allocations: 15.98 kB / 1.232 GB, free: 102.4 MB / 0.823 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 9.245e-05/0.2667, allocations: 200.9 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.2667, allocations: 43.47 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.2672, allocations: 298.5 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2672, allocations: 0 / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2673, allocations: 0 / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2673, allocations: 7.984 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007411/0.268, allocations: 0.7795 MB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.268, allocations: 0 / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2682, allocations: 47.91 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2682, allocations: 0 / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2683, allocations: 8 kB / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2683, allocations: 0 / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2683, allocations: 0 / 1.233 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.2707, allocations: 2.222 MB / 1.236 GB, free: 98.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.2707, allocations: 124.6 kB / 1.236 GB, free: 98.43 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.2708, allocations: 11.92 kB / 1.236 GB, free: 98.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.271, allocations: 20.05 kB / 1.236 GB, free: 98.39 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.271, allocations: 19.92 kB / 1.236 GB, free: 98.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.271, allocations: 11.98 kB / 1.236 GB, free: 98.36 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002177/0.2713, allocations: 287.2 kB / 1.236 GB, free: 98.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2713, allocations: 0 / 1.236 GB, free: 98.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006559/0.2719, allocations: 195.5 kB / 1.236 GB, free: 97.89 MB / 0.823 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.0001546/0.2721, allocations: 108.5 kB / 1.236 GB, free: 97.78 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008074/0.2729, allocations: 0.5815 MB / 1.237 GB, free: 97.17 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2729, allocations: 0 / 1.237 GB, free: 97.17 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.2731, allocations: 119.9 kB / 1.237 GB, free: 97.05 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.2736, allocations: 72.45 kB / 1.237 GB, free: 96.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2747, allocations: 1.007 MB / 1.238 GB, free: 95.94 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.2749, allocations: 0.8118 MB / 1.239 GB, free: 95.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.2751, allocations: 47.27 kB / 1.239 GB, free: 95.05 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.2752, allocations: 35.42 kB / 1.239 GB, free: 95.02 MB / 0.823 GB Notification: Performance of SimCode: time 3.11e-07/0.2752, allocations: 0 / 1.239 GB, free: 95.02 MB / 0.823 GB Notification: Performance of Templates: time 0.008124/0.2833, allocations: 4.921 MB / 1.244 GB, free: 90.17 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1)