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.6969/0.6969, allocations: 127.4 MB / 134.9 MB, free: 3.441 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 187.6 kB / 164.6 MB, free: 11.6 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.375/1.375, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.000861/0.0008608, allocations: 98.38 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.496e-05, allocations: 3.031 kB / 0.5466 GB, free: 95.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 76.76 MB / 0.6215 GB, free: 43.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.2593, allocations: 102.5 MB / 0.7216 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.2596, allocations: 79.95 kB / 0.7217 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00537/0.265, allocations: 1.853 MB / 0.7235 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.265, allocations: 0 / 0.7235 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.265, allocations: 4 kB / 0.7235 GB, free: 2.516 MB / 0.4948 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.0005312/0.2656, allocations: 414.2 kB / 0.7239 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2656, allocations: 11.97 kB / 0.7239 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.2657, allocations: 19.77 kB / 0.7239 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.2659, allocations: 199.5 kB / 0.7241 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.2659, allocations: 4 kB / 0.7241 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.266, allocations: 4 kB / 0.7241 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001413/0.2661, allocations: 59.98 kB / 0.7242 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2663, allocations: 87.33 kB / 0.7243 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2663, allocations: 4 kB / 0.7243 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2663, allocations: 0 / 0.7243 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2663, allocations: 3.953 kB / 0.7243 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.267, allocations: 445.4 kB / 0.7247 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.2672, allocations: 101.3 kB / 0.7248 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.2673, allocations: 41.72 kB / 0.7248 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.2673, allocations: 8.078 kB / 0.7248 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2674, allocations: 50.48 kB / 0.7249 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.2674, allocations: 0 / 0.7249 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002549/0.2676, allocations: 93.5 kB / 0.725 GB, free: 0.8242 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.2677, allocations: 81.11 kB / 0.7251 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.2678, allocations: 135.5 kB / 0.7252 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2679, allocations: 25.7 kB / 0.7252 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.2679, allocations: 104 kB / 0.7253 GB, free: 456 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.268, allocations: 31.55 kB / 0.7253 GB, free: 424 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.268, allocations: 0 / 0.7253 GB, free: 424 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2681, allocations: 326.8 kB / 0.7256 GB, free: 88 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.2681, allocations: 24 kB / 0.7257 GB, free: 64 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.2682, allocations: 41.66 kB / 0.7257 GB, free: 16 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.784e-05/0.2683, allocations: 32.09 kB / 0.7257 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2683, allocations: 0 / 0.7257 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001675/0.2685, allocations: 101.5 kB / 0.7258 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2685, allocations: 4.188 kB / 0.7258 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2685, allocations: 3.953 kB / 0.7258 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2685, allocations: 7.938 kB / 0.7259 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2687, allocations: 31.92 kB / 0.7259 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2687, allocations: 7.969 kB / 0.7259 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2689, allocations: 15.84 kB / 0.7259 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2689, allocations: 7.938 kB / 0.7259 GB, free: 15.8 MB / 0.5105 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 () * 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 7.742e-05/0.269, allocations: 105 kB / 0.726 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.269, allocations: 19.91 kB / 0.726 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.2693, allocations: 111.2 kB / 0.7261 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2693, allocations: 7.953 kB / 0.7261 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2693, allocations: 0 / 0.7261 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2693, allocations: 0 / 0.7261 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.2695, allocations: 198.1 kB / 0.7263 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2696, allocations: 0 / 0.7263 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2697, allocations: 27.98 kB / 0.7264 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2697, allocations: 0 / 0.7264 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2697, allocations: 4 kB / 0.7264 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2698, allocations: 3.938 kB / 0.7264 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2698, allocations: 0 / 0.7264 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.27, allocations: 280.4 kB / 0.7266 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.2701, allocations: 97.05 kB / 0.7267 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.2701, allocations: 8 kB / 0.7267 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2703, allocations: 15.92 kB / 0.7268 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.2703, allocations: 11.94 kB / 0.7268 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2703, allocations: 0 / 0.7268 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.915e-05/0.2704, allocations: 118.3 kB / 0.7269 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2704, allocations: 0 / 0.7269 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002721/0.2707, allocations: 28 kB / 0.7269 GB, free: 14.7 MB / 0.5105 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 () * 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.000108/0.2708, allocations: 95.25 kB / 0.727 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.271, allocations: 63.94 kB / 0.7271 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.271, allocations: 0 / 0.7271 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.2711, allocations: 39.98 kB / 0.7271 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.2714, allocations: 36.02 kB / 0.7271 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.2718, allocations: 147.3 kB / 0.7273 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2721, allocations: 0.708 MB / 0.728 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.528e-05/0.2722, allocations: 16.73 kB / 0.728 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.2722, allocations: 11.44 kB / 0.728 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.2722, allocations: 0 / 0.728 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.004237/0.2765, allocations: 1.635 MB / 0.7296 GB, free: 11.95 MB / 0.5105 GB 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)