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.488/1.488, allocations: 252 MB / 267.3 MB, free: 10.82 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.001119/0.001119, allocations: 168.1 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0008982/0.0008986, allocations: 85.86 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003415, allocations: 8.25 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2438, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003246/0.2471, allocations: 2.89 MB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.2494, allocations: 1.073 MB / 0.9048 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.2501, allocations: 15.94 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.2506, allocations: 83.3 kB / 0.9049 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.251, allocations: 55.52 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.2517, allocations: 227.8 kB / 0.9052 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007684/0.2525, allocations: 0.6333 MB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.253, allocations: 320.5 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.2533, allocations: 143.1 kB / 0.9062 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.2535, allocations: 182.7 kB / 0.9064 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.2536, allocations: 16 kB / 0.9064 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.2537, allocations: 15.94 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.2537, allocations: 79.5 kB / 0.9065 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.2539, allocations: 240.1 kB / 0.9067 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.2544, allocations: 0.7669 MB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2545, allocations: 4 kB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2545, allocations: 0 / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.2545, allocations: 0 / 0.9075 GB, free: 56.48 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.001352/0.2559, allocations: 0.8066 MB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2559, allocations: 16.03 kB / 0.9083 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.2561, allocations: 82.72 kB / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.2562, allocations: 68.09 kB / 0.9084 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.2568, allocations: 458.8 kB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.2569, allocations: 37.38 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.2569, allocations: 40.38 kB / 0.9089 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.2578, allocations: 0.5181 MB / 0.9094 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2578, allocations: 4 kB / 0.9094 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.2579, allocations: 24 kB / 0.9095 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2579, allocations: 12 kB / 0.9095 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000821/0.2587, allocations: 423.7 kB / 0.9099 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2611, allocations: 2.041 MB / 0.9119 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/0.2618, allocations: 395.6 kB / 0.9123 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.2622, allocations: 195.2 kB / 0.9124 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2622, allocations: 8.234 kB / 0.9124 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2622, allocations: 42.73 kB / 0.9125 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.224e-06/0.2623, allocations: 0 / 0.9125 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.0009988/0.2633, allocations: 485.1 kB / 0.9129 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.2633, allocations: 106.8 kB / 0.9131 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.2638, allocations: 0.502 MB / 0.9135 GB, free: 50 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2639, allocations: 37.7 kB / 0.9136 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.2641, allocations: 279.8 kB / 0.9138 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.2641, allocations: 94.72 kB / 0.9139 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.2641, allocations: 12 kB / 0.9139 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.2642, allocations: 358.7 kB / 0.9143 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.2646, allocations: 152.6 kB / 0.9144 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.2649, allocations: 225.5 kB / 0.9146 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.2655, allocations: 344 kB / 0.915 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2655, allocations: 4 kB / 0.915 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007999/0.2663, allocations: 460.5 kB / 0.9154 GB, free: 48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.927e-05/0.2664, allocations: 116.5 kB / 0.9155 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2664, allocations: 4 kB / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.2664, allocations: 0 / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.2668, allocations: 87.83 kB / 0.9156 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2668, allocations: 0 / 0.9156 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2671, allocations: 79.58 kB / 0.9157 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.2671, allocations: 8 kB / 0.9157 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.2671, allocations: 4 kB / 0.9157 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005015/0.2676, allocations: 311.5 kB / 0.916 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2677, allocations: 4 kB / 0.916 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.2677, allocations: 0 / 0.916 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2679, allocations: 72.03 kB / 0.9161 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.268, allocations: 8 kB / 0.9161 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.2682, allocations: 59.5 kB / 0.9161 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2682, allocations: 12 kB / 0.9162 GB, free: 47.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.2684, allocations: 257.7 kB / 0.9164 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.2685, allocations: 47.44 kB / 0.9164 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007129/0.2692, allocations: 390.3 kB / 0.9168 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2692, allocations: 4 kB / 0.9168 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2693, allocations: 3.938 kB / 0.9168 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2693, allocations: 0 / 0.9168 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.2697, allocations: 0.5205 MB / 0.9173 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2697, allocations: 4 kB / 0.9173 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.27, allocations: 71.89 kB / 0.9174 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.27, allocations: 0 / 0.9174 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.27, allocations: 8 kB / 0.9174 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2701, allocations: 0 / 0.9174 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2701, allocations: 0 / 0.9174 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.271, allocations: 0.6444 MB / 0.918 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.2711, allocations: 132.4 kB / 0.9182 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.2712, allocations: 4 kB / 0.9182 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.2714, allocations: 44.03 kB / 0.9182 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.2715, allocations: 19.97 kB / 0.9182 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.2715, allocations: 4 kB / 0.9182 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003422/0.2719, allocations: 362.9 kB / 0.9186 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2719, allocations: 0 / 0.9186 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004754/0.2723, allocations: 147.4 kB / 0.9187 GB, free: 44.5 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 (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.001176/0.2735, allocations: 1.184 MB / 0.9199 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009366/0.2745, allocations: 0.5005 MB / 0.9204 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2745, allocations: 3.938 kB / 0.9204 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.2748, allocations: 164 kB / 0.9205 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.2755, allocations: 110.5 kB / 0.9206 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.2814, allocations: 4.512 MB / 0.925 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2816, allocations: 0.8467 MB / 0.9259 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.2819, allocations: 51.42 kB / 0.9259 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.2821, allocations: 191.4 kB / 0.9261 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of SimCode: time 7.32e-07/0.2822, allocations: 0 / 0.9261 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.3032, allocations: 8.806 MB / 0.9347 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.3035, allocations: 223.1 kB / 0.9349 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.634, allocations: 4 kB / 0.9349 GB, free: 27.92 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)