Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 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.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_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.001395/0.001395, allocations: 91.84 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.009922/0.009922, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6368, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.002748/0.6395, allocations: 2.835 MB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.6406, allocations: 0.7909 MB / 0.9587 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.6409, allocations: 18.56 kB / 0.9587 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.6411, allocations: 71.72 kB / 0.9588 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.6413, allocations: 58.8 kB / 0.9589 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.6416, allocations: 235.6 kB / 0.9591 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.6421, allocations: 0.6499 MB / 0.9597 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.6426, allocations: 395 kB / 0.9601 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.6427, allocations: 165.7 kB / 0.9603 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.6429, allocations: 201.3 kB / 0.9604 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.643, allocations: 16.12 kB / 0.9605 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.964e-05/0.643, allocations: 20.03 kB / 0.9605 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.6431, allocations: 79.78 kB / 0.9606 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.6432, allocations: 252.3 kB / 0.9608 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.6437, allocations: 0.8634 MB / 0.9616 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6438, allocations: 5.359 kB / 0.9616 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6438, allocations: 0 / 0.9616 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.6438, allocations: 0 / 0.9616 GB, free: 2.562 MB / 0.7169 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.00118/0.645, allocations: 0.8316 MB / 0.9625 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.645, allocations: 9.781 kB / 0.9625 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.512e-05/0.6451, allocations: 90.92 kB / 0.9626 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.891e-05/0.6452, allocations: 71.06 kB / 0.9626 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.6457, allocations: 465.2 kB / 0.9631 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.6457, allocations: 39.09 kB / 0.9631 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.6458, allocations: 51.28 kB / 0.9632 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/0.6467, allocations: 0.5675 MB / 0.9637 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.6468, allocations: 3.984 kB / 0.9637 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.6468, allocations: 21.16 kB / 0.9637 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.6468, allocations: 17.19 kB / 0.9637 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008884/0.6477, allocations: 451.5 kB / 0.9642 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.6501, allocations: 1.866 MB / 0.966 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.6515, allocations: 0.5565 MB / 0.9665 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.652, allocations: 220.6 kB / 0.9668 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.652, allocations: 6.828 kB / 0.9668 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.652, allocations: 45.09 kB / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.532e-06/0.6521, allocations: 0 / 0.9668 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.001252/0.6533, allocations: 0.5291 MB / 0.9673 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.6534, allocations: 107 kB / 0.9674 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.654, allocations: 0.4939 MB / 0.9679 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.654, allocations: 44.47 kB / 0.9679 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.6543, allocations: 293 kB / 0.9682 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.6544, allocations: 107.9 kB / 0.9683 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.6544, allocations: 46.06 kB / 0.9684 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6546, allocations: 362.1 kB / 0.9687 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.655, allocations: 157.2 kB / 0.9689 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.6554, allocations: 265 kB / 0.9691 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.6562, allocations: 384.5 kB / 0.9695 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6562, allocations: 4.656 kB / 0.9695 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009336/0.6572, allocations: 487.5 kB / 0.97 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.206e-05/0.6573, allocations: 143 kB / 0.9701 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6573, allocations: 5.984 kB / 0.9701 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6573, allocations: 3.719 kB / 0.9701 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.6577, allocations: 93.11 kB / 0.9702 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6577, allocations: 3.406 kB / 0.9702 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.658, allocations: 88.48 kB / 0.9703 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.6581, allocations: 17.17 kB / 0.9703 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-06/0.6581, allocations: 4.375 kB / 0.9703 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006488/0.6587, allocations: 347.2 kB / 0.9706 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.6587, allocations: 1.344 kB / 0.9706 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.6588, allocations: 4.188 kB / 0.9706 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.659, allocations: 87.62 kB / 0.9707 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6591, allocations: 3.406 kB / 0.9707 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.6593, allocations: 71.95 kB / 0.9708 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.6594, allocations: 9.938 kB / 0.9708 GB, free: 12.2 MB / 0.7325 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.0002457/0.6596, allocations: 272.6 kB / 0.9711 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.6597, allocations: 46.34 kB / 0.9711 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009209/0.6606, allocations: 433.9 kB / 0.9715 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.6606, allocations: 2.938 kB / 0.9715 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6607, allocations: 0.9688 kB / 0.9715 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6607, allocations: 4 kB / 0.9715 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.6613, allocations: 0.5466 MB / 0.9721 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6613, allocations: 1.094 kB / 0.9721 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.6616, allocations: 77.77 kB / 0.9721 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6616, allocations: 1.406 kB / 0.9721 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.6617, allocations: 9.094 kB / 0.9721 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6617, allocations: 6.062 kB / 0.9722 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6617, allocations: 4 kB / 0.9722 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.663, allocations: 0.6876 MB / 0.9728 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.6631, allocations: 129.1 kB / 0.973 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.6632, allocations: 15.25 kB / 0.973 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.6635, allocations: 48.28 kB / 0.973 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.6636, allocations: 27.39 kB / 0.973 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.6636, allocations: 7.094 kB / 0.973 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004097/0.664, allocations: 353.9 kB / 0.9734 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.664, allocations: 0 / 0.9734 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005778/0.6646, allocations: 171.7 kB / 0.9735 GB, free: 10.35 MB / 0.7325 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.001633/0.6662, allocations: 1.242 MB / 0.9748 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.6674, allocations: 0.5583 MB / 0.9753 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6675, allocations: 2.062 kB / 0.9753 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.6679, allocations: 189.9 kB / 0.9755 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006661/0.6685, allocations: 93.41 kB / 0.9756 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/0.6756, allocations: 4.784 MB / 0.9802 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.6761, allocations: 0.8549 MB / 0.9811 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.6764, allocations: 56.16 kB / 0.9811 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.6767, allocations: 195.4 kB / 0.9813 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.6767, allocations: 3.938 kB / 0.9813 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.6966, allocations: 9.092 MB / 0.9902 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.6968, allocations: 217.2 kB / 0.9904 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.72, allocations: 2.625 kB / 0.9904 GB, free: 10.73 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)