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.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.961 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.00131/0.00131, allocations: 188.2 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008961/0.0008961, allocations: 90.52 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.788e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1771, allocations: 106.4 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6113/0.7885, allocations: 132.4 MB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.7887, allocations: 70.02 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005801/0.7945, allocations: 2.047 MB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7945, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.7945, allocations: 192 / 1.017 GB, free: 3.219 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.0006798/0.7952, allocations: 453.7 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.7953, allocations: 14.77 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.7953, allocations: 7.906 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.7955, allocations: 189.7 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7955, allocations: 4 kB / 1.017 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.7955, allocations: 7.812 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001556/0.7957, allocations: 66.11 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.7959, allocations: 114.2 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.7959, allocations: 3.953 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.7959, allocations: 0 / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7959, allocations: 5.031 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.7967, allocations: 476.8 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.797, allocations: 121.7 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.7971, allocations: 55.72 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.7971, allocations: 8.094 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.7973, allocations: 115.1 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.7973, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.000251/0.7976, allocations: 111 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.7976, allocations: 92.67 kB / 1.018 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.7978, allocations: 138.6 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.7978, allocations: 33.64 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.7979, allocations: 113.9 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.7979, allocations: 35.14 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.7979, allocations: 0 / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.798, allocations: 325.7 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.7981, allocations: 34.31 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.7982, allocations: 59.08 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.7983, allocations: 36.09 kB / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7983, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002241/0.7985, allocations: 142.2 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7985, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7985, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.7985, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.7988, allocations: 39.97 kB / 1.019 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.7988, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.799, allocations: 23.97 kB / 1.019 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.799, allocations: 7.812 kB / 1.019 GB, free: 0.5078 MB / 0.6355 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.356e-05/0.7991, allocations: 112.5 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000187/0.7993, allocations: 129.3 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.7993, allocations: 11.81 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.7996, allocations: 147.7 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7996, allocations: 0 / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7996, allocations: 4 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7996, allocations: 0 / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.7998, allocations: 198.1 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7998, allocations: 3.953 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.8, allocations: 43.59 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.8, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.8, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8, allocations: 80 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.8, allocations: 7.984 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.8003, allocations: 161.3 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.8003, allocations: 85.02 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.8004, allocations: 14.98 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.8005, allocations: 15.98 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.8006, allocations: 19.09 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.8006, allocations: 4 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.703e-05/0.8007, allocations: 116.4 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.024e-06/0.8007, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000223/0.8009, allocations: 43.78 kB / 1.02 GB, free: 15.43 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.0004825/0.8014, allocations: 0.7805 MB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.8016, allocations: 88.69 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8016, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.826e-05/0.8017, allocations: 49.19 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.802, allocations: 38.58 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.8025, allocations: 197 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.8028, allocations: 0.7084 MB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.801e-05/0.8029, allocations: 24.7 kB / 1.022 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.803, allocations: 42.05 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.803, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.8224, allocations: 3.107 MB / 1.025 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.8226, allocations: 184.8 kB / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.339, allocations: 0 / 1.026 GB, free: 10.3 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)