Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8227/0.8227, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 188.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 404.5 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009178/0.0009177, allocations: 82.48 kB / 481.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.986e-05, allocations: 7.938 kB / 0.5532 GB, free: 54.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1445, allocations: 76.76 MB / 0.6281 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.6177, allocations: 103.2 MB / 0.7289 GB, free: 10.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.618, allocations: 73.89 kB / 0.729 GB, free: 10.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005343/0.6233, allocations: 1.861 MB / 0.7308 GB, free: 8.562 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6233, allocations: 0 / 0.7308 GB, free: 8.562 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.6234, allocations: 4 kB / 0.7308 GB, free: 8.559 MB / 490.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.0005852/0.624, allocations: 421.1 kB / 0.7312 GB, free: 8.113 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.624, allocations: 8.031 kB / 0.7312 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.6241, allocations: 19.77 kB / 0.7312 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.6243, allocations: 205.1 kB / 0.7314 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.6243, allocations: 4 kB / 0.7314 GB, free: 7.848 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.6244, allocations: 11.38 kB / 0.7314 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.6246, allocations: 101.5 kB / 0.7315 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.6246, allocations: 0 / 0.7315 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.6246, allocations: 0 / 0.7315 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6246, allocations: 0 / 0.7315 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.6248, allocations: 72.31 kB / 0.7316 GB, free: 7.699 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/0.6255, allocations: 475.6 kB / 0.732 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.6258, allocations: 113.9 kB / 0.7321 GB, free: 7.129 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.6259, allocations: 45.06 kB / 0.7322 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.6259, allocations: 8.078 kB / 0.7322 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.6259, allocations: 38.17 kB / 0.7322 GB, free: 7.039 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.6259, allocations: 0 / 0.7322 GB, free: 7.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002666/0.6262, allocations: 106.3 kB / 0.7323 GB, free: 6.949 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.6263, allocations: 81.05 kB / 0.7324 GB, free: 6.852 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.6264, allocations: 158.3 kB / 0.7326 GB, free: 6.711 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6264, allocations: 25.7 kB / 0.7326 GB, free: 6.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.6265, allocations: 103 kB / 0.7327 GB, free: 6.586 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.6265, allocations: 34.86 kB / 0.7327 GB, free: 6.559 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6266, allocations: 0 / 0.7327 GB, free: 6.559 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6267, allocations: 322.3 kB / 0.733 GB, free: 6.238 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.6268, allocations: 27.31 kB / 0.7331 GB, free: 6.223 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.6268, allocations: 44.39 kB / 0.7331 GB, free: 6.184 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.6269, allocations: 32.5 kB / 0.7331 GB, free: 6.164 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6269, allocations: 0 / 0.7331 GB, free: 6.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002058/0.6271, allocations: 114.6 kB / 0.7332 GB, free: 6.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6271, allocations: 4 kB / 0.7332 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6271, allocations: 0 / 0.7332 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6272, allocations: 4 kB / 0.7332 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.6273, allocations: 27.97 kB / 0.7333 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.6273, allocations: 0 / 0.7333 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.6275, allocations: 19.89 kB / 0.7333 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.6275, allocations: 7.5 kB / 0.7333 GB, free: 6.012 MB / 490.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 6.909e-05/0.6276, allocations: 112.9 kB / 0.7334 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.6276, allocations: 15.77 kB / 0.7334 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.6279, allocations: 131.3 kB / 0.7335 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6279, allocations: 0 / 0.7335 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6279, allocations: 4 kB / 0.7335 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6279, allocations: 3.984 kB / 0.7336 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.6282, allocations: 218.9 kB / 0.7338 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6282, allocations: 0 / 0.7338 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.6284, allocations: 24.23 kB / 0.7338 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6284, allocations: 0 / 0.7338 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.6284, allocations: 15.89 kB / 0.7338 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6284, allocations: 0 / 0.7338 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6284, allocations: 0 / 0.7338 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.6287, allocations: 297.1 kB / 0.7341 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.6287, allocations: 81.02 kB / 0.7342 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.6288, allocations: 7.953 kB / 0.7342 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.6289, allocations: 15.73 kB / 0.7342 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.629, allocations: 11.98 kB / 0.7342 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.629, allocations: 4 kB / 0.7342 GB, free: 5.074 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.6291, allocations: 134.6 kB / 0.7343 GB, free: 4.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6291, allocations: 288 / 0.7343 GB, free: 4.957 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.6294, allocations: 27.44 kB / 0.7344 GB, free: 4.934 MB / 490.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.0001173/0.6295, allocations: 99.03 kB / 0.7344 GB, free: 4.828 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.6297, allocations: 72.12 kB / 0.7345 GB, free: 4.781 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6297, allocations: 4 kB / 0.7345 GB, free: 4.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.6298, allocations: 38.3 kB / 0.7346 GB, free: 4.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.6301, allocations: 39.67 kB / 0.7346 GB, free: 4.723 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.6304, allocations: 159.2 kB / 0.7347 GB, free: 4.559 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.6307, allocations: 0.7126 MB / 0.7354 GB, free: 3.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.6308, allocations: 16.95 kB / 0.7355 GB, free: 3.805 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.6309, allocations: 15.42 kB / 0.7355 GB, free: 3.789 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6309, allocations: 0 / 0.7355 GB, free: 3.789 MB / 490.7 MB Notification: Performance of Templates: time 0.00445/0.6354, allocations: 1.844 MB / 0.7373 GB, free: 2 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)