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.001065/0.001065, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001232/0.001232, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.1 MB, free: 5.887 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 1.763/1.763, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000559/0.0005593, allocations: 20.84 kB / 0.6738 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.253, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.00333/0.2563, allocations: 2.673 MB / 0.79 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.2581, allocations: 0.7766 MB / 0.7908 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.2586, allocations: 15.94 kB / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.2589, allocations: 67.31 kB / 0.7908 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.2592, allocations: 59.45 kB / 0.7909 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.2597, allocations: 139.8 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.2605, allocations: 0.6339 MB / 0.7917 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005012/0.261, allocations: 276.7 kB / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.2613, allocations: 159 kB / 0.7921 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.2615, allocations: 190.7 kB / 0.7923 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.2616, allocations: 16 kB / 0.7923 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-05/0.2616, allocations: 16 kB / 0.7923 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.2617, allocations: 91.53 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.2618, allocations: 129.3 kB / 0.7925 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.2624, allocations: 0.7327 MB / 0.7932 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2624, allocations: 0 / 0.7932 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2625, allocations: 4 kB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.2625, allocations: 0 / 0.7932 GB, free: 5.871 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.00137/0.2638, allocations: 0.8651 MB / 0.7941 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2639, allocations: 12.03 kB / 0.7941 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.264, allocations: 98.45 kB / 0.7942 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.2641, allocations: 75.14 kB / 0.7942 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.2648, allocations: 481.9 kB / 0.7947 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.2648, allocations: 45.3 kB / 0.7947 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/0.2649, allocations: 52 kB / 0.7948 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/0.2659, allocations: 0.5537 MB / 0.7953 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2659, allocations: 0 / 0.7953 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.266, allocations: 24 kB / 0.7954 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.266, allocations: 12 kB / 0.7954 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009283/0.2669, allocations: 459.7 kB / 0.7958 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.2696, allocations: 1.876 MB / 0.7976 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.2709, allocations: 0.556 MB / 0.7982 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.2713, allocations: 219.8 kB / 0.7984 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.2714, allocations: 4 kB / 0.7984 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2714, allocations: 34.56 kB / 0.7984 GB, free: 324 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.2714, allocations: 0 / 0.7984 GB, free: 324 kB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.001155/0.2726, allocations: 0.5325 MB / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.2726, allocations: 106.8 kB / 0.799 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.2732, allocations: 0.5146 MB / 0.7995 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.2733, allocations: 33.7 kB / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.2735, allocations: 308.5 kB / 0.7999 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.2736, allocations: 106.5 kB / 0.8 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.2736, allocations: 12 kB / 0.8 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2738, allocations: 358.8 kB / 0.8003 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.2741, allocations: 156.7 kB / 0.8005 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.2745, allocations: 272.2 kB / 0.8007 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.2749, allocations: 179.7 kB / 0.8009 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2749, allocations: 0 / 0.8009 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008615/0.2758, allocations: 488.3 kB / 0.8014 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.841e-05/0.2759, allocations: 139 kB / 0.8015 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2759, allocations: 7.984 kB / 0.8015 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2759, allocations: 7.938 kB / 0.8015 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.2763, allocations: 91.89 kB / 0.8016 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2763, allocations: 7.938 kB / 0.8016 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.2766, allocations: 91.48 kB / 0.8017 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.2767, allocations: 8 kB / 0.8017 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.2767, allocations: 7.984 kB / 0.8017 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006221/0.2773, allocations: 347.7 kB / 0.8021 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2773, allocations: 0 / 0.8021 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.2774, allocations: 4 kB / 0.8021 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.2776, allocations: 75.91 kB / 0.8021 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2777, allocations: 4 kB / 0.8021 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.2779, allocations: 67.59 kB / 0.8022 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.278, allocations: 19.98 kB / 0.8022 GB, free: 12.29 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.0002945/0.2783, allocations: 276.3 kB / 0.8025 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.2784, allocations: 55.28 kB / 0.8025 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008637/0.2792, allocations: 425.5 kB / 0.8029 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.2793, allocations: 7.938 kB / 0.8029 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2793, allocations: 0 / 0.8029 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2793, allocations: 0 / 0.8029 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.2799, allocations: 0.5556 MB / 0.8035 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.28, allocations: 0 / 0.8035 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.2803, allocations: 83.89 kB / 0.8036 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2803, allocations: 0 / 0.8036 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2803, allocations: 11.98 kB / 0.8036 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2803, allocations: 0 / 0.8036 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2804, allocations: 64 / 0.8036 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2816, allocations: 0.6949 MB / 0.8043 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.2817, allocations: 144.4 kB / 0.8044 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.2818, allocations: 4 kB / 0.8044 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.2821, allocations: 48.03 kB / 0.8044 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2821, allocations: 23.95 kB / 0.8045 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.2822, allocations: 8 kB / 0.8045 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004322/0.2826, allocations: 366.9 kB / 0.8048 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2826, allocations: 0 / 0.8048 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000573/0.2832, allocations: 171.3 kB / 0.805 GB, free: 9.355 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.001528/0.2847, allocations: 1.247 MB / 0.8062 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.2859, allocations: 0.5506 MB / 0.8067 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2859, allocations: 0 / 0.8067 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.2862, allocations: 188.1 kB / 0.8069 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.2869, allocations: 105.2 kB / 0.807 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/0.2924, allocations: 3.098 MB / 0.81 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.2929, allocations: 0.8588 MB / 0.8109 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.2932, allocations: 64.22 kB / 0.8109 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.2935, allocations: 203.4 kB / 0.8111 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of SimCode: time 9.11e-07/0.2935, allocations: 4 kB / 0.8111 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.3305, allocations: 9.552 MB / 0.8205 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.3308, allocations: 196.4 kB / 0.8207 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.427, allocations: 0 / 0.8207 GB, free: 9.305 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: