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.107/2.107, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001466/0.001466, allocations: 184.8 kB / 315.4 MB, free: 3.984 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.987/1.987, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 90.53 kB / 0.6704 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.96e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2012, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8439/1.045, allocations: 136.3 MB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/1.046, allocations: 81.25 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03746/1.083, allocations: 9.476 MB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/1.083, allocations: 3.938 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.86e-05/1.083, allocations: 16 kB / 1.027 GB, free: 10.59 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.001661/1.085, allocations: 0.7233 MB / 1.027 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.085, allocations: 15.97 kB / 1.027 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/1.085, allocations: 71.16 kB / 1.027 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008864/1.086, allocations: 435.6 kB / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/1.086, allocations: 15.98 kB / 1.028 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.086, allocations: 31.94 kB / 1.028 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008687/1.087, allocations: 291.4 kB / 1.028 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/1.088, allocations: 420.7 kB / 1.029 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.088, allocations: 4 kB / 1.029 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/1.088, allocations: 0 / 1.029 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/1.088, allocations: 12 kB / 1.029 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/1.092, allocations: 1.816 MB / 1.03 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008865/1.093, allocations: 322.2 kB / 1.031 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/1.093, allocations: 159.4 kB / 1.031 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/1.093, allocations: 4 kB / 1.031 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.093, allocations: 38.14 kB / 1.031 GB, free: 7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/1.093, allocations: 0 / 1.031 GB, free: 7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.000804/1.094, allocations: 279 kB / 1.031 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/1.094, allocations: 106.8 kB / 1.031 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/1.095, allocations: 342.1 kB / 1.032 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/1.095, allocations: 25.7 kB / 1.032 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/1.095, allocations: 275 kB / 1.032 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/1.095, allocations: 112.3 kB / 1.032 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/1.095, allocations: 0 / 1.032 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.096, allocations: 347.9 kB / 1.032 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/1.096, allocations: 103.5 kB / 1.032 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/1.096, allocations: 156.8 kB / 1.032 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/1.097, allocations: 122.5 kB / 1.033 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/1.097, allocations: 0 / 1.033 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008107/1.097, allocations: 307.9 kB / 1.033 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/1.098, allocations: 277.6 kB / 1.033 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.098, allocations: 3.938 kB / 1.033 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.098, allocations: 4 kB / 1.033 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/1.098, allocations: 87.5 kB / 1.033 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/1.098, allocations: 0 / 1.033 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/1.099, allocations: 59.72 kB / 1.033 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/1.099, allocations: 8 kB / 1.033 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.099, allocations: 7.938 kB / 1.033 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006142/1.1, allocations: 237.8 kB / 1.034 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.1, allocations: 7.984 kB / 1.034 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/1.1, allocations: 4 kB / 1.034 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/1.1, allocations: 67.03 kB / 1.034 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.1, allocations: 4 kB / 1.034 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/1.101, allocations: 39.81 kB / 1.034 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/1.101, allocations: 11.88 kB / 1.034 GB, free: 4.551 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.0001655/1.101, allocations: 115.3 kB / 1.034 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006771/1.102, allocations: 274.1 kB / 1.034 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.102, allocations: 43.48 kB / 1.034 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008217/1.102, allocations: 312.6 kB / 1.034 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.103, allocations: 4 kB / 1.034 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.103, allocations: 0 / 1.034 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.103, allocations: 0 / 1.034 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/1.104, allocations: 0.8427 MB / 1.035 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.104, allocations: 4 kB / 1.035 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/1.105, allocations: 71.83 kB / 1.035 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/1.105, allocations: 12.08 kB / 1.035 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/1.105, allocations: 4 kB / 1.035 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/1.105, allocations: 3.938 kB / 1.035 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.105, allocations: 0 / 1.035 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.106, allocations: 0.5819 MB / 1.036 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.106, allocations: 123.2 kB / 1.036 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/1.106, allocations: 7.984 kB / 1.036 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/1.107, allocations: 36.03 kB / 1.036 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/1.107, allocations: 31.73 kB / 1.036 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/1.107, allocations: 4 kB / 1.036 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004496/1.107, allocations: 268.1 kB / 1.036 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.926e-06/1.108, allocations: 0 / 1.036 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007878/1.108, allocations: 151.2 kB / 1.036 GB, free: 2.188 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.001647/1.11, allocations: 1.344 MB / 1.038 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.111, allocations: 401.1 kB / 1.038 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.111, allocations: 0 / 1.038 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/1.111, allocations: 137.2 kB / 1.038 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/1.112, allocations: 96.14 kB / 1.038 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/1.114, allocations: 0.6661 MB / 1.039 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/1.115, allocations: 0.8553 MB / 1.04 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005728/1.116, allocations: 69.22 kB / 1.04 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/1.116, allocations: 173 kB / 1.04 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of SimCode: time 1.212e-06/1.116, allocations: 4 kB / 1.04 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05154/1.167, allocations: 8.307 MB / 1.048 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003521/1.168, allocations: 152.2 kB / 1.048 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.805, allocations: 0 / 1.048 GB, free: 6.465 MB / 0.6667 GB