Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.97/1.97, allocations: 288.2 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 186 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009441/0.000944, allocations: 101.3 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005193, allocations: 14.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2809, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003355/0.2844, allocations: 2.681 MB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.287, allocations: 0.7766 MB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009951/0.288, allocations: 15.94 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.2885, allocations: 43.5 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.2897, allocations: 104.7 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.2905, allocations: 163.8 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009895/0.2915, allocations: 417.7 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.2921, allocations: 264.7 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.2923, allocations: 159.1 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2926, allocations: 198.8 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.2927, allocations: 16 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.718e-05/0.2927, allocations: 16 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.2928, allocations: 79.61 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2929, allocations: 125.3 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.2936, allocations: 0.7405 MB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.2936, allocations: 0 / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.128e-06/0.2936, allocations: 0 / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.2937, allocations: 0 / 0.9851 GB, free: 21.8 MB / 0.6198 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.001696/0.2954, allocations: 0.8767 MB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.2954, allocations: 12.02 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.2956, allocations: 98.45 kB / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.2957, allocations: 71.16 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.2964, allocations: 481.9 kB / 0.9866 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.2965, allocations: 41.31 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.2966, allocations: 48 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2976, allocations: 0.5576 MB / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2976, allocations: 3.938 kB / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.2977, allocations: 20 kB / 0.9872 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.2977, allocations: 16 kB / 0.9873 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009258/0.2987, allocations: 447.8 kB / 0.9877 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.3013, allocations: 1.873 MB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.3028, allocations: 0.5693 MB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.3028, allocations: 8 kB / 0.9901 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3029, allocations: 38.55 kB / 0.9901 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 4.157e-06/0.3029, allocations: 3.938 kB / 0.9901 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001286/0.3042, allocations: 0.5208 MB / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.3043, allocations: 110.8 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.3049, allocations: 0.5185 MB / 0.9912 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.305, allocations: 33.7 kB / 0.9913 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.3052, allocations: 312.5 kB / 0.9916 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.308e-05/0.3053, allocations: 110.5 kB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.3054, allocations: 4 kB / 0.9917 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3055, allocations: 362.8 kB / 0.992 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.3059, allocations: 164.7 kB / 0.9922 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.3063, allocations: 260 kB / 0.9924 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.3067, allocations: 183.7 kB / 0.9926 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3067, allocations: 0 / 0.9926 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009311/0.3077, allocations: 472.6 kB / 0.9931 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.308, allocations: 0.7145 MB / 0.9938 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.308, allocations: 4 kB / 0.9938 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.3081, allocations: 4 kB / 0.9938 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.3084, allocations: 99.81 kB / 0.9939 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3085, allocations: 4 kB / 0.9939 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.3088, allocations: 91.39 kB / 0.994 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.3088, allocations: 12 kB / 0.994 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3089, allocations: 4 kB / 0.994 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006025/0.3095, allocations: 343.5 kB / 0.9943 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.3095, allocations: 0 / 0.9943 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.3095, allocations: 4 kB / 0.9943 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.3098, allocations: 79.89 kB / 0.9944 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3098, allocations: 4.188 kB / 0.9944 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.3101, allocations: 75.52 kB / 0.9945 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.3101, allocations: 8 kB / 0.9945 GB, free: 11.84 MB / 0.6198 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.0003825/0.3105, allocations: 276.9 kB / 0.9947 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.3106, allocations: 55.34 kB / 0.9948 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009745/0.3116, allocations: 429.5 kB / 0.9952 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3116, allocations: 4 kB / 0.9952 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.3116, allocations: 0 / 0.9952 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3116, allocations: 7.938 kB / 0.9952 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.3123, allocations: 0.5557 MB / 0.9957 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3123, allocations: 4 kB / 0.9957 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.3126, allocations: 75.89 kB / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3127, allocations: 0 / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.3127, allocations: 8 kB / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3127, allocations: 0 / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3127, allocations: 0 / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.3139, allocations: 0.7015 MB / 0.9965 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.314, allocations: 136.4 kB / 0.9966 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.3141, allocations: 4.062 kB / 0.9966 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.3144, allocations: 56.02 kB / 0.9967 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.3144, allocations: 19.97 kB / 0.9967 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.3145, allocations: 15.98 kB / 0.9967 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003785/0.3149, allocations: 362.9 kB / 0.9971 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.022e-06/0.3149, allocations: 0 / 0.9971 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005316/0.3154, allocations: 175.2 kB / 0.9972 GB, free: 8.887 MB / 0.6198 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.001338/0.3167, allocations: 1.247 MB / 0.9985 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.3178, allocations: 0.5463 MB / 0.999 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3178, allocations: 0 / 0.999 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.3182, allocations: 192.5 kB / 0.9992 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.3187, allocations: 89.94 kB / 0.9993 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.3238, allocations: 4.128 MB / 1.003 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3241, allocations: 0.8705 MB / 1.004 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002749/0.3244, allocations: 68.2 kB / 1.004 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.3246, allocations: 203.4 kB / 1.004 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.3246, allocations: 0 / 1.004 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.3489, allocations: 9.537 MB / 1.014 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.3492, allocations: 196.8 kB / 1.014 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/2.804, allocations: 4 kB / 1.014 GB, free: 7.836 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)