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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_HotWaterTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_HotWaterTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7376/0.7376, allocations: 127.3 MB / 139.8 MB, free: 15.43 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.001056/0.001057, allocations: 175.8 kB / 169.7 MB, free: 1.742 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.761/1.761, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0008756/0.0008752, allocations: 87.67 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.185e-05, allocations: 0 / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1698, allocations: 76.76 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5818/0.7517, allocations: 103.2 MB / 0.729 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.752, allocations: 74.64 kB / 0.7291 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005117/0.7571, allocations: 1.863 MB / 0.7309 GB, free: 8.551 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7571, allocations: 0 / 0.7309 GB, free: 8.551 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.7572, allocations: 4 kB / 0.7309 GB, free: 8.547 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.0006078/0.7578, allocations: 417.8 kB / 0.7313 GB, free: 8.102 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.7578, allocations: 12.03 kB / 0.7313 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.7579, allocations: 37.05 kB / 0.7313 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.758, allocations: 19.77 kB / 0.7313 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.7582, allocations: 211 kB / 0.7315 GB, free: 7.789 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.7582, allocations: 4 kB / 0.7315 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.7583, allocations: 10.88 kB / 0.7316 GB, free: 7.777 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.7584, allocations: 102.1 kB / 0.7317 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7585, allocations: 0 / 0.7317 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.7585, allocations: 3.75 kB / 0.7317 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7585, allocations: 7.938 kB / 0.7317 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.7586, allocations: 64.86 kB / 0.7317 GB, free: 7.637 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.7593, allocations: 478.2 kB / 0.7322 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.7596, allocations: 113.3 kB / 0.7323 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.7597, allocations: 49.22 kB / 0.7323 GB, free: 7.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.7598, allocations: 4.141 kB / 0.7323 GB, free: 7.016 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.7598, allocations: 38.55 kB / 0.7324 GB, free: 6.969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.7598, allocations: 0 / 0.7324 GB, free: 6.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002629/0.7601, allocations: 104.1 kB / 0.7325 GB, free: 6.883 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.7601, allocations: 83.3 kB / 0.7326 GB, free: 6.785 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.7603, allocations: 153.7 kB / 0.7327 GB, free: 6.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.7603, allocations: 25.7 kB / 0.7327 GB, free: 6.617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.7604, allocations: 104 kB / 0.7328 GB, free: 6.523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.7604, allocations: 31.05 kB / 0.7329 GB, free: 6.496 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.7604, allocations: 0 / 0.7329 GB, free: 6.496 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7606, allocations: 325.8 kB / 0.7332 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.7606, allocations: 26.19 kB / 0.7332 GB, free: 6.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.7607, allocations: 44.58 kB / 0.7332 GB, free: 6.121 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.7608, allocations: 26.44 kB / 0.7333 GB, free: 6.105 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7608, allocations: 0 / 0.7333 GB, free: 6.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.761, allocations: 121.2 kB / 0.7334 GB, free: 6.008 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.761, allocations: 4 kB / 0.7334 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.761, allocations: 0 / 0.7334 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.761, allocations: 0 / 0.7334 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.7612, allocations: 35.97 kB / 0.7334 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.7612, allocations: 4.641 kB / 0.7334 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.7613, allocations: 11.98 kB / 0.7334 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.7614, allocations: 4 kB / 0.7334 GB, free: 5.949 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 8.524e-05/0.7615, allocations: 107.6 kB / 0.7335 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.7615, allocations: 23.7 kB / 0.7336 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.7618, allocations: 131.2 kB / 0.7337 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7618, allocations: 192 / 0.7337 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7618, allocations: 0 / 0.7337 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.7618, allocations: 7.922 kB / 0.7337 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.7621, allocations: 218.6 kB / 0.7339 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.7621, allocations: 4 kB / 0.7339 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.7623, allocations: 23.98 kB / 0.7339 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7623, allocations: 0 / 0.7339 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.7623, allocations: 10.14 kB / 0.7339 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7623, allocations: 4 kB / 0.7339 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7623, allocations: 0 / 0.7339 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.7626, allocations: 291 kB / 0.7342 GB, free: 5.148 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.7626, allocations: 88.97 kB / 0.7343 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.7627, allocations: 4 kB / 0.7343 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.7629, allocations: 18.8 kB / 0.7343 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.7629, allocations: 11.92 kB / 0.7343 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7629, allocations: 0 / 0.7343 GB, free: 5.012 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.763, allocations: 131.7 kB / 0.7345 GB, free: 4.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7631, allocations: 4 kB / 0.7345 GB, free: 4.895 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.7633, allocations: 27.12 kB / 0.7345 GB, free: 4.871 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.0006169/0.7639, allocations: 0.8985 MB / 0.7354 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.7641, allocations: 69.44 kB / 0.7354 GB, free: 3.922 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7641, allocations: 0 / 0.7354 GB, free: 3.922 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.239e-05/0.7642, allocations: 37.75 kB / 0.7355 GB, free: 3.898 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.7646, allocations: 46.28 kB / 0.7355 GB, free: 3.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.7652, allocations: 196.5 kB / 0.7357 GB, free: 3.648 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.7655, allocations: 0.7087 MB / 0.7364 GB, free: 2.914 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.437e-05/0.7656, allocations: 8.781 kB / 0.7364 GB, free: 2.906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.7657, allocations: 32.8 kB / 0.7364 GB, free: 2.891 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7657, allocations: 8 kB / 0.7364 GB, free: 2.883 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.7842, allocations: 3.209 MB / 0.7396 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/0.7846, allocations: 173.8 kB / 0.7397 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.439, allocations: 0 / 0.7397 GB, free: 15.62 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_HotWaterTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_HotWaterTemperatureReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.HotWaterTemperatureReset.pipe 2>&1)