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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001731/0.001731, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.843/1.843, allocations: 205.1 MB / 222 MB, free: 4.766 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.884/1.884, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001498/0.001498, allocations: 65.11 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3504, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003583/0.354, allocations: 1.885 MB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003599/0.3544, allocations: 123.6 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3545, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.3547, allocations: 7.922 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.3548, allocations: 47.61 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.355, allocations: 35.97 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.3552, allocations: 163.1 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3554, allocations: 17.12 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.3555, allocations: 51.78 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3556, allocations: 71.73 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.3556, allocations: 8 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.3557, allocations: 4 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.3557, allocations: 19.86 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.757e-05/0.3558, allocations: 59.72 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.356, allocations: 119.8 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.356, allocations: 3.938 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.31e-07/0.356, allocations: 0 / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.356, allocations: 0 / 0.7852 GB, free: 11.39 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.001017/0.357, allocations: 458.8 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.3571, allocations: 8.031 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.3572, allocations: 16.75 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.3575, allocations: 208 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3575, allocations: 4.375 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3575, allocations: 8.375 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.3578, allocations: 126.9 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3579, allocations: 192 / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.3579, allocations: 15.88 kB / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3579, allocations: 0 / 0.786 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.3582, allocations: 91.92 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.3591, allocations: 472.7 kB / 0.7865 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.3595, allocations: 133.2 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3597, allocations: 69.77 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3597, allocations: 0 / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3598, allocations: 34.56 kB / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3598, allocations: 0 / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000575/0.3604, allocations: 181.4 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3604, allocations: 89.03 kB / 0.787 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3606, allocations: 163.4 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3606, allocations: 29.7 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.3607, allocations: 108 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.3607, allocations: 31.55 kB / 0.7873 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3608, allocations: 29.72 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3609, allocations: 326.8 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3611, allocations: 43.91 kB / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.3612, allocations: 57.69 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.3615, allocations: 105.9 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3615, allocations: 0 / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003447/0.3619, allocations: 141.5 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3619, allocations: 8 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3619, allocations: 0 / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3619, allocations: 0 / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3621, allocations: 23.98 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3621, allocations: 8 kB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3622, allocations: 11.89 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3622, allocations: 7.938 kB / 0.7881 GB, free: 8.184 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.0001031/0.3623, allocations: 121.8 kB / 0.7882 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.3624, allocations: 15.89 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.3628, allocations: 154.5 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3628, allocations: 4 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3628, allocations: 0 / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3629, allocations: 0 / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.3632, allocations: 233.6 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3632, allocations: 0 / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3633, allocations: 23.92 kB / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3634, allocations: 0 / 0.7886 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3634, allocations: 4.188 kB / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3634, allocations: 8 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3634, allocations: 0 / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.3638, allocations: 310.6 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.3639, allocations: 88.91 kB / 0.789 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3639, allocations: 4 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3641, allocations: 15.98 kB / 0.789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.3642, allocations: 7.938 kB / 0.789 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3642, allocations: 7.938 kB / 0.789 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3643, allocations: 132.2 kB / 0.7892 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3643, allocations: 3.938 kB / 0.7892 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000289/0.3646, allocations: 24 kB / 0.7892 GB, free: 6.949 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.0001362/0.3647, allocations: 103.2 kB / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.3651, allocations: 99.88 kB / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3651, allocations: 4 kB / 0.7894 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.3653, allocations: 51.97 kB / 0.7894 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.3658, allocations: 44.33 kB / 0.7895 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.3664, allocations: 261.3 kB / 0.7897 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3667, allocations: 0.7087 MB / 0.7904 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.708e-05/0.3668, allocations: 20.42 kB / 0.7904 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.3668, allocations: 11.44 kB / 0.7904 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.3668, allocations: 0 / 0.7904 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of Templates: time 0.004629/0.3715, allocations: 1.919 MB / 0.7923 GB, free: 3.715 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)