Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 253.2 MB / 260.6 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 179 kB / 319.9 MB, free: 3.023 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.5 MB / 0.5708 GB, free: 15.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 101.9 kB / 0.6751 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.133e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2056, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8833/1.089, allocations: 136.3 MB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/1.089, allocations: 83.11 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03631/1.126, allocations: 9.47 MB / 1.031 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/1.126, allocations: 0 / 1.031 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.246e-05/1.126, allocations: 16 kB / 1.031 GB, free: 9.152 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.001609/1.127, allocations: 0.7299 MB / 1.032 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.128, allocations: 12.23 kB / 1.032 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/1.128, allocations: 71.14 kB / 1.032 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/1.129, allocations: 437 kB / 1.032 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/1.129, allocations: 12 kB / 1.032 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/1.129, allocations: 31.98 kB / 1.032 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008211/1.13, allocations: 294.9 kB / 1.033 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009826/1.131, allocations: 414.7 kB / 1.033 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.131, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/1.131, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/1.131, allocations: 12 kB / 1.033 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/1.134, allocations: 1.824 MB / 1.035 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/1.135, allocations: 324 kB / 1.035 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/1.135, allocations: 155.7 kB / 1.035 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/1.136, allocations: 4 kB / 1.035 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.136, allocations: 41.83 kB / 1.035 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.176e-06/1.136, allocations: 0 / 1.035 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0007667/1.136, allocations: 265.5 kB / 1.036 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/1.136, allocations: 113.9 kB / 1.036 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/1.137, allocations: 345.1 kB / 1.036 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/1.137, allocations: 29.7 kB / 1.036 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/1.137, allocations: 273.8 kB / 1.036 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/1.137, allocations: 107.6 kB / 1.036 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/1.138, allocations: 0 / 1.036 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.138, allocations: 355.6 kB / 1.037 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/1.138, allocations: 96.22 kB / 1.037 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/1.138, allocations: 158.1 kB / 1.037 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/1.139, allocations: 115.2 kB / 1.037 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.139, allocations: 0 / 1.037 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007824/1.139, allocations: 318.2 kB / 1.037 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/1.14, allocations: 272.7 kB / 1.038 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.14, allocations: 0 / 1.038 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.14, allocations: 4 kB / 1.038 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/1.14, allocations: 90.27 kB / 1.038 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.14, allocations: 0 / 1.038 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/1.141, allocations: 55.7 kB / 1.038 GB, free: 3.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/1.141, allocations: 10.94 kB / 1.038 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.141, allocations: 4 kB / 1.038 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005929/1.142, allocations: 231.1 kB / 1.038 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.142, allocations: 7.953 kB / 1.038 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/1.142, allocations: 4 kB / 1.038 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/1.142, allocations: 75.33 kB / 1.038 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.142, allocations: 3.938 kB / 1.038 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/1.143, allocations: 35.89 kB / 1.038 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/1.143, allocations: 11.44 kB / 1.038 GB, free: 3.113 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.0001548/1.143, allocations: 117.4 kB / 1.038 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.143, allocations: 43.44 kB / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008076/1.144, allocations: 302.7 kB / 1.039 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.144, allocations: 4 kB / 1.039 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.144, allocations: 0 / 1.039 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.144, allocations: 4 kB / 1.039 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/1.145, allocations: 0.8434 MB / 1.039 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.145, allocations: 0 / 1.039 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/1.146, allocations: 82.97 kB / 1.04 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.146, allocations: 8.094 kB / 1.04 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/1.146, allocations: 0 / 1.04 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.146, allocations: 4 kB / 1.04 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.146, allocations: 7.875 kB / 1.04 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.147, allocations: 0.5827 MB / 1.04 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/1.148, allocations: 127.8 kB / 1.04 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/1.148, allocations: 4 kB / 1.04 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/1.148, allocations: 36.03 kB / 1.04 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/1.148, allocations: 19.72 kB / 1.04 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/1.148, allocations: 11.95 kB / 1.04 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004263/1.149, allocations: 268.4 kB / 1.041 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.149, allocations: 0 / 1.041 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000781/1.149, allocations: 151.1 kB / 1.041 GB, free: 0.9492 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.0001889/1.15, allocations: 113 kB / 1.041 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.151, allocations: 405.4 kB / 1.041 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.151, allocations: 7.938 kB / 1.041 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/1.151, allocations: 133 kB / 1.041 GB, free: 500 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008151/1.152, allocations: 101.2 kB / 1.041 GB, free: 420 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.154, allocations: 0.5943 MB / 1.042 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/1.154, allocations: 0.8592 MB / 1.043 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005656/1.155, allocations: 69.23 kB / 1.043 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.155, allocations: 27.44 kB / 1.043 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of SimCode: time 1.012e-06/1.155, allocations: 0 / 1.043 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of Templates: time 0.02106/1.176, allocations: 4.489 MB / 1.047 GB, free: 10.45 MB / 0.6667 GB