Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 288.4 MB / 303.3 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 176.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007235/0.0007236, allocations: 86.34 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004189, allocations: 11.16 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002657/0.2248, allocations: 2.669 MB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.226, allocations: 0.7805 MB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002841/0.2263, allocations: 8 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.2266, allocations: 63.31 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.2267, allocations: 71.42 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.2271, allocations: 139.9 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.2275, allocations: 0.6339 MB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.2279, allocations: 268.7 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2281, allocations: 155 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.2282, allocations: 198.7 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.2283, allocations: 16 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.2283, allocations: 19.94 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.2284, allocations: 79.56 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.2285, allocations: 125.3 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.2291, allocations: 0.7405 MB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2291, allocations: 4 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2291, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.2291, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 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.001757/0.2309, allocations: 0.8767 MB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.231, allocations: 12.02 kB / 0.9863 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.2311, allocations: 94.5 kB / 0.9864 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.2312, allocations: 71.16 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.232, allocations: 485.9 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.2321, allocations: 41.31 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.2322, allocations: 51.98 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.2334, allocations: 0.5654 MB / 0.9876 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2335, allocations: 0 / 0.9876 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.2335, allocations: 23.94 kB / 0.9876 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2336, allocations: 12 kB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2348, allocations: 455.8 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.2379, allocations: 1.869 MB / 0.9899 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.2399, allocations: 0.5575 MB / 0.9904 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/0.2405, allocations: 212.8 kB / 0.9906 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.2405, allocations: 4 kB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2406, allocations: 46.48 kB / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.837e-06/0.2406, allocations: 0 / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001235/0.2418, allocations: 0.5203 MB / 0.9912 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.2419, allocations: 106.8 kB / 0.9913 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/0.2424, allocations: 0.5185 MB / 0.9918 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.2424, allocations: 41.64 kB / 0.9918 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2426, allocations: 308 kB / 0.9921 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/0.2427, allocations: 107 kB / 0.9922 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.2427, allocations: 8 kB / 0.9922 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.2428, allocations: 358.8 kB / 0.9926 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.2432, allocations: 164.7 kB / 0.9927 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.2435, allocations: 268 kB / 0.993 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.2439, allocations: 183.7 kB / 0.9931 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2439, allocations: 3.938 kB / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007953/0.2447, allocations: 476.7 kB / 0.9936 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.2448, allocations: 150.7 kB / 0.9938 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2448, allocations: 0 / 0.9938 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2448, allocations: 4 kB / 0.9938 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.2451, allocations: 87.83 kB / 0.9938 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2452, allocations: 11.98 kB / 0.9939 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.2455, allocations: 91.39 kB / 0.9939 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.2455, allocations: 16 kB / 0.994 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.2455, allocations: 9.25 kB / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005427/0.2461, allocations: 339.7 kB / 0.9943 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2461, allocations: 4 kB / 0.9943 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-06/0.2461, allocations: 4 kB / 0.9943 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.2464, allocations: 79.89 kB / 0.9944 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.2464, allocations: 0 / 0.9944 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.2467, allocations: 67.59 kB / 0.9944 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.2467, allocations: 19.94 kB / 0.9945 GB, free: 12.02 MB / 0.6198 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,$PRE.vavBoxCon.hysWitHol.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.247, allocations: 274.3 kB / 0.9947 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.247, allocations: 51.34 kB / 0.9948 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008021/0.2479, allocations: 429.5 kB / 0.9952 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2479, allocations: 4 kB / 0.9952 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2479, allocations: 0 / 0.9952 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2479, allocations: 7.922 kB / 0.9952 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.2484, allocations: 0.5595 MB / 0.9957 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2484, allocations: 0 / 0.9957 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.2487, allocations: 79.89 kB / 0.9958 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.2487, allocations: 4 kB / 0.9958 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.2488, allocations: 4.062 kB / 0.9958 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2488, allocations: 11.94 kB / 0.9958 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2488, allocations: 0 / 0.9958 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2498, allocations: 0.6938 MB / 0.9965 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.2499, allocations: 136.5 kB / 0.9966 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.25, allocations: 8 kB / 0.9966 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.2503, allocations: 39.97 kB / 0.9967 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.2504, allocations: 27.95 kB / 0.9967 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2504, allocations: 19.98 kB / 0.9967 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003862/0.2508, allocations: 358.9 kB / 0.9971 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2508, allocations: 0 / 0.9971 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004999/0.2513, allocations: 175.3 kB / 0.9972 GB, free: 9.066 MB / 0.6198 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 (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.001255/0.2526, allocations: 1.243 MB / 0.9984 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.2536, allocations: 0.5505 MB / 0.999 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2536, allocations: 0 / 0.999 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.2539, allocations: 192.2 kB / 0.9992 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.2546, allocations: 90.19 kB / 0.9993 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.2591, allocations: 3.101 MB / 1.002 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2593, allocations: 0.8627 MB / 1.003 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.2596, allocations: 60.19 kB / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.2598, allocations: 207.4 kB / 1.003 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.2598, allocations: 0 / 1.003 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.2824, allocations: 9.577 MB / 1.013 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.2826, allocations: 206.8 kB / 1.013 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.659, allocations: 0 / 1.013 GB, free: 9.027 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)