Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.083/2.083, allocations: 391.2 MB / 407 MB, free: 10.8 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.001293/0.001293, allocations: 189 kB / 499.1 MB, free: 4.613 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.321/1.321, allocations: 222.9 MB / 0.7948 GB, free: 15.75 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.001066/0.001066, allocations: 103.8 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 52.17 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2635, 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.RoomVAV): time 0.003793/0.2673, allocations: 3.229 MB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2688, allocations: 0.8061 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.2693, allocations: 11.94 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.2696, allocations: 75.31 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.2698, allocations: 67.5 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.2702, allocations: 227.8 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.2706, allocations: 0.6651 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.271, allocations: 413.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.2712, allocations: 202.9 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.2714, allocations: 246.6 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.2714, allocations: 36 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.2715, allocations: 32 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.2715, allocations: 115.4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2717, allocations: 270.3 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.2721, allocations: 0.8936 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2721, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2721, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2722, allocations: 0 / 1.225 GB, free: 109.9 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001164/0.2733, allocations: 0.9199 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2734, allocations: 11.98 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.2734, allocations: 72.09 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.2739, allocations: 463.2 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2739, allocations: 41.62 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.274, allocations: 60.28 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.2747, allocations: 0.5425 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2747, allocations: 3.938 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.2748, allocations: 20 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2748, allocations: 16 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.2755, allocations: 423.7 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.2774, allocations: 1.837 MB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2785, allocations: 488.4 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.2788, allocations: 210.5 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.2789, allocations: 4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2789, allocations: 34.56 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=32): time 1.373e-06/0.2789, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=32): time 0.0009377/0.2798, allocations: 499.3 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2799, allocations: 110.8 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.2803, allocations: 0.4904 MB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2803, allocations: 37.64 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.2805, allocations: 296.6 kB / 1.232 GB, free: 103.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.2805, allocations: 114.2 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.2806, allocations: 82.06 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.2807, allocations: 358.8 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.281, allocations: 146.3 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.2813, allocations: 255.3 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.2819, allocations: 358.4 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2819, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006999/0.2826, allocations: 452.1 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2827, allocations: 19.95 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2827, allocations: 3.984 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2827, allocations: 4 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.283, allocations: 87.95 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.283, allocations: 0 / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.2833, allocations: 71.48 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.2833, allocations: 23.98 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003023/0.2836, allocations: 256.1 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002361/0.2839, allocations: 219.8 kB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004067/0.2843, allocations: 311 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.2843, allocations: 0 / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000535/0.2848, allocations: 404.3 kB / 1.235 GB, free: 99.85 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.2848, allocations: 8 kB / 1.235 GB, free: 99.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.2849, allocations: 4 kB / 1.235 GB, free: 99.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.2849, allocations: 7.938 kB / 1.235 GB, free: 99.83 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2851, allocations: 75.83 kB / 1.235 GB, free: 99.76 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2851, allocations: 4 kB / 1.235 GB, free: 99.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.2854, allocations: 51.8 kB / 1.235 GB, free: 99.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2854, allocations: 12 kB / 1.235 GB, free: 99.69 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,vavBoxCon.hysWitHol.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 8.855e-05/0.2855, allocations: 208.8 kB / 1.235 GB, free: 99.48 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.2856, allocations: 55.28 kB / 1.235 GB, free: 99.43 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/0.2863, allocations: 394 kB / 1.235 GB, free: 99.04 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2863, allocations: 8 kB / 1.235 GB, free: 99.03 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2863, allocations: 0 / 1.235 GB, free: 99.03 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2863, allocations: 0 / 1.235 GB, free: 99.03 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.2867, allocations: 0.5479 MB / 1.236 GB, free: 98.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2867, allocations: 0 / 1.236 GB, free: 98.43 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.287, allocations: 71.89 kB / 1.236 GB, free: 98.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.287, allocations: 7.875 kB / 1.236 GB, free: 98.36 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2871, allocations: 4 kB / 1.236 GB, free: 98.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2871, allocations: 4 kB / 1.236 GB, free: 98.35 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2871, allocations: 0 / 1.236 GB, free: 98.35 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/0.291, allocations: 3.29 MB / 1.239 GB, free: 94.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.2911, allocations: 128.5 kB / 1.239 GB, free: 94.76 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.2911, allocations: 16.06 kB / 1.239 GB, free: 94.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.2914, allocations: 31.95 kB / 1.239 GB, free: 94.71 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.2914, allocations: 23.97 kB / 1.239 GB, free: 94.69 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2915, allocations: 15.92 kB / 1.239 GB, free: 94.67 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002783/0.2917, allocations: 346.9 kB / 1.24 GB, free: 94.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2918, allocations: 3.938 kB / 1.24 GB, free: 94.33 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006253/0.2924, allocations: 231.2 kB / 1.24 GB, free: 94.11 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001126/0.2925, allocations: 111.5 kB / 1.24 GB, free: 93.99 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008937/0.2934, allocations: 0.5155 MB / 1.241 GB, free: 93.47 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2934, allocations: 4 kB / 1.241 GB, free: 93.47 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.2937, allocations: 164.1 kB / 1.241 GB, free: 93.31 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.2943, allocations: 100.4 kB / 1.241 GB, free: 93.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2956, allocations: 1.328 MB / 1.242 GB, free: 91.84 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.2958, allocations: 0.8589 MB / 1.243 GB, free: 90.95 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.296, allocations: 60.14 kB / 1.243 GB, free: 90.89 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2961, allocations: 43.42 kB / 1.243 GB, free: 90.85 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.2961, allocations: 0 / 1.243 GB, free: 90.85 MB / 0.823 GB Notification: Performance of Templates: time 0.007571/0.3037, allocations: 5.349 MB / 1.248 GB, free: 85.55 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)