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.00136/0.00136, allocations: 113.8 kB / 16.37 MB, free: 5.535 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.001207/0.001207, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.669/1.669, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.837/1.837, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001454/0.001454, allocations: 71.89 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2678, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003634/0.2714, allocations: 1.831 MB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.2718, allocations: 123.6 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.2719, allocations: 0 / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.272, allocations: 15.8 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2721, allocations: 47.56 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.2723, allocations: 31.95 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.2725, allocations: 175.1 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2727, allocations: 29.09 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.2728, allocations: 51.84 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2729, allocations: 71.7 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.273, allocations: 8 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.645e-05/0.273, allocations: 12 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.2731, allocations: 19.91 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.2732, allocations: 67.67 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.2734, allocations: 131.5 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2734, allocations: 0 / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2734, allocations: 0 / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2734, allocations: 0 / 0.7873 GB, free: 0.5 MB / 0.6544 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.44/0.7134, allocations: 459.7 kB / 0.7878 GB, free: 49.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.7135, allocations: 8.344 kB / 0.7878 GB, free: 49.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.7136, allocations: 13.28 kB / 0.7878 GB, free: 49.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.714, allocations: 199.2 kB / 0.788 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.714, allocations: 7.656 kB / 0.788 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.714, allocations: 10 kB / 0.788 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.7144, allocations: 121.2 kB / 0.7881 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7144, allocations: 2.125 kB / 0.7881 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.7144, allocations: 7.25 kB / 0.7881 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7144, allocations: 2.656 kB / 0.7881 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.7147, allocations: 93.06 kB / 0.7882 GB, free: 49.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.7154, allocations: 471.7 kB / 0.7886 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.7157, allocations: 131.1 kB / 0.7888 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.7159, allocations: 63.69 kB / 0.7888 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.7159, allocations: 0 / 0.7888 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.716, allocations: 38.09 kB / 0.7889 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.716, allocations: 0 / 0.7889 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005523/0.7165, allocations: 187.3 kB / 0.789 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.7166, allocations: 80.95 kB / 0.7891 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.7167, allocations: 165.5 kB / 0.7893 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.7167, allocations: 29.45 kB / 0.7893 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.7168, allocations: 112.5 kB / 0.7894 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.7168, allocations: 30.84 kB / 0.7894 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.7169, allocations: 25.28 kB / 0.7895 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.7169, allocations: 327.2 kB / 0.7898 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.7171, allocations: 42.62 kB / 0.7898 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.7172, allocations: 57.92 kB / 0.7899 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.7175, allocations: 105.1 kB / 0.79 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7175, allocations: 0 / 0.79 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003288/0.7178, allocations: 138.4 kB / 0.7901 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7179, allocations: 11.44 kB / 0.7901 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7179, allocations: 4.844 kB / 0.7901 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7179, allocations: 0 / 0.7901 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.718, allocations: 28.67 kB / 0.7902 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.7181, allocations: 0.6562 kB / 0.7902 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.7182, allocations: 14.23 kB / 0.7902 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.7182, allocations: 7.562 kB / 0.7902 GB, free: 48.07 MB / 0.6544 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 8.014e-05/0.7183, allocations: 118.2 kB / 0.7903 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.7183, allocations: 11.34 kB / 0.7903 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.7188, allocations: 165.4 kB / 0.7905 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7188, allocations: 2.625 kB / 0.7905 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7188, allocations: 2.438 kB / 0.7905 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7188, allocations: 0 / 0.7905 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.719, allocations: 231.4 kB / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.719, allocations: 1.688 kB / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.7192, allocations: 21.84 kB / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.7192, allocations: 2.75 kB / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.7192, allocations: 1.719 kB / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7192, allocations: 2.531 kB / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7192, allocations: 0 / 0.7907 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.7196, allocations: 317.7 kB / 0.791 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.7196, allocations: 90.17 kB / 0.7911 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.7197, allocations: 2.438 kB / 0.7911 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.7198, allocations: 11.11 kB / 0.7911 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.7199, allocations: 10.02 kB / 0.7911 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.7199, allocations: 11.62 kB / 0.7911 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.621e-05/0.72, allocations: 126.2 kB / 0.7913 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.72, allocations: 0 / 0.7913 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002842/0.7203, allocations: 28.34 kB / 0.7913 GB, free: 47.33 MB / 0.6544 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.0001067/0.7204, allocations: 98.47 kB / 0.7914 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.7208, allocations: 105.8 kB / 0.7915 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7208, allocations: 2.625 kB / 0.7915 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.7209, allocations: 55.77 kB / 0.7915 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.7214, allocations: 40.83 kB / 0.7916 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.7219, allocations: 260.8 kB / 0.7918 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.7221, allocations: 0.7094 MB / 0.7925 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.7221, allocations: 12.69 kB / 0.7925 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.7221, allocations: 0 / 0.7925 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.003437/0.7256, allocations: 1.748 MB / 0.7942 GB, free: 46.31 MB / 0.6544 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)