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.572/1.572, allocations: 252 MB / 267.3 MB, free: 10.84 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.001096/0.001096, allocations: 183 kB / 327 MB, free: 2.082 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.17/2.17, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007758/0.0007755, allocations: 91.89 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 8.781 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2645, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001768/0.2663, allocations: 1.474 MB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005201/0.2669, allocations: 240.1 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.715e-05/0.267, allocations: 0 / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.267, allocations: 11.91 kB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.2673, allocations: 43.62 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.2675, allocations: 47.89 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.2677, allocations: 183.2 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2678, allocations: 21.44 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2679, allocations: 63.81 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2681, allocations: 71.69 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.2681, allocations: 8 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.2681, allocations: 4 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.2682, allocations: 27.84 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.2683, allocations: 89.36 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.2684, allocations: 155.7 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2684, allocations: 0 / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2685, allocations: 0 / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2685, allocations: 0 / 0.9033 GB, free: 60.95 MB / 0.6042 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.0008748/0.2694, allocations: 466.9 kB / 0.9037 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2694, allocations: 16.03 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/0.2695, allocations: 42.73 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.2695, allocations: 16.75 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2697, allocations: 192.1 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2697, allocations: 8.375 kB / 0.904 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.2697, allocations: 8.312 kB / 0.904 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.2701, allocations: 158.1 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2701, allocations: 3.938 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2701, allocations: 3.938 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2701, allocations: 4 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.2705, allocations: 147.9 kB / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.2714, allocations: 0.5005 MB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.2719, allocations: 197.1 kB / 0.905 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.2721, allocations: 85.8 kB / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.2722, allocations: 4 kB / 0.9051 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.2725, allocations: 156.9 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.2725, allocations: 0 / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.000748/0.2733, allocations: 273.4 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.2733, allocations: 85.05 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2735, allocations: 179.2 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2735, allocations: 33.7 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.2736, allocations: 112 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.2736, allocations: 35.45 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.2736, allocations: 4 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.2737, allocations: 326.8 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.2739, allocations: 71.95 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.2741, allocations: 97.66 kB / 0.9064 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.2745, allocations: 165.7 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2745, allocations: 0 / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004811/0.275, allocations: 217.4 kB / 0.9067 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.275, allocations: 7.984 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2751, allocations: 0 / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2751, allocations: 4 kB / 0.9068 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.2753, allocations: 39.91 kB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2753, allocations: 0 / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2755, allocations: 39.77 kB / 0.9068 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2755, allocations: 4 kB / 0.9068 GB, free: 57.04 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.2756, allocations: 123.6 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.2757, allocations: 19.83 kB / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.2762, allocations: 222.9 kB / 0.9072 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2762, allocations: 4 kB / 0.9072 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2762, allocations: 7.938 kB / 0.9072 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2762, allocations: 3.938 kB / 0.9072 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.2764, allocations: 229.5 kB / 0.9074 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2764, allocations: 0 / 0.9074 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2766, allocations: 36.3 kB / 0.9075 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2766, allocations: 4 kB / 0.9075 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2766, allocations: 4 kB / 0.9075 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2766, allocations: 3.984 kB / 0.9075 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2766, allocations: 4 kB / 0.9075 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.2771, allocations: 237.6 kB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.2771, allocations: 92.95 kB / 0.9078 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2772, allocations: 0 / 0.9078 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.2773, allocations: 23.97 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.2774, allocations: 23.92 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2774, allocations: 7.938 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.448e-05/0.2775, allocations: 135.2 kB / 0.908 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.41e-07/0.2775, allocations: 0 / 0.908 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002077/0.2778, allocations: 39.84 kB / 0.908 GB, free: 55.73 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006715/0.2784, allocations: 0.7616 MB / 0.9087 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.2789, allocations: 180.1 kB / 0.9089 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2789, allocations: 0 / 0.9089 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.2792, allocations: 87.89 kB / 0.909 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2796, allocations: 61.61 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.2819, allocations: 1.981 MB / 0.911 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.282, allocations: 0.7049 MB / 0.9117 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.2821, allocations: 21.41 kB / 0.9117 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.2822, allocations: 44.83 kB / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2822, allocations: 0 / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1877/0.47, allocations: 3.756 MB / 0.9154 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.4702, allocations: 243 kB / 0.9156 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.43, allocations: 2.031 kB / 0.9157 GB, free: 47.99 MB / 0.6042 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)