Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 252 MB / 267 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 182.7 kB / 326.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 0.5777 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 87.22 kB / 0.6822 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 8.375 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2174, allocations: 106.3 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002667/0.2202, allocations: 2.725 MB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2215, allocations: 1.05 MB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.2217, allocations: 15.94 kB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.2219, allocations: 71.3 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.2221, allocations: 55.52 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.2224, allocations: 135.8 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.2228, allocations: 0.5944 MB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.2231, allocations: 234.3 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.2232, allocations: 135.1 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.2234, allocations: 170.8 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.2234, allocations: 16 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.2235, allocations: 16 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.2235, allocations: 75.56 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.2236, allocations: 113.4 kB / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.2239, allocations: 0.6626 MB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.224, allocations: 0 / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.464e-06/0.224, allocations: 0 / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.224, allocations: 0 / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001091/0.2251, allocations: 0.8103 MB / 0.907 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2251, allocations: 8.031 kB / 0.907 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.275e-05/0.2252, allocations: 82.52 kB / 0.9071 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.2253, allocations: 71.11 kB / 0.9072 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.2258, allocations: 445.8 kB / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.2258, allocations: 37 kB / 0.9076 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.2259, allocations: 44 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007689/0.2267, allocations: 0.5179 MB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2267, allocations: 0 / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.2267, allocations: 16 kB / 0.9082 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2267, allocations: 15.94 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.2275, allocations: 423.7 kB / 0.9086 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2295, allocations: 2.045 MB / 0.9106 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007651/0.2302, allocations: 391.8 kB / 0.911 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.2306, allocations: 199.2 kB / 0.9112 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.2306, allocations: 4.234 kB / 0.9112 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.2307, allocations: 34.78 kB / 0.9112 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.332e-06/0.2307, allocations: 0 / 0.9112 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.0009813/0.2317, allocations: 489.1 kB / 0.9117 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2317, allocations: 106.8 kB / 0.9118 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.2322, allocations: 0.4942 MB / 0.9123 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.2322, allocations: 33.7 kB / 0.9123 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.2323, allocations: 283.8 kB / 0.9126 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.2324, allocations: 94.72 kB / 0.9126 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.2324, allocations: 8 kB / 0.9127 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.2325, allocations: 362.7 kB / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.2328, allocations: 152.5 kB / 0.9131 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.2332, allocations: 221.6 kB / 0.9134 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.2335, allocations: 167.8 kB / 0.9135 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2335, allocations: 4 kB / 0.9135 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007643/0.2343, allocations: 444.6 kB / 0.9139 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.2343, allocations: 112.4 kB / 0.9141 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2343, allocations: 4 kB / 0.9141 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2344, allocations: 0 / 0.9141 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2347, allocations: 95.94 kB / 0.9141 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.2347, allocations: 0 / 0.9141 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.235, allocations: 79.5 kB / 0.9142 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.235, allocations: 12 kB / 0.9142 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.235, allocations: 7.953 kB / 0.9142 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005016/0.2355, allocations: 303.8 kB / 0.9145 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.2356, allocations: 0 / 0.9145 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.858e-06/0.2356, allocations: 4 kB / 0.9145 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.2358, allocations: 63.91 kB / 0.9146 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.2358, allocations: 7.938 kB / 0.9146 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.236, allocations: 63.56 kB / 0.9147 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.2361, allocations: 15.94 kB / 0.9147 GB, free: 49.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001753/0.2362, allocations: 253.1 kB / 0.9149 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.2363, allocations: 59.33 kB / 0.915 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/0.237, allocations: 394.3 kB / 0.9154 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.2371, allocations: 0 / 0.9154 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2371, allocations: 0 / 0.9154 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2371, allocations: 0 / 0.9154 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.2375, allocations: 0.5089 MB / 0.9158 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2375, allocations: 0 / 0.9158 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.2379, allocations: 71.89 kB / 0.9159 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2379, allocations: 4 kB / 0.9159 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.2379, allocations: 7.953 kB / 0.9159 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2379, allocations: 3.984 kB / 0.9159 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2379, allocations: 0 / 0.9159 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.2389, allocations: 0.6327 MB / 0.9166 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.239, allocations: 136.5 kB / 0.9167 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.2391, allocations: 8 kB / 0.9167 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.2393, allocations: 39.92 kB / 0.9167 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.2394, allocations: 19.97 kB / 0.9167 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2394, allocations: 8 kB / 0.9168 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003087/0.2397, allocations: 358.9 kB / 0.9171 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2397, allocations: 0 / 0.9171 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003995/0.2401, allocations: 151.4 kB / 0.9172 GB, free: 46.3 MB / 0.6042 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.00113/0.2413, allocations: 1.173 MB / 0.9184 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000915/0.2422, allocations: 0.4971 MB / 0.9189 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2422, allocations: 0 / 0.9189 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.2425, allocations: 159.8 kB / 0.919 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.2431, allocations: 127.5 kB / 0.9191 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.2471, allocations: 2.838 MB / 0.9219 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2473, allocations: 0.8431 MB / 0.9227 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.2475, allocations: 51.44 kB / 0.9228 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.2477, allocations: 187.4 kB / 0.923 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.2477, allocations: 0 / 0.923 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/0.2964, allocations: 9.072 MB / 0.9318 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.2967, allocations: 208.4 kB / 0.932 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/2.543, allocations: 0 / 0.932 GB, free: 31.22 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)