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.0009868/0.0009869, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001078/0.001078, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.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.919/1.919, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005905/0.0005907, allocations: 18.53 kB / 0.6735 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3097, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.003229/0.313, allocations: 2.141 MB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3148, allocations: 0.8432 MB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.315, allocations: 8 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.161e-05/0.3151, allocations: 35.53 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.3154, allocations: 67.78 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.316, allocations: 230.6 kB / 0.7904 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.3165, allocations: 325.4 kB / 0.7907 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.3168, allocations: 197 kB / 0.7909 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.317, allocations: 143.3 kB / 0.791 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3172, allocations: 151.1 kB / 0.7911 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.3173, allocations: 20 kB / 0.7912 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.3174, allocations: 27.98 kB / 0.7912 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.3175, allocations: 63.69 kB / 0.7912 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.3176, allocations: 97.45 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.318, allocations: 0.5535 MB / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3181, allocations: 0 / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3181, allocations: 0 / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3181, allocations: 0 / 0.7919 GB, free: 7.07 MB / 0.6075 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.001194/0.3193, allocations: 0.7112 MB / 0.7926 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3193, allocations: 12.03 kB / 0.7926 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.3194, allocations: 51.44 kB / 0.7926 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.32, allocations: 390.9 kB / 0.793 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.3201, allocations: 32.98 kB / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.3201, allocations: 51.98 kB / 0.7931 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.3209, allocations: 426.2 kB / 0.7935 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3209, allocations: 7.938 kB / 0.7935 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.3209, allocations: 16 kB / 0.7935 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3209, allocations: 12 kB / 0.7935 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.3215, allocations: 315.8 kB / 0.7938 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.3236, allocations: 1.44 MB / 0.7952 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.3242, allocations: 261.8 kB / 0.7955 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3242, allocations: 0 / 0.7955 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.3246, allocations: 206.5 kB / 0.7957 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.3246, allocations: 0 / 0.7957 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007396/0.3253, allocations: 341 kB / 0.796 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.3254, allocations: 140.5 kB / 0.7961 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.3259, allocations: 413.7 kB / 0.7965 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.682e-05/0.326, allocations: 33.7 kB / 0.7966 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.3262, allocations: 244 kB / 0.7968 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/0.3263, allocations: 78.83 kB / 0.7969 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.3263, allocations: 7.938 kB / 0.7969 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3265, allocations: 354.8 kB / 0.7972 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.3268, allocations: 124.3 kB / 0.7973 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.3271, allocations: 192.5 kB / 0.7975 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.3274, allocations: 162.5 kB / 0.7977 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3274, allocations: 0 / 0.7977 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007283/0.3281, allocations: 425.2 kB / 0.7981 GB, free: 416 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/0.3284, allocations: 486.8 kB / 0.7985 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3284, allocations: 4 kB / 0.7986 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3284, allocations: 3.953 kB / 0.7986 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3287, allocations: 55.91 kB / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.3287, allocations: 7.984 kB / 0.7986 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.3291, allocations: 95.42 kB / 0.7987 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.3292, allocations: 12 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3292, allocations: 7.938 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006332/0.3298, allocations: 353.5 kB / 0.7991 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/0.3298, allocations: 4 kB / 0.7991 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-06/0.3298, allocations: 0 / 0.7991 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.3301, allocations: 59.91 kB / 0.7991 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3301, allocations: 7.938 kB / 0.7991 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.3305, allocations: 79.58 kB / 0.7992 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.3305, allocations: 19.98 kB / 0.7992 GB, free: 15.19 MB / 0.6231 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,$whenCondition3,$PRE.uEna.y,uEna.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.3308, allocations: 245 kB / 0.7995 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.3309, allocations: 39.53 kB / 0.7995 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.3315, allocations: 301.2 kB / 0.7998 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3315, allocations: 3.984 kB / 0.7998 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3315, allocations: 0 / 0.7998 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3315, allocations: 4 kB / 0.7998 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.3325, allocations: 0.7843 MB / 0.8006 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3325, allocations: 3.984 kB / 0.8006 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.3327, allocations: 43.98 kB / 0.8006 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3327, allocations: 0 / 0.8006 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.3328, allocations: 15.92 kB / 0.8006 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3328, allocations: 4 kB / 0.8006 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3328, allocations: 0 / 0.8006 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.3335, allocations: 0.4952 MB / 0.8011 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.3337, allocations: 124.6 kB / 0.8012 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.3337, allocations: 8 kB / 0.8012 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3339, allocations: 19.98 kB / 0.8013 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.334, allocations: 20.03 kB / 0.8013 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.334, allocations: 12 kB / 0.8013 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003313/0.3343, allocations: 287.2 kB / 0.8016 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3343, allocations: 0 / 0.8016 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005164/0.3349, allocations: 163.5 kB / 0.8017 GB, free: 12.53 MB / 0.6231 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 (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.0001861/0.3351, allocations: 115.1 kB / 0.8018 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009664/0.336, allocations: 0.5765 MB / 0.8024 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.168e-05/0.3361, allocations: 4 kB / 0.8024 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3363, allocations: 119.8 kB / 0.8025 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3367, allocations: 57.98 kB / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3379, allocations: 0.7906 MB / 0.8033 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3382, allocations: 0.8156 MB / 0.8041 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.3385, allocations: 47.27 kB / 0.8042 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.3385, allocations: 35.42 kB / 0.8042 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.3385, allocations: 0 / 0.8042 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of Templates: time 0.008741/0.3473, allocations: 4.386 MB / 0.8085 GB, free: 5.555 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: