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.001337/0.001337, allocations: 109.4 kB / 15.69 MB, free: 128 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.001655/0.001655, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.547 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 2.006/2.006, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001474/0.001474, allocations: 74.08 kB / 0.6722 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3057, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003473/0.3092, allocations: 1.834 MB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.3096, allocations: 111.6 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.372e-05/0.3097, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.3098, allocations: 19.78 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3099, allocations: 55.56 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.3101, allocations: 31.89 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.3104, allocations: 175.1 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3105, allocations: 28.91 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.3106, allocations: 51.78 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3107, allocations: 67.75 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.3108, allocations: 12 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.3108, allocations: 8 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.3108, allocations: 31.84 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.3109, allocations: 63.72 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3111, allocations: 127.5 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3112, allocations: 0 / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3112, allocations: 0 / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.3112, allocations: 4 kB / 0.7866 GB, free: 10.13 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.0008365/0.312, allocations: 450.8 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3121, allocations: 8.031 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.3121, allocations: 16.75 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3124, allocations: 208 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3125, allocations: 8.375 kB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3125, allocations: 12.31 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.3128, allocations: 119.8 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3128, allocations: 192 / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3128, allocations: 11.94 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3129, allocations: 3.984 kB / 0.7874 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.3132, allocations: 95.88 kB / 0.7875 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.3139, allocations: 464.8 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.3143, allocations: 137.2 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3145, allocations: 57.78 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3145, allocations: 0 / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3146, allocations: 34.56 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3146, allocations: 4 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005875/0.3152, allocations: 181.3 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.3152, allocations: 81.11 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3154, allocations: 174.3 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3154, allocations: 25.7 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.3155, allocations: 116 kB / 0.7888 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.3156, allocations: 35.53 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.3156, allocations: 21.72 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3158, allocations: 326.8 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.3159, allocations: 39.97 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3161, allocations: 61.62 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.3164, allocations: 109.9 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3164, allocations: 0 / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003416/0.3167, allocations: 141.5 kB / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3167, allocations: 8 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3168, allocations: 0 / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3168, allocations: 4 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3169, allocations: 23.92 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3169, allocations: 7.984 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.317, allocations: 7.906 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3171, allocations: 7.938 kB / 0.7895 GB, free: 6.926 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.0001073/0.3172, allocations: 121.8 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.3172, allocations: 11.91 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.3177, allocations: 154.5 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3177, allocations: 4 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3177, allocations: 3.938 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3177, allocations: 0 / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.318, allocations: 233.4 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.318, allocations: 0 / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.3182, allocations: 19.98 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3182, allocations: 4 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3182, allocations: 4 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3182, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3182, allocations: 3.938 kB / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.3186, allocations: 306.8 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.3187, allocations: 92.91 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.3187, allocations: 15.94 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.3189, allocations: 7.984 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.319, allocations: 4 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.319, allocations: 11.94 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000104/0.3191, allocations: 124.2 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3191, allocations: 288 / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002943/0.3194, allocations: 28 kB / 0.7906 GB, free: 5.699 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.0001249/0.3195, allocations: 103.2 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.3199, allocations: 103.8 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3199, allocations: 0 / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.3201, allocations: 59.89 kB / 0.7909 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3205, allocations: 45.2 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.321, allocations: 228.6 kB / 0.7911 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3214, allocations: 0.7084 MB / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.432e-05/0.3215, allocations: 8.656 kB / 0.7918 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.3215, allocations: 15.44 kB / 0.7918 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3215, allocations: 4 kB / 0.7919 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of Templates: time 0.005055/0.3266, allocations: 2.099 MB / 0.7939 GB, free: 2.32 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)