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.7131/0.7131, allocations: 127.4 MB / 134.9 MB, free: 3.711 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.001222/0.001222, allocations: 176.8 kB / 164.6 MB, free: 6.523 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.702/1.702, allocations: 205.2 MB / 399.5 MB, free: 5.941 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.0008568/0.000857, allocations: 92.95 kB / 476.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.866e-05, allocations: 0 / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1687, allocations: 76.76 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5419/0.7107, allocations: 102.8 MB / 0.722 GB, free: 12.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.711, allocations: 78.08 kB / 0.7221 GB, free: 12.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005303/0.7163, allocations: 1.853 MB / 0.7239 GB, free: 10.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7163, allocations: 0 / 0.7239 GB, free: 10.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.7164, allocations: 5.031 kB / 0.7239 GB, free: 10.9 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.0006132/0.717, allocations: 418 kB / 0.7243 GB, free: 10.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.717, allocations: 8.031 kB / 0.7243 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.7171, allocations: 19.77 kB / 0.7244 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.7174, allocations: 203.1 kB / 0.7245 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.7174, allocations: 8 kB / 0.7246 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.7174, allocations: 4 kB / 0.7246 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001417/0.7176, allocations: 50 kB / 0.7246 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.7177, allocations: 91.31 kB / 0.7247 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.7177, allocations: 0 / 0.7247 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.7178, allocations: 0 / 0.7247 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.7178, allocations: 11.89 kB / 0.7247 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.7185, allocations: 443.6 kB / 0.7251 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.7188, allocations: 106.9 kB / 0.7252 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.587e-05/0.7188, allocations: 49.33 kB / 0.7253 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.7189, allocations: 3.953 kB / 0.7253 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.7189, allocations: 34.56 kB / 0.7253 GB, free: 9.445 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.7189, allocations: 0 / 0.7253 GB, free: 9.445 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002623/0.7192, allocations: 106 kB / 0.7254 GB, free: 9.355 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.7192, allocations: 77.11 kB / 0.7255 GB, free: 9.262 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.7194, allocations: 146 kB / 0.7256 GB, free: 9.121 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.7194, allocations: 25.7 kB / 0.7257 GB, free: 9.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.7195, allocations: 108.7 kB / 0.7258 GB, free: 8.992 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.7195, allocations: 30.98 kB / 0.7258 GB, free: 8.965 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.7196, allocations: 0 / 0.7258 GB, free: 8.965 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7197, allocations: 321.5 kB / 0.7261 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.7198, allocations: 26 kB / 0.7261 GB, free: 8.633 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.7198, allocations: 42.72 kB / 0.7262 GB, free: 8.598 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.7199, allocations: 25.86 kB / 0.7262 GB, free: 8.582 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7199, allocations: 0 / 0.7262 GB, free: 8.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.7201, allocations: 104.7 kB / 0.7263 GB, free: 8.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7201, allocations: 4 kB / 0.7263 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.7201, allocations: 3.953 kB / 0.7263 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7201, allocations: 4 kB / 0.7263 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.7203, allocations: 24.83 kB / 0.7263 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7203, allocations: 4 kB / 0.7263 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.7205, allocations: 19.89 kB / 0.7263 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.7205, allocations: 7.938 kB / 0.7263 GB, free: 8.43 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 9.11e-05/0.7206, allocations: 104.9 kB / 0.7264 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001881/0.7208, allocations: 106.3 kB / 0.7265 GB, free: 8.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.7208, allocations: 19.7 kB / 0.7266 GB, free: 8.211 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.7211, allocations: 117.5 kB / 0.7267 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7211, allocations: 0 / 0.7267 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7211, allocations: 0 / 0.7267 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7211, allocations: 0 / 0.7267 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.7214, allocations: 191.3 kB / 0.7269 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.7214, allocations: 4 kB / 0.7269 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.7215, allocations: 26.8 kB / 0.7269 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7215, allocations: 4.188 kB / 0.7269 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.7216, allocations: 3.953 kB / 0.7269 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7216, allocations: 7.938 kB / 0.7269 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7216, allocations: 0 / 0.7269 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.7218, allocations: 288.2 kB / 0.7272 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.7219, allocations: 85.02 kB / 0.7273 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.7219, allocations: 3.953 kB / 0.7273 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.7221, allocations: 18.64 kB / 0.7273 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.7222, allocations: 7.984 kB / 0.7273 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.7222, allocations: 4 kB / 0.7273 GB, free: 7.457 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.257e-05/0.7223, allocations: 115.5 kB / 0.7274 GB, free: 7.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7223, allocations: 0 / 0.7274 GB, free: 7.359 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.7226, allocations: 27.94 kB / 0.7274 GB, free: 7.332 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.0005724/0.7232, allocations: 0.8866 MB / 0.7283 GB, free: 6.438 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.7233, allocations: 63.62 kB / 0.7284 GB, free: 6.398 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7233, allocations: 0 / 0.7284 GB, free: 6.398 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.294e-05/0.7234, allocations: 38.19 kB / 0.7284 GB, free: 6.371 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.7237, allocations: 39.08 kB / 0.7284 GB, free: 6.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.7243, allocations: 175.2 kB / 0.7286 GB, free: 6.148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.7246, allocations: 0.7157 MB / 0.7293 GB, free: 5.406 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.221e-05/0.7247, allocations: 12.53 kB / 0.7293 GB, free: 5.395 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.7248, allocations: 35.55 kB / 0.7293 GB, free: 5.375 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7248, allocations: 0 / 0.7293 GB, free: 5.375 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.7469, allocations: 2.674 MB / 0.732 GB, free: 2.754 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.7471, allocations: 158.5 kB / 0.7321 GB, free: 2.562 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.367, allocations: 32 / 0.7321 GB, free: 2.562 MB / 490.7 MB (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)