Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7969/0.7969, allocations: 143.4 MB / 159.2 MB, free: 4.852 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 184.5 kB / 191.9 MB, free: 5.695 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 447.4 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001115, allocations: 106.7 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 287.8 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 79.89 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3034, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002611/0.3061, allocations: 1.866 MB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002521/0.3063, allocations: 122.2 kB / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.3065, allocations: 0 / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3066, allocations: 7.922 kB / 0.7699 GB, free: 25.65 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.893e-05/0.3067, allocations: 55.55 kB / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.3068, allocations: 27.97 kB / 0.77 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.307, allocations: 163.2 kB / 0.7701 GB, free: 25.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3071, allocations: 29.09 kB / 0.7702 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.56e-05/0.3072, allocations: 51.78 kB / 0.7702 GB, free: 25.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.3073, allocations: 67.69 kB / 0.7703 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.3073, allocations: 4 kB / 0.7703 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.3073, allocations: 8 kB / 0.7703 GB, free: 25.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.3074, allocations: 19.92 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.3075, allocations: 63.66 kB / 0.7704 GB, free: 25.17 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3076, allocations: 119.5 kB / 0.7705 GB, free: 25.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3076, allocations: 3.938 kB / 0.7705 GB, free: 25.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3076, allocations: 0 / 0.7705 GB, free: 25.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3076, allocations: 4 kB / 0.7705 GB, free: 25.04 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006691/0.3083, allocations: 446.9 kB / 0.7709 GB, free: 24.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3084, allocations: 12.02 kB / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.3084, allocations: 12.84 kB / 0.7709 GB, free: 24.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3086, allocations: 209.1 kB / 0.7711 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.3086, allocations: 8.312 kB / 0.7711 GB, free: 24.28 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.3086, allocations: 8.375 kB / 0.7711 GB, free: 24.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.3089, allocations: 117.5 kB / 0.7713 GB, free: 24.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3089, allocations: 4.188 kB / 0.7713 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3089, allocations: 7.938 kB / 0.7713 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3089, allocations: 0 / 0.7713 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.3092, allocations: 95.88 kB / 0.7714 GB, free: 24.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.3098, allocations: 480.6 kB / 0.7718 GB, free: 23.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.3101, allocations: 133.2 kB / 0.7719 GB, free: 23.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3102, allocations: 61.78 kB / 0.772 GB, free: 23.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3103, allocations: 0 / 0.772 GB, free: 23.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.3103, allocations: 38.5 kB / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 9.71e-07/0.3103, allocations: 0 / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005021/0.3108, allocations: 185.4 kB / 0.7722 GB, free: 23.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3108, allocations: 81.05 kB / 0.7723 GB, free: 22.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3109, allocations: 175.9 kB / 0.7725 GB, free: 22.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.311, allocations: 25.7 kB / 0.7725 GB, free: 22.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.311, allocations: 104.1 kB / 0.7726 GB, free: 22.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.311, allocations: 31.55 kB / 0.7726 GB, free: 22.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3111, allocations: 21.72 kB / 0.7726 GB, free: 22.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.3111, allocations: 330.8 kB / 0.773 GB, free: 22.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3113, allocations: 47.91 kB / 0.773 GB, free: 22.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3114, allocations: 57.67 kB / 0.7731 GB, free: 22.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.3117, allocations: 101.6 kB / 0.7732 GB, free: 22.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3117, allocations: 4 kB / 0.7732 GB, free: 22.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002923/0.312, allocations: 141.5 kB / 0.7733 GB, free: 21.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.312, allocations: 9.25 kB / 0.7733 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.312, allocations: 0 / 0.7733 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.312, allocations: 192 / 0.7733 GB, free: 21.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3122, allocations: 28.28 kB / 0.7733 GB, free: 21.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3122, allocations: 7.938 kB / 0.7733 GB, free: 21.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3123, allocations: 15.94 kB / 0.7733 GB, free: 21.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3123, allocations: 7.938 kB / 0.7734 GB, free: 21.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 5.708e-05/0.3124, allocations: 121.8 kB / 0.7735 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.3124, allocations: 15.81 kB / 0.7735 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.3128, allocations: 162.7 kB / 0.7736 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3128, allocations: 0 / 0.7736 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3128, allocations: 0 / 0.7736 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3128, allocations: 3.984 kB / 0.7736 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.313, allocations: 225.6 kB / 0.7739 GB, free: 21.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.313, allocations: 0 / 0.7739 GB, free: 21.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.3131, allocations: 19.98 kB / 0.7739 GB, free: 21.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3132, allocations: 0 / 0.7739 GB, free: 21.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3132, allocations: 7.938 kB / 0.7739 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3132, allocations: 0 / 0.7739 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3132, allocations: 0 / 0.7739 GB, free: 21.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.3137, allocations: 0.9261 MB / 0.7748 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.3138, allocations: 92.92 kB / 0.7749 GB, free: 20.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3138, allocations: 3.938 kB / 0.7749 GB, free: 20.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.314, allocations: 15.92 kB / 0.7749 GB, free: 20.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.314, allocations: 7.984 kB / 0.7749 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.314, allocations: 4 kB / 0.7749 GB, free: 20.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.98e-05/0.3141, allocations: 127.2 kB / 0.775 GB, free: 19.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3141, allocations: 0 / 0.775 GB, free: 19.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.3145, allocations: 28 kB / 0.7751 GB, free: 19.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.082e-05/0.3146, allocations: 103.8 kB / 0.7752 GB, free: 19.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.3149, allocations: 103.9 kB / 0.7753 GB, free: 19.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3149, allocations: 3.938 kB / 0.7753 GB, free: 19.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.315, allocations: 51.97 kB / 0.7753 GB, free: 19.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3155, allocations: 45.69 kB / 0.7754 GB, free: 19.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.3159, allocations: 392.1 kB / 0.7757 GB, free: 19.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.316, allocations: 0.7048 MB / 0.7764 GB, free: 18.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.991e-05/0.3161, allocations: 20.42 kB / 0.7764 GB, free: 18.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.3161, allocations: 11.44 kB / 0.7764 GB, free: 18.45 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3161, allocations: 0 / 0.7764 GB, free: 18.45 MB / 458.7 MB Notification: Performance of Templates: time 0.003562/0.3197, allocations: 1.987 MB / 0.7784 GB, free: 16.52 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)