Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.846/2.846, allocations: 287.3 MB / 302.3 MB, free: 8.207 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.001568/0.001568, allocations: 179.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001226/0.001226, allocations: 108.2 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006723/0.0006727, allocations: 12.25 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2312, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003838/0.2351, allocations: 2.689 MB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.2373, allocations: 0.7805 MB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.2378, allocations: 15.88 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2379, allocations: 43.5 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005737/0.2385, allocations: 105.6 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.2391, allocations: 163.8 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009465/0.24, allocations: 409.8 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005553/0.2406, allocations: 268.7 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.241, allocations: 159.1 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.2413, allocations: 190.8 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.2413, allocations: 16 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.2414, allocations: 16 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.2415, allocations: 79.61 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.2416, allocations: 125.3 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008025/0.2424, allocations: 0.7444 MB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2424, allocations: 0 / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2425, allocations: 4 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.2425, allocations: 0 / 0.9839 GB, free: 22.48 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.00217/0.2447, allocations: 0.8787 MB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.2447, allocations: 12.02 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.2449, allocations: 94.52 kB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.2451, allocations: 71.16 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.246, allocations: 477.9 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.246, allocations: 45.31 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.2461, allocations: 55.94 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.2477, allocations: 0.5575 MB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.2477, allocations: 0 / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.2478, allocations: 27.98 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.2479, allocations: 12 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.2494, allocations: 447.8 kB / 0.9865 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.2534, allocations: 1.873 MB / 0.9883 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.2559, allocations: 0.5692 MB / 0.9889 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.256, allocations: 4 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.2561, allocations: 38.55 kB / 0.9889 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 4.378e-06/0.2561, allocations: 7.922 kB / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001949/0.2581, allocations: 0.5247 MB / 0.9895 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.2582, allocations: 110.8 kB / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008347/0.259, allocations: 0.5146 MB / 0.9901 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.91e-05/0.2591, allocations: 33.7 kB / 0.9901 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.2594, allocations: 304 kB / 0.9904 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2595, allocations: 115 kB / 0.9905 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.2595, allocations: 8 kB / 0.9905 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2596, allocations: 358.8 kB / 0.9908 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006484/0.2603, allocations: 168.6 kB / 0.991 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.261, allocations: 260.5 kB / 0.9913 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/0.2616, allocations: 179.7 kB / 0.9914 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2617, allocations: 0 / 0.9914 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001532/0.2632, allocations: 480.4 kB / 0.9919 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.2634, allocations: 0.703 MB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2634, allocations: 4 kB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.2635, allocations: 4 kB / 0.9926 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/0.2642, allocations: 91.83 kB / 0.9927 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.2642, allocations: 11.92 kB / 0.9927 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.2648, allocations: 95.39 kB / 0.9928 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.2649, allocations: 8 kB / 0.9928 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2649, allocations: 4 kB / 0.9928 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001026/0.266, allocations: 347.5 kB / 0.9931 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.266, allocations: 224 / 0.9931 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.266, allocations: 8 kB / 0.9931 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.2665, allocations: 79.89 kB / 0.9932 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2666, allocations: 7.953 kB / 0.9932 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.2671, allocations: 63.56 kB / 0.9933 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.2671, allocations: 20 kB / 0.9933 GB, free: 12.52 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.0003874/0.2675, allocations: 268.9 kB / 0.9935 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.2677, allocations: 51.34 kB / 0.9936 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.2691, allocations: 433.5 kB / 0.994 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2691, allocations: 4 kB / 0.994 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2692, allocations: 3.953 kB / 0.994 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2692, allocations: 3.984 kB / 0.994 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/0.27, allocations: 0.5518 MB / 0.9946 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.27, allocations: 0 / 0.9946 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.2707, allocations: 75.89 kB / 0.9946 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.2707, allocations: 4 kB / 0.9946 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.2707, allocations: 12 kB / 0.9946 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2708, allocations: 0 / 0.9946 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2708, allocations: 0 / 0.9946 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.2728, allocations: 0.6936 MB / 0.9953 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.2731, allocations: 136.4 kB / 0.9954 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.2732, allocations: 12.06 kB / 0.9955 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.2737, allocations: 48.03 kB / 0.9955 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.2738, allocations: 23.95 kB / 0.9955 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.2739, allocations: 11.98 kB / 0.9955 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005818/0.2745, allocations: 366.9 kB / 0.9959 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2745, allocations: 4 kB / 0.9959 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007994/0.2753, allocations: 175.2 kB / 0.9961 GB, free: 9.574 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.002288/0.2776, allocations: 1.239 MB / 0.9973 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.2795, allocations: 0.5509 MB / 0.9978 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.2795, allocations: 8.062 kB / 0.9978 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006476/0.2802, allocations: 183.7 kB / 0.998 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.2811, allocations: 91.52 kB / 0.9981 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/0.2893, allocations: 4.124 MB / 1.002 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2897, allocations: 0.8783 MB / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004465/0.2902, allocations: 60.23 kB / 1.003 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.2906, allocations: 207.4 kB / 1.003 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of SimCode: time 1.443e-06/0.2906, allocations: 0 / 1.003 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.3396, allocations: 9.543 MB / 1.013 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006553/0.3403, allocations: 189.5 kB / 1.013 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.111, allocations: 0 / 1.013 GB, free: 8.508 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)