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.618/2.618, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001381/0.00138, allocations: 174.5 kB / 371 MB, free: 10.88 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.075/2.075, allocations: 205.4 MB / 0.6297 GB, free: 10.53 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.0008834/0.0008829, allocations: 91.64 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004983, allocations: 13 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2223, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003691/0.226, allocations: 2.661 MB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2277, allocations: 0.7843 MB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.228, allocations: 11.94 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.2283, allocations: 63.38 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.2285, allocations: 59.45 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.229, allocations: 151.8 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.2297, allocations: 0.6262 MB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004818/0.2302, allocations: 272.7 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.2304, allocations: 159 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.2307, allocations: 194.7 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.2307, allocations: 16 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.2308, allocations: 16 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.2309, allocations: 87.42 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.231, allocations: 125.4 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.2317, allocations: 0.7444 MB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2317, allocations: 0 / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2317, allocations: 0 / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.2318, allocations: 0 / 0.9843 GB, free: 22.29 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.001916/0.2337, allocations: 0.8728 MB / 0.9851 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2337, allocations: 12.02 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.2339, allocations: 94.52 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.234, allocations: 75.16 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.2348, allocations: 477.9 kB / 0.9857 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.2349, allocations: 45.3 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.235, allocations: 51.98 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.2364, allocations: 0.5615 MB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.2364, allocations: 0 / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/0.2365, allocations: 20 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.2365, allocations: 12 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.238, allocations: 463.7 kB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.2414, allocations: 1.869 MB / 0.9887 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.2436, allocations: 0.5575 MB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006406/0.2442, allocations: 215.4 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.2443, allocations: 8 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.2443, allocations: 34.56 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.346e-06/0.2443, allocations: 0 / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001799/0.2461, allocations: 0.5281 MB / 0.99 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.2462, allocations: 106.8 kB / 0.9901 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007243/0.2469, allocations: 0.5107 MB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.247, allocations: 41.69 kB / 0.9906 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.2472, allocations: 312 kB / 0.9909 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.2473, allocations: 111 kB / 0.991 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.2474, allocations: 7.938 kB / 0.991 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2475, allocations: 362.8 kB / 0.9914 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/0.2481, allocations: 156.7 kB / 0.9915 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.2487, allocations: 264.6 kB / 0.9918 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.2494, allocations: 179.6 kB / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2494, allocations: 0 / 0.992 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0014/0.2508, allocations: 484.4 kB / 0.9924 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-05/0.2509, allocations: 146.9 kB / 0.9926 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2509, allocations: 0 / 0.9926 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2509, allocations: 7.984 kB / 0.9926 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.2516, allocations: 91.89 kB / 0.9927 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.2516, allocations: 4 kB / 0.9927 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.2522, allocations: 91.39 kB / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.2522, allocations: 16 kB / 0.9928 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-06/0.2522, allocations: 4 kB / 0.9928 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009516/0.2532, allocations: 343.7 kB / 0.9931 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2532, allocations: 4 kB / 0.9931 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/0.2532, allocations: 4 kB / 0.9931 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.2538, allocations: 75.91 kB / 0.9932 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2538, allocations: 7.938 kB / 0.9932 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.2543, allocations: 71.59 kB / 0.9932 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.2543, allocations: 11.98 kB / 0.9933 GB, free: 12.72 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.0003164/0.2546, allocations: 274.3 kB / 0.9935 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.2547, allocations: 51.34 kB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.2561, allocations: 429.5 kB / 0.994 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.2561, allocations: 4 kB / 0.994 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2561, allocations: 3.938 kB / 0.994 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2561, allocations: 0 / 0.994 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007224/0.2568, allocations: 0.5674 MB / 0.9945 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2569, allocations: 0 / 0.9945 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.2575, allocations: 71.95 kB / 0.9946 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.2575, allocations: 7.938 kB / 0.9946 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.2575, allocations: 7.984 kB / 0.9946 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.2575, allocations: 7.938 kB / 0.9946 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2576, allocations: 3.938 kB / 0.9946 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.2594, allocations: 0.6937 MB / 0.9953 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.2595, allocations: 132.4 kB / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.2596, allocations: 11.98 kB / 0.9955 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.2601, allocations: 44.03 kB / 0.9955 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.2602, allocations: 27.95 kB / 0.9955 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.2603, allocations: 12 kB / 0.9955 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005114/0.2608, allocations: 358.9 kB / 0.9959 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2608, allocations: 0 / 0.9959 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006872/0.2615, allocations: 175.3 kB / 0.996 GB, free: 9.77 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.002089/0.2636, allocations: 1.247 MB / 0.9973 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.2654, allocations: 0.5506 MB / 0.9978 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2654, allocations: 0 / 0.9978 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.266, allocations: 188.1 kB / 0.998 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/0.2669, allocations: 98.17 kB / 0.9981 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/0.274, allocations: 3.094 MB / 1.001 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.2744, allocations: 0.8588 MB / 1.002 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003944/0.2748, allocations: 60.23 kB / 1.002 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.2752, allocations: 203.4 kB / 1.002 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/0.2752, allocations: 4 kB / 1.002 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.3216, allocations: 9.567 MB / 1.012 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003342/0.322, allocations: 203.8 kB / 1.012 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/3.216, allocations: 0 / 1.012 GB, free: 9.723 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)