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.502/1.502, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 187.8 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.438/2.438, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.0009466/0.0009465, allocations: 96.67 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003599, allocations: 13.05 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 106.3 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.435, allocations: 132.2 MB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4353, allocations: 71.95 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006179/0.4415, allocations: 2.068 MB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4416, allocations: 0 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.4416, allocations: 4 kB / 1.031 GB, free: 9.887 MB / 0.6823 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.0008881/0.4425, allocations: 466.7 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4425, allocations: 12.03 kB / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.4426, allocations: 42.55 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.4426, allocations: 11.91 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.4428, allocations: 187.5 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4428, allocations: 12 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4428, allocations: 11.98 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.4432, allocations: 149 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4433, allocations: 4 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4433, allocations: 7.953 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4433, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.4437, allocations: 151.8 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.4447, allocations: 0.5005 MB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.4452, allocations: 189.2 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.4453, allocations: 0 / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.4457, allocations: 157.1 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.4457, allocations: 0 / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0008101/0.4465, allocations: 269.3 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4466, allocations: 81.11 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4467, allocations: 159.2 kB / 1.034 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4468, allocations: 29.7 kB / 1.034 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.4469, allocations: 112 kB / 1.034 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.4469, allocations: 47.39 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.4469, allocations: 4 kB / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4471, allocations: 322.8 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.4473, allocations: 75.95 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.4476, allocations: 99.77 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.4478, allocations: 75.91 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4478, allocations: 0 / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005495/0.4484, allocations: 225.3 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4484, allocations: 4 kB / 1.035 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.4484, allocations: 11.98 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4484, allocations: 0 / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.4487, allocations: 39.91 kB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4487, allocations: 0 / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4489, allocations: 28.2 kB / 1.035 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.4489, allocations: 4 kB / 1.035 GB, free: 6.195 MB / 0.6823 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 () * Number of clocked 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 0.0001196/0.4491, allocations: 134.6 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4491, allocations: 15.89 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006237/0.4497, allocations: 230.8 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4497, allocations: 0 / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4497, allocations: 4 kB / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4498, allocations: 0 / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.45, allocations: 225.6 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.45, allocations: 7.938 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.4502, allocations: 39.86 kB / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4502, allocations: 0 / 1.035 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.4503, allocations: 8 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4503, allocations: 3.984 kB / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4503, allocations: 0 / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.4508, allocations: 247.4 kB / 1.036 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.4509, allocations: 92.92 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.4509, allocations: 0 / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.4511, allocations: 23.97 kB / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.4512, allocations: 15.98 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.4512, allocations: 3.984 kB / 1.036 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001078/0.4513, allocations: 139.4 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4513, allocations: 0 / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002295/0.4516, allocations: 36 kB / 1.036 GB, free: 4.887 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0008866/0.4525, allocations: 0.8553 MB / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.453, allocations: 171.8 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.453, allocations: 0 / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.4533, allocations: 95.88 kB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.4536, allocations: 45.38 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.4554, allocations: 1.131 MB / 1.038 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4557, allocations: 0.7126 MB / 1.039 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000114/0.4558, allocations: 17.42 kB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.4559, allocations: 43.48 kB / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/0.4559, allocations: 0 / 1.039 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.4704, allocations: 3.72 MB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.4706, allocations: 218.8 kB / 1.043 GB, free: 13.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.107, allocations: 0 / 1.043 GB, free: 13.99 MB / 0.698 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)