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.001407/0.001407, allocations: 110.2 kB / 15.99 MB, free: 6.359 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.001374/0.001374, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.528/1.528, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.744/1.744, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001428/0.001428, allocations: 67.69 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2907, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.004049/0.2948, allocations: 2.61 MB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2964, allocations: 0.9014 MB / 0.7869 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2966, allocations: 4 kB / 0.787 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.2969, allocations: 51.45 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.297, allocations: 47.66 kB / 0.787 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.2978, allocations: 282.6 kB / 0.7873 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.2983, allocations: 0.5985 MB / 0.7879 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.2988, allocations: 287.7 kB / 0.7882 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.299, allocations: 223.2 kB / 0.7884 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.2993, allocations: 226.9 kB / 0.7886 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.2993, allocations: 68 kB / 0.7887 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.2995, allocations: 83.98 kB / 0.7887 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2996, allocations: 127.7 kB / 0.7889 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.2998, allocations: 254.7 kB / 0.7891 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.3003, allocations: 0.5732 MB / 0.7897 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3004, allocations: 0 / 0.7897 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3004, allocations: 0 / 0.7897 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3004, allocations: 0 / 0.7897 GB, free: 7.547 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.001247/0.3016, allocations: 0.7892 MB / 0.7904 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3017, allocations: 12.02 kB / 0.7905 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.3018, allocations: 52.38 kB / 0.7905 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.3023, allocations: 404.3 kB / 0.7909 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.3024, allocations: 33.38 kB / 0.7909 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.3025, allocations: 40.38 kB / 0.791 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.3032, allocations: 442.7 kB / 0.7914 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3032, allocations: 3.938 kB / 0.7914 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.3032, allocations: 16 kB / 0.7914 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3033, allocations: 8 kB / 0.7914 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.3038, allocations: 319.8 kB / 0.7917 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3058, allocations: 1.424 MB / 0.7931 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.3064, allocations: 250.8 kB / 0.7933 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.3066, allocations: 116.8 kB / 0.7935 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.3067, allocations: 11.98 kB / 0.7935 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004327/0.3071, allocations: 202.6 kB / 0.7937 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.955e-06/0.3071, allocations: 0 / 0.7937 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007388/0.3079, allocations: 340.9 kB / 0.794 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.308, allocations: 132.5 kB / 0.7941 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.3084, allocations: 421.6 kB / 0.7945 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.3085, allocations: 33.7 kB / 0.7945 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3086, allocations: 248 kB / 0.7948 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.3087, allocations: 82.8 kB / 0.7949 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.3088, allocations: 69.69 kB / 0.7949 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.309, allocations: 358.8 kB / 0.7953 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3092, allocations: 125.1 kB / 0.7954 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.3095, allocations: 200.2 kB / 0.7956 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.31, allocations: 292.1 kB / 0.7959 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.31, allocations: 4 kB / 0.7959 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007099/0.3107, allocations: 419.9 kB / 0.7963 GB, free: 464 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.3108, allocations: 45.62 kB / 0.7963 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3108, allocations: 0 / 0.7963 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3108, allocations: 8.031 kB / 0.7963 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.3111, allocations: 55.91 kB / 0.7964 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.3111, allocations: 7.984 kB / 0.7964 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.3115, allocations: 71.48 kB / 0.7964 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.3115, allocations: 20.05 kB / 0.7965 GB, free: 248 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003207/0.3118, allocations: 240.4 kB / 0.7967 GB, free: 4 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002727/0.3121, allocations: 192.6 kB / 0.7969 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003697/0.3125, allocations: 277.6 kB / 0.7971 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.3125, allocations: 0 / 0.7971 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000605/0.3131, allocations: 406.6 kB / 0.7975 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3132, allocations: 33.7 kB / 0.7976 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3132, allocations: 8.062 kB / 0.7976 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.3132, allocations: 7.984 kB / 0.7976 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.3134, allocations: 55.92 kB / 0.7976 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.3134, allocations: 0 / 0.7976 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.3138, allocations: 63.69 kB / 0.7977 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.3138, allocations: 16 kB / 0.7977 GB, free: 14.9 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,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.0001543/0.314, allocations: 208.5 kB / 0.7979 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.314, allocations: 39.47 kB / 0.7979 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.3146, allocations: 313 kB / 0.7982 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3146, allocations: 0 / 0.7982 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3146, allocations: 0 / 0.7982 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.3147, allocations: 7.984 kB / 0.7982 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.3156, allocations: 0.7727 MB / 0.799 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3156, allocations: 4 kB / 0.799 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3158, allocations: 47.91 kB / 0.7991 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3158, allocations: 0 / 0.7991 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.3159, allocations: 8 kB / 0.7991 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3159, allocations: 0 / 0.7991 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3159, allocations: 0 / 0.7991 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.3166, allocations: 0.4952 MB / 0.7995 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.3167, allocations: 132.4 kB / 0.7997 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.3168, allocations: 4 kB / 0.7997 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.317, allocations: 15.98 kB / 0.7997 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.317, allocations: 23.97 kB / 0.7997 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3171, allocations: 12.06 kB / 0.7997 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002807/0.3174, allocations: 295.2 kB / 0.8 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3174, allocations: 0 / 0.8 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005263/0.3179, allocations: 151.5 kB / 0.8001 GB, free: 12.29 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 (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.0001885/0.3181, allocations: 119.1 kB / 0.8003 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009856/0.3191, allocations: 0.5846 MB / 0.8008 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3191, allocations: 0 / 0.8008 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.3193, allocations: 115.9 kB / 0.8009 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.3198, allocations: 66.73 kB / 0.801 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.321, allocations: 0.8544 MB / 0.8018 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3214, allocations: 0.8079 MB / 0.8026 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3215, allocations: 35.42 kB / 0.8027 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of SimCode: time 4.3e-07/0.3215, allocations: 0 / 0.8027 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of Templates: time 0.007426/0.3289, allocations: 5.114 MB / 0.8077 GB, free: 4.535 MB / 0.6231 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)