Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 249.3 MB / 261.8 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 176.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001012, allocations: 84.92 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.43e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7368/0.9737, allocations: 132.1 MB / 1.021 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.9739, allocations: 62.59 kB / 1.021 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006242/0.9802, allocations: 2.056 MB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9802, allocations: 4 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9802, allocations: 4 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007514/0.981, allocations: 449.2 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.9811, allocations: 10.77 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.882e-05/0.9811, allocations: 48.8 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.9812, allocations: 11.91 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.9814, allocations: 187.7 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.9814, allocations: 7.438 kB / 1.024 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.9815, allocations: 15.23 kB / 1.024 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.9817, allocations: 114.2 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9818, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.9818, allocations: 7.578 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.9818, allocations: 4 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.982, allocations: 76.86 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009614/0.9829, allocations: 0.4965 MB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.9833, allocations: 127.4 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.9834, allocations: 55.91 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.9834, allocations: 11.94 kB / 1.025 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.9837, allocations: 114.8 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.9837, allocations: 0 / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0003179/0.984, allocations: 130 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.9841, allocations: 77.11 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.9843, allocations: 164.8 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.9843, allocations: 25.7 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.9844, allocations: 111.9 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.9844, allocations: 40.97 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.9844, allocations: 3.125 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.9845, allocations: 328.7 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.9846, allocations: 35.5 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.9847, allocations: 59.16 kB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.9848, allocations: 42.55 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9848, allocations: 0 / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002483/0.9851, allocations: 146.7 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9851, allocations: 4 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.9851, allocations: 0 / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.9851, allocations: 3.984 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.9854, allocations: 47.72 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9854, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.9856, allocations: 31.83 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.9856, allocations: 4 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.689e-05/0.9857, allocations: 115.6 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.9857, allocations: 7.906 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.9861, allocations: 158.2 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.9861, allocations: 12 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9861, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9861, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.9863, allocations: 229.5 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9864, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.9866, allocations: 38.84 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9866, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.9866, allocations: 0 / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.9866, allocations: 4 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9866, allocations: 7.938 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.9869, allocations: 176.5 kB / 1.027 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.987, allocations: 88.92 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.987, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.9872, allocations: 34.72 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.9873, allocations: 11.42 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.9873, allocations: 7.984 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.445e-05/0.9874, allocations: 133 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9874, allocations: 0 / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002329/0.9876, allocations: 35.75 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005683/0.9882, allocations: 0.7817 MB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.9884, allocations: 99 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9884, allocations: 4 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.9886, allocations: 55.33 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.9889, allocations: 47.8 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.9894, allocations: 212.3 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.9897, allocations: 0.7165 MB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.9898, allocations: 17.2 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.9899, allocations: 42.23 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9899, allocations: 0 / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/1.005, allocations: 3.731 MB / 1.032 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/1.005, allocations: 191.5 kB / 1.033 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.596, allocations: 4 kB / 1.033 GB, free: 7.242 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)