Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6668/0.6668, allocations: 94.77 MB / 102.3 MB, free: 10.14 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001484/0.001484, allocations: 168 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.071/2.071, allocations: 170.6 MB / 319.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001787/0.001787, allocations: 110.6 kB / 381.4 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.364e-05, allocations: 7.938 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 61.52 MB / 0.4987 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6051/0.8063, allocations: 93.72 MB / 0.5902 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.8067, allocations: 75.95 kB / 0.5903 GB, free: 8.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006138/0.8129, allocations: 1.834 MB / 0.592 GB, free: 6.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.813, allocations: 0 / 0.592 GB, free: 6.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.813, allocations: 0 / 0.592 GB, free: 6.395 MB / 410.7 MB 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.0007583/0.8138, allocations: 410.7 kB / 0.5924 GB, free: 5.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/0.8138, allocations: 12.03 kB / 0.5925 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.8139, allocations: 11.81 kB / 0.5925 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.8143, allocations: 200 kB / 0.5927 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.8143, allocations: 0 / 0.5927 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.8143, allocations: 12 kB / 0.5927 GB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000181/0.8145, allocations: 63.92 kB / 0.5927 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.8147, allocations: 90.88 kB / 0.5928 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8147, allocations: 0 / 0.5928 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.8148, allocations: 0 / 0.5928 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.8148, allocations: 4 kB / 0.5928 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.8156, allocations: 451.2 kB / 0.5932 GB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.8159, allocations: 109.3 kB / 0.5934 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.816, allocations: 37.72 kB / 0.5934 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.8161, allocations: 12.12 kB / 0.5934 GB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.8161, allocations: 30.56 kB / 0.5934 GB, free: 4.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.8161, allocations: 0 / 0.5934 GB, free: 4.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003086/0.8164, allocations: 102.8 kB / 0.5935 GB, free: 4.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.8165, allocations: 77.11 kB / 0.5936 GB, free: 4.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.8167, allocations: 139.2 kB / 0.5937 GB, free: 4.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.8167, allocations: 30.36 kB / 0.5938 GB, free: 4.441 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.8169, allocations: 116 kB / 0.5939 GB, free: 4.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.8169, allocations: 27.55 kB / 0.5939 GB, free: 4.297 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.8169, allocations: 0 / 0.5939 GB, free: 4.297 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8171, allocations: 326.8 kB / 0.5942 GB, free: 3.969 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.8172, allocations: 20 kB / 0.5942 GB, free: 3.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.8173, allocations: 39.41 kB / 0.5943 GB, free: 3.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.527e-05/0.8173, allocations: 31.94 kB / 0.5943 GB, free: 3.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8174, allocations: 0 / 0.5943 GB, free: 3.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.8175, allocations: 109.4 kB / 0.5944 GB, free: 3.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.8176, allocations: 4 kB / 0.5944 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.8176, allocations: 4 kB / 0.5944 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8176, allocations: 2.734 kB / 0.5944 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.8178, allocations: 32.78 kB / 0.5944 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8178, allocations: 0 / 0.5944 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.8179, allocations: 12 kB / 0.5945 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.818, allocations: 4 kB / 0.5945 GB, free: 3.707 MB / 410.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.8181, allocations: 116.9 kB / 0.5946 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.8181, allocations: 7.906 kB / 0.5946 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.8184, allocations: 120.5 kB / 0.5947 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8185, allocations: 0.75 kB / 0.5947 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8185, allocations: 0 / 0.5947 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.8185, allocations: 3.938 kB / 0.5947 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.8188, allocations: 198.2 kB / 0.5949 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8188, allocations: 4 kB / 0.5949 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.8189, allocations: 23.98 kB / 0.5949 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.819, allocations: 3.953 kB / 0.5949 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.819, allocations: 0 / 0.5949 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.819, allocations: 2.531 kB / 0.5949 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.819, allocations: 4 kB / 0.5949 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.8193, allocations: 284.4 kB / 0.5952 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.8194, allocations: 92.88 kB / 0.5953 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.8194, allocations: 0 / 0.5953 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.8196, allocations: 11.98 kB / 0.5953 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.8197, allocations: 11.98 kB / 0.5953 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.8197, allocations: 4.75 kB / 0.5953 GB, free: 2.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.398e-05/0.8198, allocations: 116 kB / 0.5954 GB, free: 2.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8198, allocations: 4.781 kB / 0.5954 GB, free: 2.633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002636/0.8201, allocations: 24 kB / 0.5954 GB, free: 2.609 MB / 410.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.8203, allocations: 100.4 kB / 0.5955 GB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.8205, allocations: 67.94 kB / 0.5956 GB, free: 2.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8205, allocations: 0 / 0.5956 GB, free: 2.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.8206, allocations: 35.92 kB / 0.5956 GB, free: 2.402 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.8209, allocations: 33.95 kB / 0.5957 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.8214, allocations: 154.8 kB / 0.5958 GB, free: 2.211 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.8218, allocations: 0.7119 MB / 0.5965 GB, free: 1.473 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.8219, allocations: 5.875 kB / 0.5965 GB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.822, allocations: 15.44 kB / 0.5965 GB, free: 1.457 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.822, allocations: 4 kB / 0.5965 GB, free: 1.453 MB / 410.7 MB Notification: Performance of Templates: time 0.005248/0.8272, allocations: 1.621 MB / 0.5981 GB, free: 15.92 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)