Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 180.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009217/0.0009217, allocations: 89.7 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.898e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1731, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6341/0.8072, allocations: 136.5 MB / 1.019 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.8075, allocations: 87.61 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02263/0.8302, allocations: 9.461 MB / 1.028 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8302, allocations: 0 / 1.028 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.435e-05/0.8303, allocations: 12 kB / 1.028 GB, free: 9.094 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001079/0.8314, allocations: 0.7373 MB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8314, allocations: 8.031 kB / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.8315, allocations: 71.09 kB / 1.029 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.8321, allocations: 435.1 kB / 1.029 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.8321, allocations: 12.22 kB / 1.029 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.8322, allocations: 31.98 kB / 1.029 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005122/0.8327, allocations: 302.5 kB / 1.03 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.8333, allocations: 415.1 kB / 1.03 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.8334, allocations: 0 / 1.03 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.8334, allocations: 0 / 1.03 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.8334, allocations: 12 kB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.8356, allocations: 1.827 MB / 1.032 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.8362, allocations: 321.5 kB / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.8364, allocations: 155.9 kB / 1.032 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.8364, allocations: 4 kB / 1.032 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.8365, allocations: 37.88 kB / 1.032 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.8365, allocations: 0 / 1.032 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0004779/0.837, allocations: 285.6 kB / 1.032 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.837, allocations: 102.8 kB / 1.033 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.8374, allocations: 345.1 kB / 1.033 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.8374, allocations: 25.7 kB / 1.033 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.8376, allocations: 271.4 kB / 1.033 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.8377, allocations: 108.3 kB / 1.033 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.8377, allocations: 0 / 1.033 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8379, allocations: 356.3 kB / 1.034 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.838, allocations: 97.41 kB / 1.034 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.8382, allocations: 159.8 kB / 1.034 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.8384, allocations: 113.7 kB / 1.034 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8384, allocations: 0 / 1.034 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004656/0.8389, allocations: 318.1 kB / 1.034 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.839, allocations: 277.1 kB / 1.035 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.839, allocations: 0 / 1.035 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.839, allocations: 4 kB / 1.035 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.8394, allocations: 87.64 kB / 1.035 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.8394, allocations: 7.938 kB / 1.035 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.8397, allocations: 47.72 kB / 1.035 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.8397, allocations: 15.92 kB / 1.035 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.8398, allocations: 8 kB / 1.035 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003598/0.8401, allocations: 233.3 kB / 1.035 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.8401, allocations: 0 / 1.035 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.8401, allocations: 7.953 kB / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.8404, allocations: 75.28 kB / 1.035 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.8405, allocations: 0 / 1.035 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.8407, allocations: 39.88 kB / 1.035 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.8407, allocations: 11.25 kB / 1.035 GB, free: 3.039 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001363/0.8409, allocations: 112.9 kB / 1.035 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005879/0.8415, allocations: 278.1 kB / 1.035 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.8416, allocations: 47.39 kB / 1.036 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.8421, allocations: 307.8 kB / 1.036 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.8421, allocations: 8 kB / 1.036 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8421, allocations: 0 / 1.036 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8421, allocations: 3.984 kB / 1.036 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.8431, allocations: 0.8406 MB / 1.037 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8432, allocations: 0 / 1.037 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.8435, allocations: 83.8 kB / 1.037 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8435, allocations: 0 / 1.037 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.8436, allocations: 4 kB / 1.037 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.8436, allocations: 4 kB / 1.037 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8436, allocations: 4 kB / 1.037 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.8443, allocations: 0.5817 MB / 1.037 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.8444, allocations: 125.7 kB / 1.037 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.8444, allocations: 0 / 1.037 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.8447, allocations: 36.03 kB / 1.037 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.8448, allocations: 29.3 kB / 1.037 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.8448, allocations: 8 kB / 1.037 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002705/0.8451, allocations: 263.6 kB / 1.038 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8451, allocations: 0 / 1.038 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005135/0.8456, allocations: 151.2 kB / 1.038 GB, free: 0.6758 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete 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.001074/0.8467, allocations: 1.343 MB / 1.039 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005943/0.8473, allocations: 394.3 kB / 1.04 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8473, allocations: 4 kB / 1.04 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.8475, allocations: 132.6 kB / 1.04 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.848, allocations: 108.5 kB / 1.04 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.8493, allocations: 0.67 MB / 1.04 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.8498, allocations: 0.8553 MB / 1.041 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.8501, allocations: 73.22 kB / 1.041 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.8503, allocations: 173.9 kB / 1.042 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of SimCode: time 4.41e-07/0.8503, allocations: 4 kB / 1.042 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.8766, allocations: 8.302 MB / 1.05 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.8769, allocations: 160.3 kB / 1.05 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.95, allocations: 0 / 1.05 GB, free: 4.961 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)