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.464/1.464, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001243/0.001243, allocations: 186.6 kB / 326.5 MB, free: 2.246 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.127/2.127, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009544/0.0009542, allocations: 93.67 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 8.531 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2267, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001717/0.2285, allocations: 1.389 MB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000524/0.2291, allocations: 241.1 kB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.2291, allocations: 0 / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2292, allocations: 11.86 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.2294, allocations: 55.81 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.2296, allocations: 35.89 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.2297, allocations: 127.7 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2299, allocations: 29.48 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.23, allocations: 55.78 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.2301, allocations: 75.72 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.2302, allocations: 8 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.2302, allocations: 4 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.2302, allocations: 23.91 kB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.022e-05/0.2303, allocations: 45.64 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2305, allocations: 112 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2305, allocations: 4 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2305, allocations: 0 / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.2305, allocations: 4 kB / 0.9023 GB, free: 62.13 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.0008845/0.2314, allocations: 462.8 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2315, allocations: 8.031 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.2315, allocations: 42.55 kB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.2316, allocations: 15.81 kB / 0.9028 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2317, allocations: 190.7 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.2317, allocations: 15.98 kB / 0.903 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.2317, allocations: 8 kB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.2321, allocations: 153.4 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2321, allocations: 3.938 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.2321, allocations: 11.89 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2322, allocations: 4 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.2326, allocations: 139.9 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.2334, allocations: 0.5083 MB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.2339, allocations: 181.3 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.234, allocations: 15.92 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.2344, allocations: 145.2 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.595e-06/0.2344, allocations: 4 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.000889/0.2353, allocations: 273.3 kB / 0.9044 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.2354, allocations: 81.11 kB / 0.9045 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2356, allocations: 176 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.2356, allocations: 25.7 kB / 0.9047 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.2357, allocations: 116 kB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.2358, allocations: 43.45 kB / 0.9048 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.2358, allocations: 0 / 0.9048 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.2359, allocations: 330.8 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.2362, allocations: 75.95 kB / 0.9052 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.2365, allocations: 97.53 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.2369, allocations: 83.97 kB / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2369, allocations: 0 / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007074/0.2376, allocations: 213.4 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2377, allocations: 4 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2377, allocations: 0 / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2377, allocations: 0 / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.2379, allocations: 47.91 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2379, allocations: 0 / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.2381, allocations: 35.81 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2381, allocations: 4 kB / 0.9057 GB, free: 58.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.2382, allocations: 125.8 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.2383, allocations: 11.91 kB / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.2389, allocations: 230.8 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2389, allocations: 4 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2389, allocations: 0 / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2389, allocations: 0 / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.2391, allocations: 233.9 kB / 0.9063 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2391, allocations: 7.891 kB / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.2393, allocations: 39.97 kB / 0.9063 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2393, allocations: 4 kB / 0.9063 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2393, allocations: 0 / 0.9063 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2393, allocations: 4 kB / 0.9063 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2393, allocations: 0 / 0.9063 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.2398, allocations: 243.4 kB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.2398, allocations: 96.88 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.2399, allocations: 4 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.24, allocations: 23.98 kB / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.2401, allocations: 19.97 kB / 0.9067 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2401, allocations: 4 kB / 0.9067 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.333e-05/0.2402, allocations: 135.5 kB / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2402, allocations: 0 / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002084/0.2404, allocations: 35.91 kB / 0.9069 GB, free: 57.11 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 (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.0006562/0.2411, allocations: 0.8515 MB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004571/0.2416, allocations: 167.9 kB / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2416, allocations: 0 / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.2418, allocations: 95.88 kB / 0.9079 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.2421, allocations: 53.88 kB / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.2437, allocations: 1.138 MB / 0.9091 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.2438, allocations: 0.7127 MB / 0.9098 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.972e-05/0.2439, allocations: 17.42 kB / 0.9098 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.244, allocations: 39.48 kB / 0.9099 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.244, allocations: 0 / 0.9099 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.2623, allocations: 3.706 MB / 0.9135 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/0.2626, allocations: 220.6 kB / 0.9137 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.862, allocations: 3.594 kB / 0.9137 GB, free: 50.23 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)