Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",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.0009214/0.0009215, allocations: 89.97 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.005865/0.005865, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.418/1.418, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.616/1.616, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000521/0.0005213, allocations: 13.78 kB / 0.6744 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002938/0.2295, allocations: 2.83 MB / 0.7908 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.2307, allocations: 0.7842 MB / 0.7915 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.231, allocations: 11.94 kB / 0.7915 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.2312, allocations: 75.31 kB / 0.7916 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2314, allocations: 59.52 kB / 0.7917 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.2318, allocations: 231.8 kB / 0.7919 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.2323, allocations: 0.6611 MB / 0.7925 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005224/0.2329, allocations: 397.7 kB / 0.7929 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.2331, allocations: 166.9 kB / 0.7931 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.2333, allocations: 206.5 kB / 0.7933 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.2333, allocations: 16 kB / 0.7933 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.849e-05/0.2334, allocations: 16 kB / 0.7933 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.2335, allocations: 83.5 kB / 0.7934 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2336, allocations: 267.9 kB / 0.7936 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.2343, allocations: 0.8642 MB / 0.7945 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2343, allocations: 0 / 0.7945 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2343, allocations: 0 / 0.7945 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2343, allocations: 0 / 0.7945 GB, free: 4.754 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001358/0.2357, allocations: 0.8653 MB / 0.7953 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2357, allocations: 12.03 kB / 0.7953 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.2359, allocations: 98.64 kB / 0.7954 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.236, allocations: 72.09 kB / 0.7955 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.2366, allocations: 495.1 kB / 0.796 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.2366, allocations: 37.69 kB / 0.796 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.2367, allocations: 52.38 kB / 0.7961 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.2377, allocations: 0.5696 MB / 0.7966 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2377, allocations: 0 / 0.7966 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.2377, allocations: 28 kB / 0.7966 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.2378, allocations: 12 kB / 0.7966 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008937/0.2387, allocations: 451.7 kB / 0.7971 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.2411, allocations: 1.88 MB / 0.7989 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.2424, allocations: 0.5665 MB / 0.7995 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.2429, allocations: 216.8 kB / 0.7997 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.2429, allocations: 4 kB / 0.7997 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.243, allocations: 42.5 kB / 0.7997 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.243, allocations: 0 / 0.7997 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.001178/0.2442, allocations: 0.5364 MB / 0.8002 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.2442, allocations: 106.8 kB / 0.8003 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.2448, allocations: 0.5108 MB / 0.8008 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/0.2448, allocations: 37.69 kB / 0.8009 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.2451, allocations: 308 kB / 0.8012 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.2452, allocations: 114.3 kB / 0.8013 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.2452, allocations: 41.7 kB / 0.8013 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2454, allocations: 358.8 kB / 0.8017 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.2458, allocations: 164.7 kB / 0.8018 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.2462, allocations: 268.3 kB / 0.8021 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007244/0.2469, allocations: 386.4 kB / 0.8024 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2469, allocations: 4 kB / 0.8024 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008801/0.2478, allocations: 492 kB / 0.8029 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.316e-05/0.2479, allocations: 143.1 kB / 0.8031 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2479, allocations: 0 / 0.8031 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.248, allocations: 8 kB / 0.8031 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.2483, allocations: 95.81 kB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.2483, allocations: 4 kB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.2487, allocations: 87.48 kB / 0.8032 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.2487, allocations: 16 kB / 0.8033 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.2487, allocations: 4 kB / 0.8033 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000609/0.2493, allocations: 343.5 kB / 0.8036 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.2493, allocations: 0 / 0.8036 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.2493, allocations: 4 kB / 0.8036 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.2496, allocations: 84.05 kB / 0.8037 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2496, allocations: 4 kB / 0.8037 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.2499, allocations: 71.5 kB / 0.8037 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.2499, allocations: 19.94 kB / 0.8038 GB, free: 10.86 MB / 0.6231 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 0.0002444/0.2502, allocations: 269 kB / 0.804 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.2503, allocations: 51.34 kB / 0.8041 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008712/0.2511, allocations: 429.5 kB / 0.8045 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.2512, allocations: 7.938 kB / 0.8045 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2512, allocations: 3.984 kB / 0.8045 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2512, allocations: 4 kB / 0.8045 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.2518, allocations: 0.5557 MB / 0.805 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2518, allocations: 4.062 kB / 0.805 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.2521, allocations: 71.89 kB / 0.8051 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.2521, allocations: 4 kB / 0.8051 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.2522, allocations: 7.938 kB / 0.8051 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2522, allocations: 8 kB / 0.8051 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2522, allocations: 0 / 0.8051 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2534, allocations: 0.6949 MB / 0.8058 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.2535, allocations: 136.3 kB / 0.8059 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.2536, allocations: 11.94 kB / 0.8059 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.2539, allocations: 52.02 kB / 0.806 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.2539, allocations: 19.97 kB / 0.806 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.254, allocations: 15.98 kB / 0.806 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003821/0.2544, allocations: 362.9 kB / 0.8064 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2544, allocations: 0 / 0.8064 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000508/0.2549, allocations: 175.3 kB / 0.8065 GB, free: 7.91 MB / 0.6231 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.001512/0.2564, allocations: 1.256 MB / 0.8078 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.2575, allocations: 0.5544 MB / 0.8083 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2575, allocations: 0.8125 kB / 0.8083 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.2579, allocations: 195.7 kB / 0.8085 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.2586, allocations: 100.7 kB / 0.8086 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006844/0.2654, allocations: 4.9 MB / 0.8134 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.2658, allocations: 0.8588 MB / 0.8142 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002419/0.2661, allocations: 60.23 kB / 0.8143 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.2664, allocations: 207.4 kB / 0.8145 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/0.2664, allocations: 4 kB / 0.8145 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.099/2.366, allocations: 9.311 MB / 0.8236 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/2.366, allocations: 204.3 kB / 0.8238 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/4.75, allocations: 0 / 0.8238 GB, free: 6.215 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)