Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002712/0.002712, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.817/1.817, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.955/1.955, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001582/0.001582, allocations: 64.53 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3227, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003572/0.3263, allocations: 1.815 MB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000316/0.3267, allocations: 119.6 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.3268, allocations: 4 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.3269, allocations: 19.78 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.327, allocations: 43.58 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.3272, allocations: 35.94 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.3274, allocations: 171.1 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3276, allocations: 29.09 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.97e-05/0.3277, allocations: 51.8 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3278, allocations: 63.75 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.3279, allocations: 15.94 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.919e-05/0.3279, allocations: 8 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.3279, allocations: 31.84 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.328, allocations: 63.73 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3282, allocations: 127.8 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3282, allocations: 3.984 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3282, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3282, allocations: 0 / 0.7859 GB, free: 10.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008353/0.3291, allocations: 450.8 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.3291, allocations: 12.03 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.3292, allocations: 20.69 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.3295, allocations: 206.9 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3295, allocations: 4.375 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3295, allocations: 4.375 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.3298, allocations: 123.8 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3298, allocations: 4.125 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.3298, allocations: 3.938 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3299, allocations: 8 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.3302, allocations: 87.94 kB / 0.7868 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.331, allocations: 476.7 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.3314, allocations: 125.2 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.3316, allocations: 61.77 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.3316, allocations: 12 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3317, allocations: 34.55 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3317, allocations: 3.938 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006244/0.3323, allocations: 181.4 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.3324, allocations: 77.11 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3326, allocations: 170.4 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.3326, allocations: 25.7 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3327, allocations: 116 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3328, allocations: 31.55 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.3328, allocations: 17.72 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.333, allocations: 330.8 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3331, allocations: 39.97 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.3333, allocations: 65.61 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.3336, allocations: 102.1 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3336, allocations: 0 / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003625/0.334, allocations: 153.4 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.334, allocations: 4 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.334, allocations: 3.984 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.334, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3342, allocations: 23.98 kB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3342, allocations: 0 / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3343, allocations: 19.89 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.3343, allocations: 3.938 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB 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 0.0001192/0.3345, allocations: 121.8 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.3345, allocations: 11.91 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.335, allocations: 162.5 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.335, allocations: 0 / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.335, allocations: 0 / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.335, allocations: 4 kB / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.3353, allocations: 229.4 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3353, allocations: 0 / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3355, allocations: 23.98 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3355, allocations: 4 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3355, allocations: 0 / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3355, allocations: 0 / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3355, allocations: 0 / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.336, allocations: 318.5 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.3361, allocations: 88.92 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3361, allocations: 3.938 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.3363, allocations: 16.17 kB / 0.7897 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.3363, allocations: 7.984 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3363, allocations: 7.938 kB / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001005/0.3364, allocations: 132.2 kB / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3365, allocations: 0 / 0.7898 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002845/0.3367, allocations: 24 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB 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 0.0001374/0.3369, allocations: 103.2 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.3373, allocations: 107.9 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3373, allocations: 0 / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3374, allocations: 55.97 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.338, allocations: 40.31 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.3385, allocations: 238.3 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3389, allocations: 0.7084 MB / 0.7911 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.455e-05/0.339, allocations: 16.41 kB / 0.7911 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.339, allocations: 15.44 kB / 0.7911 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.339, allocations: 4 kB / 0.7911 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of Templates: time 0.005257/0.3443, allocations: 2.091 MB / 0.7931 GB, free: 3.062 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)