Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 110.2 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 192.4 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 64.47 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2686, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.004482/0.2732, allocations: 2.579 MB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4542/0.7274, allocations: 0.9192 MB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.7279, allocations: 9.812 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.7283, allocations: 62.67 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.7285, allocations: 63.19 kB / 0.7883 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007877/0.7292, allocations: 326.6 kB / 0.7887 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.7298, allocations: 0.6053 MB / 0.7892 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.7302, allocations: 288.1 kB / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.7305, allocations: 214 kB / 0.7897 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.7307, allocations: 240 kB / 0.7899 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.7308, allocations: 71.5 kB / 0.79 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.7309, allocations: 81.89 kB / 0.7901 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.731, allocations: 122.5 kB / 0.7902 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.7312, allocations: 252.5 kB / 0.7905 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006312/0.7318, allocations: 0.7337 MB / 0.7912 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7319, allocations: 3.219 kB / 0.7912 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7319, allocations: 0 / 0.7912 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.7319, allocations: 6.156 kB / 0.7912 GB, free: 46.2 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001133/0.733, allocations: 0.7881 MB / 0.7919 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.7331, allocations: 7.75 kB / 0.792 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.7332, allocations: 56.81 kB / 0.792 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.7337, allocations: 408.1 kB / 0.7924 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.7338, allocations: 33.06 kB / 0.7924 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.7338, allocations: 45.31 kB / 0.7925 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.7345, allocations: 435.1 kB / 0.7929 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.7345, allocations: 7.312 kB / 0.7929 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.7345, allocations: 15.62 kB / 0.7929 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.7345, allocations: 11.62 kB / 0.7929 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.7351, allocations: 316.5 kB / 0.7932 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.7369, allocations: 1.407 MB / 0.7946 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.7375, allocations: 264.4 kB / 0.7948 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.7377, allocations: 116.6 kB / 0.795 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.7377, allocations: 4.984 kB / 0.795 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/0.7381, allocations: 202.7 kB / 0.7952 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.7381, allocations: 1.312 kB / 0.7952 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.0007003/0.7388, allocations: 336.9 kB / 0.7955 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.7389, allocations: 136.8 kB / 0.7956 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.7393, allocations: 424 kB / 0.796 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.7393, allocations: 36.8 kB / 0.7961 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.7395, allocations: 241.2 kB / 0.7963 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.7395, allocations: 84.89 kB / 0.7964 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.7396, allocations: 76.61 kB / 0.7964 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.7397, allocations: 349.1 kB / 0.7968 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.74, allocations: 133 kB / 0.7969 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.7403, allocations: 199.8 kB / 0.7971 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.7407, allocations: 290 kB / 0.7974 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7407, allocations: 0 / 0.7974 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007136/0.7414, allocations: 417.7 kB / 0.7978 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.7415, allocations: 40.89 kB / 0.7978 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7415, allocations: 2.219 kB / 0.7978 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.7415, allocations: 2.688 kB / 0.7978 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.7418, allocations: 59.94 kB / 0.7979 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.7418, allocations: 5.156 kB / 0.7979 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.7422, allocations: 70.91 kB / 0.7979 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.7422, allocations: 22.67 kB / 0.798 GB, free: 43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002919/0.7425, allocations: 243.8 kB / 0.7982 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002423/0.7428, allocations: 189.2 kB / 0.7984 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003617/0.7431, allocations: 286.4 kB / 0.7986 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.7431, allocations: 0 / 0.7986 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005833/0.7437, allocations: 403.6 kB / 0.799 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.7438, allocations: 43.09 kB / 0.7991 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.7438, allocations: 3.938 kB / 0.7991 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.7438, allocations: 2.812 kB / 0.7991 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.744, allocations: 54.67 kB / 0.7991 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.744, allocations: 2.781 kB / 0.7991 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.7443, allocations: 72.78 kB / 0.7992 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.7444, allocations: 15.41 kB / 0.7992 GB, free: 42.29 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.7445, allocations: 202.4 kB / 0.7994 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.7445, allocations: 43.28 kB / 0.7994 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/0.7452, allocations: 295 kB / 0.7997 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.7452, allocations: 3.781 kB / 0.7997 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7452, allocations: 4 kB / 0.7997 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.7452, allocations: 3.875 kB / 0.7997 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009705/0.7462, allocations: 0.7813 MB / 0.8005 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7462, allocations: 0 / 0.8005 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.7464, allocations: 50.72 kB / 0.8006 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7464, allocations: 0 / 0.8006 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.7464, allocations: 9.531 kB / 0.8006 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.7465, allocations: 3.938 kB / 0.8006 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7465, allocations: 4 kB / 0.8006 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.7473, allocations: 496.2 kB / 0.801 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.7473, allocations: 129.6 kB / 0.8012 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.7474, allocations: 7.016 kB / 0.8012 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.7476, allocations: 22.7 kB / 0.8012 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.7476, allocations: 17.83 kB / 0.8012 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.7477, allocations: 7.703 kB / 0.8012 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002917/0.748, allocations: 297.9 kB / 0.8015 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.748, allocations: 1.156 kB / 0.8015 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005207/0.7485, allocations: 152.4 kB / 0.8016 GB, free: 40.83 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.7487, allocations: 111.3 kB / 0.8018 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009307/0.7496, allocations: 0.5737 MB / 0.8023 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7496, allocations: 0.8438 kB / 0.8023 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.7499, allocations: 118 kB / 0.8024 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.7504, allocations: 77.11 kB / 0.8025 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.7515, allocations: 0.6811 MB / 0.8032 GB, free: 39.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.7518, allocations: 0.8124 MB / 0.804 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.7519, allocations: 43.05 kB / 0.804 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.7519, allocations: 0 / 0.804 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.01152/0.7635, allocations: 5.096 MB / 0.809 GB, free: 38.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)