Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.131/2.131, allocations: 248.5 MB / 261 MB, free: 6.008 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.001456/0.001456, allocations: 174.5 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.2 MB / 0.571 GB, free: 11.78 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.001168/0.001167, allocations: 93.73 kB / 0.6754 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.067e-05, allocations: 8 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2112, allocations: 106.3 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8834/1.095, allocations: 136.1 MB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.095, allocations: 89.73 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03868/1.134, allocations: 9.538 MB / 1.033 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/1.134, allocations: 0 / 1.033 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.204e-05/1.134, allocations: 12 kB / 1.033 GB, free: 6.863 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.001952/1.136, allocations: 0.7321 MB / 1.034 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/1.136, allocations: 12.25 kB / 1.034 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/1.136, allocations: 87.45 kB / 1.034 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/1.136, allocations: 75.05 kB / 1.034 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/1.137, allocations: 422.4 kB / 1.034 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/1.137, allocations: 35.38 kB / 1.034 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.137, allocations: 48.75 kB / 1.034 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/1.139, allocations: 477.9 kB / 1.035 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.139, allocations: 0 / 1.035 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/1.139, allocations: 17.62 kB / 1.035 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/1.139, allocations: 15.98 kB / 1.035 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009443/1.14, allocations: 326.1 kB / 1.035 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/1.144, allocations: 1.926 MB / 1.037 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.145, allocations: 346.3 kB / 1.037 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/1.146, allocations: 170 kB / 1.038 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/1.146, allocations: 11.97 kB / 1.038 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.146, allocations: 34.06 kB / 1.038 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.086e-06/1.146, allocations: 0 / 1.038 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0009752/1.147, allocations: 295.5 kB / 1.038 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/1.147, allocations: 110.8 kB / 1.038 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/1.148, allocations: 441.5 kB / 1.038 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/1.148, allocations: 29.58 kB / 1.038 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/1.148, allocations: 268.6 kB / 1.039 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/1.148, allocations: 115.7 kB / 1.039 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/1.148, allocations: 3.812 kB / 1.039 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.149, allocations: 360.3 kB / 1.039 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/1.149, allocations: 101.6 kB / 1.039 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/1.149, allocations: 169.9 kB / 1.039 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/1.15, allocations: 121.5 kB / 1.039 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.15, allocations: 0 / 1.039 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009857/1.151, allocations: 344 kB / 1.04 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.151, allocations: 278.3 kB / 1.04 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.151, allocations: 0 / 1.04 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.151, allocations: 7.938 kB / 1.04 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/1.152, allocations: 87.27 kB / 1.04 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/1.152, allocations: 0 / 1.04 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/1.152, allocations: 75 kB / 1.04 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/1.152, allocations: 15.12 kB / 1.04 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.153, allocations: 6.344 kB / 1.04 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000737/1.153, allocations: 260.4 kB / 1.041 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.153, allocations: 0 / 1.041 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/1.153, allocations: 0 / 1.041 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/1.154, allocations: 74.58 kB / 1.041 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.154, allocations: 4 kB / 1.041 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004962/1.154, allocations: 55.11 kB / 1.041 GB, free: 456 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/1.155, allocations: 11.19 kB / 1.041 GB, free: 448 kB / 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.0002221/1.155, allocations: 118.7 kB / 1.041 GB, free: 332 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/1.155, allocations: 59.28 kB / 1.041 GB, free: 272 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009653/1.156, allocations: 337.3 kB / 1.041 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.156, allocations: 4 kB / 1.041 GB, free: 32 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.156, allocations: 4 kB / 1.041 GB, free: 28 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/1.156, allocations: 3.984 kB / 1.041 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/1.158, allocations: 0.9373 MB / 1.042 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.158, allocations: 0 / 1.042 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007357/1.159, allocations: 79.98 kB / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/1.159, allocations: 3.984 kB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/1.159, allocations: 9.562 kB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/1.159, allocations: 4 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.159, allocations: 0 / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/1.16, allocations: 0.6167 MB / 1.043 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/1.16, allocations: 133.9 kB / 1.043 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/1.161, allocations: 6.562 kB / 1.043 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/1.161, allocations: 47.59 kB / 1.043 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.161, allocations: 23.73 kB / 1.043 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/1.161, allocations: 8 kB / 1.043 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006747/1.162, allocations: 348 kB / 1.043 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.61e-07/1.162, allocations: 0 / 1.043 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008619/1.163, allocations: 153.3 kB / 1.043 GB, free: 14.09 MB / 0.6667 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.001787/1.165, allocations: 1.388 MB / 1.045 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001184/1.166, allocations: 430.7 kB / 1.045 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.166, allocations: 0 / 1.045 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/1.166, allocations: 149.2 kB / 1.045 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/1.167, allocations: 110.6 kB / 1.045 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/1.17, allocations: 0.7081 MB / 1.046 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/1.17, allocations: 0.8558 MB / 1.047 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006613/1.171, allocations: 82.11 kB / 1.047 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/1.171, allocations: 177.4 kB / 1.047 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of SimCode: time 1.292e-06/1.171, allocations: 0 / 1.047 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/1.217, allocations: 9.818 MB / 1.057 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003596/1.217, allocations: 164.5 kB / 1.057 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/4.027, allocations: 3.938 kB / 1.057 GB, free: 0.8086 MB / 0.6667 GB