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.001495/0.001496, allocations: 102.2 kB / 16.29 MB, free: 6.375 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.001245/0.001245, allocations: 178.2 kB / 17.22 MB, free: 5.934 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.671/1.671, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 2.094/2.094, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001555/0.001555, allocations: 63.91 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3536, allocations: 114.6 MB / 0.7841 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004365/0.3581, allocations: 1.826 MB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.3585, allocations: 111.7 kB / 0.786 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.3586, allocations: 0 / 0.786 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.3588, allocations: 15.8 kB / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3589, allocations: 51.55 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.3591, allocations: 35.95 kB / 0.7861 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.3594, allocations: 167.1 kB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.3596, allocations: 32.88 kB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3597, allocations: 55.8 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3599, allocations: 67.75 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.3599, allocations: 8 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.443e-05/0.36, allocations: 12 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.36, allocations: 27.86 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.3601, allocations: 63.72 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3603, allocations: 131.7 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.3603, allocations: 4 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.426e-06/0.3604, allocations: 4 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.3604, allocations: 0 / 0.7866 GB, free: 1.297 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.001002/0.3614, allocations: 454.8 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3614, allocations: 8.031 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.3615, allocations: 12.84 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3618, allocations: 208 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3619, allocations: 4.375 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3619, allocations: 8.375 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.3622, allocations: 130.3 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3623, allocations: 8.125 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3623, allocations: 7.938 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3623, allocations: 0 / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.3626, allocations: 87.94 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7308/1.093, allocations: 467 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/1.094, allocations: 131.8 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/1.094, allocations: 59.12 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/1.094, allocations: 4.312 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.094, allocations: 35.5 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 4.258e-06/1.094, allocations: 2.688 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0007244/1.095, allocations: 178.2 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/1.095, allocations: 81.11 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/1.095, allocations: 170.9 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.095, allocations: 28.02 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/1.095, allocations: 110.2 kB / 0.7887 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/1.096, allocations: 33.3 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/1.096, allocations: 22.91 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.096, allocations: 323.9 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/1.096, allocations: 46.44 kB / 0.7891 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/1.096, allocations: 53.61 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/1.097, allocations: 106.8 kB / 0.7893 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.097, allocations: 2.875 kB / 0.7893 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004401/1.097, allocations: 148.6 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.097, allocations: 5.25 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.097, allocations: 0.6562 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/1.097, allocations: 5.859 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/1.097, allocations: 22.12 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.097, allocations: 2.344 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/1.097, allocations: 13 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/1.097, allocations: 8.25 kB / 0.7895 GB, free: 47.71 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 0.0001293/1.098, allocations: 114.8 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/1.098, allocations: 21.62 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/1.098, allocations: 159.6 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.098, allocations: 2.594 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.098, allocations: 1.25 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/1.098, allocations: 6.047 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/1.099, allocations: 224.2 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.099, allocations: 3.938 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/1.099, allocations: 21.67 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.099, allocations: 2.781 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.099, allocations: 0 / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.099, allocations: 5.266 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.099, allocations: 0.5 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/1.099, allocations: 310.6 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/1.099, allocations: 98.91 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/1.099, allocations: 2.281 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/1.1, allocations: 13.08 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/1.1, allocations: 9.688 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/1.1, allocations: 2.625 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001192/1.1, allocations: 129.9 kB / 0.7905 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.1, allocations: 0.625 kB / 0.7905 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002992/1.1, allocations: 27.86 kB / 0.7906 GB, free: 46.98 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.0001953/1.1, allocations: 101.3 kB / 0.7907 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004518/1.101, allocations: 104.1 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.101, allocations: 2.719 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/1.101, allocations: 52.5 kB / 0.7908 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/1.102, allocations: 49.28 kB / 0.7909 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/1.102, allocations: 229.5 kB / 0.7911 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/1.103, allocations: 0.7059 MB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.786e-05/1.103, allocations: 14.28 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/1.103, allocations: 12.69 kB / 0.7918 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/1.103, allocations: 1.125 kB / 0.7918 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.007204/1.11, allocations: 2.089 MB / 0.7938 GB, free: 46.01 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)