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.75/0.75, allocations: 128.7 MB / 143.7 MB, free: 2.355 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.001067/0.001067, allocations: 174.3 kB / 173.7 MB, free: 6.152 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.568/1.568, allocations: 205.4 MB / 409 MB, free: 10.52 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.001108/0.001109, allocations: 94.08 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 12.02 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.2824, allocations: 103.2 MB / 0.7362 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.2827, allocations: 75.95 kB / 0.7363 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005419/0.2881, allocations: 1.86 MB / 0.7381 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2882, allocations: 7.938 kB / 0.7381 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.2882, allocations: 7.984 kB / 0.7381 GB, free: 5.141 MB / 0.5105 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.0007618/0.289, allocations: 442.7 kB / 0.7385 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.289, allocations: 12.03 kB / 0.7386 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.377e-05/0.2891, allocations: 46.48 kB / 0.7386 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.2891, allocations: 15.86 kB / 0.7386 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2894, allocations: 198.8 kB / 0.7388 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2894, allocations: 0 / 0.7388 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.2894, allocations: 16 kB / 0.7388 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.2897, allocations: 123.3 kB / 0.7389 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2898, allocations: 0 / 0.7389 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2898, allocations: 8 kB / 0.7389 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2898, allocations: 3.953 kB / 0.739 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.2901, allocations: 107.9 kB / 0.7391 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008625/0.291, allocations: 476.6 kB / 0.7395 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.2914, allocations: 141.3 kB / 0.7396 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.2914, allocations: 4 kB / 0.7396 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.2915, allocations: 38.56 kB / 0.7397 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.2915, allocations: 0 / 0.7397 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0005971/0.2921, allocations: 213.4 kB / 0.7399 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.2922, allocations: 77.11 kB / 0.74 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.2923, allocations: 150 kB / 0.7401 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2923, allocations: 25.7 kB / 0.7401 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.2924, allocations: 104.3 kB / 0.7402 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.2924, allocations: 35.61 kB / 0.7403 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.2925, allocations: 4 kB / 0.7403 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2926, allocations: 326.8 kB / 0.7406 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2928, allocations: 47.97 kB / 0.7406 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.2929, allocations: 69.62 kB / 0.7407 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2931, allocations: 51.97 kB / 0.7407 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2931, allocations: 0 / 0.7407 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003583/0.2934, allocations: 161.4 kB / 0.7409 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2935, allocations: 8 kB / 0.7409 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2935, allocations: 3.938 kB / 0.7409 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2935, allocations: 0 / 0.7409 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2937, allocations: 35.91 kB / 0.7409 GB, free: 2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2937, allocations: 4 kB / 0.7409 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2938, allocations: 15.92 kB / 0.741 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2939, allocations: 4 kB / 0.741 GB, free: 1.977 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 () * Number of clocked 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.0001005/0.294, allocations: 117.8 kB / 0.7411 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.294, allocations: 19.77 kB / 0.7411 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.2945, allocations: 170.9 kB / 0.7413 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2945, allocations: 0 / 0.7413 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2945, allocations: 64 / 0.7413 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2945, allocations: 11.98 kB / 0.7413 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.2948, allocations: 221.5 kB / 0.7415 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2948, allocations: 0 / 0.7415 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.295, allocations: 27.92 kB / 0.7415 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.295, allocations: 192 / 0.7415 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.295, allocations: 7.953 kB / 0.7415 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.295, allocations: 3.938 kB / 0.7415 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2951, allocations: 0 / 0.7415 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.2955, allocations: 340.3 kB / 0.7418 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2956, allocations: 96.86 kB / 0.7419 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2956, allocations: 3.953 kB / 0.7419 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2958, allocations: 14.05 kB / 0.742 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.2959, allocations: 7.984 kB / 0.742 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.2959, allocations: 8 kB / 0.742 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.699e-05/0.296, allocations: 124.2 kB / 0.7421 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.296, allocations: 0 / 0.7421 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002823/0.2963, allocations: 32 kB / 0.7421 GB, free: 0.6875 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 () * Number of clocked 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.2522/0.5485, allocations: 0.9349 MB / 0.743 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.5491, allocations: 114.1 kB / 0.7431 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5491, allocations: 3.188 kB / 0.7431 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.5493, allocations: 62.77 kB / 0.7432 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.5497, allocations: 41.58 kB / 0.7432 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.5513, allocations: 0.9727 MB / 0.7442 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.5514, allocations: 0.7088 MB / 0.7449 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.5515, allocations: 14.62 kB / 0.7449 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.5516, allocations: 34.95 kB / 0.7449 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.5516, allocations: 0 / 0.7449 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.5674, allocations: 3.221 MB / 0.7481 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.5676, allocations: 203.8 kB / 0.7483 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.115, allocations: 0 / 0.7483 GB, free: 107.4 MB / 0.5105 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)