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.001184/0.001184, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.00207/0.00207, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.127/3.127, allocations: 205.4 MB / 222.1 MB, free: 5.656 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 2.748/2.748, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0007718/0.000772, allocations: 13.12 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3544, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003824/0.3583, allocations: 2.685 MB / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3603, allocations: 0.7805 MB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.3606, allocations: 23.88 kB / 0.7906 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3608, allocations: 47.44 kB / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.3613, allocations: 95.61 kB / 0.7908 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.3617, allocations: 163.8 kB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00067/0.3624, allocations: 421.7 kB / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.3629, allocations: 264.7 kB / 0.7916 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/0.3632, allocations: 155.1 kB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.3634, allocations: 194.8 kB / 0.7919 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/0.3635, allocations: 20 kB / 0.7919 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.3635, allocations: 16 kB / 0.792 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.3636, allocations: 83.53 kB / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.3638, allocations: 125.3 kB / 0.7922 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007317/0.3645, allocations: 0.7405 MB / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3645, allocations: 0 / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3645, allocations: 0 / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.3645, allocations: 0 / 0.7929 GB, free: 6.047 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.001646/0.3662, allocations: 0.869 MB / 0.7937 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.3663, allocations: 11.97 kB / 0.7937 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.3664, allocations: 90.52 kB / 0.7938 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.3665, allocations: 71.16 kB / 0.7939 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.3673, allocations: 497.8 kB / 0.7944 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.3673, allocations: 37.31 kB / 0.7944 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.3674, allocations: 56 kB / 0.7945 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.3686, allocations: 0.5498 MB / 0.795 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3686, allocations: 0 / 0.795 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.3687, allocations: 20 kB / 0.795 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.3687, allocations: 16 kB / 0.795 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.3697, allocations: 455.7 kB / 0.7955 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.3729, allocations: 1.877 MB / 0.7973 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.3745, allocations: 0.5599 MB / 0.7978 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.3745, allocations: 11.98 kB / 0.7979 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.3746, allocations: 38.56 kB / 0.7979 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.3746, allocations: 0 / 0.7979 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.001271/0.3759, allocations: 0.5252 MB / 0.7984 GB, free: 168 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/0.376, allocations: 110.8 kB / 0.7985 GB, free: 32 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.3766, allocations: 0.5146 MB / 0.799 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.3767, allocations: 29.7 kB / 0.799 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.377, allocations: 320.5 kB / 0.7993 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.3771, allocations: 102.5 kB / 0.7994 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.3771, allocations: 12 kB / 0.7995 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3773, allocations: 358.8 kB / 0.7998 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.3777, allocations: 164.6 kB / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.3783, allocations: 260.3 kB / 0.8002 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.3787, allocations: 183.6 kB / 0.8004 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3787, allocations: 0 / 0.8004 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001127/0.3799, allocations: 488.1 kB / 0.8008 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006909/0.3806, allocations: 0.6993 MB / 0.8015 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3806, allocations: 0 / 0.8015 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/0.3806, allocations: 4 kB / 0.8015 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.3811, allocations: 99.88 kB / 0.8016 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.3811, allocations: 0 / 0.8016 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.3816, allocations: 95.39 kB / 0.8017 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.3817, allocations: 12 kB / 0.8017 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3817, allocations: 4 kB / 0.8017 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007486/0.3824, allocations: 343.6 kB / 0.8021 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3825, allocations: 4 kB / 0.8021 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.3825, allocations: 4 kB / 0.8021 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.3828, allocations: 79.83 kB / 0.8021 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3828, allocations: 4 kB / 0.8021 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.3831, allocations: 75.61 kB / 0.8022 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.3832, allocations: 12 kB / 0.8022 GB, free: 12.09 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,$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.0005054/0.3837, allocations: 265 kB / 0.8025 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3838, allocations: 55.33 kB / 0.8025 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.3848, allocations: 429.5 kB / 0.8029 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.3849, allocations: 7.984 kB / 0.803 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3849, allocations: 0 / 0.803 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3849, allocations: 3.953 kB / 0.803 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.3858, allocations: 0.5557 MB / 0.8035 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3858, allocations: 4 kB / 0.8035 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.3862, allocations: 71.89 kB / 0.8036 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3862, allocations: 4 kB / 0.8036 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.3862, allocations: 8 kB / 0.8036 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3862, allocations: 4 kB / 0.8036 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3862, allocations: 0 / 0.8036 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.3876, allocations: 0.691 MB / 0.8043 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.3877, allocations: 132.5 kB / 0.8044 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.3878, allocations: 16 kB / 0.8044 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.3881, allocations: 48.02 kB / 0.8044 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.3882, allocations: 23.97 kB / 0.8045 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.3882, allocations: 11.98 kB / 0.8045 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005131/0.3887, allocations: 366.8 kB / 0.8048 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3887, allocations: 3.938 kB / 0.8048 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006242/0.3894, allocations: 175.3 kB / 0.805 GB, free: 9.145 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 (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.001823/0.3912, allocations: 1.248 MB / 0.8062 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.3926, allocations: 0.5424 MB / 0.8068 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3926, allocations: 4 kB / 0.8068 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.3931, allocations: 192.5 kB / 0.8069 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007161/0.3938, allocations: 101.5 kB / 0.807 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.4005, allocations: 4.119 MB / 0.8111 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.4012, allocations: 0.8705 MB / 0.8119 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003408/0.4016, allocations: 68.22 kB / 0.812 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.4019, allocations: 207.4 kB / 0.8122 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of SimCode: time 1.072e-06/0.4019, allocations: 0 / 0.8122 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.4291, allocations: 9.53 MB / 0.8215 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.4294, allocations: 195.1 kB / 0.8217 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.638, allocations: 0 / 0.8217 GB, free: 8.066 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/linux/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) Environment - environmentSimulation: