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.589/1.589, allocations: 252 MB / 267 MB, free: 10.96 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.001005/0.001006, allocations: 178.6 kB / 326.6 MB, free: 2.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.575/1.575, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007361/0.0007366, allocations: 98.64 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004217, allocations: 12.42 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2283, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.001671/0.23, allocations: 1.431 MB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004749/0.2305, allocations: 232.2 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.2306, allocations: 3.938 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.2306, allocations: 11.92 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.2308, allocations: 43.64 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.231, allocations: 31.95 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2312, allocations: 183.1 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2313, allocations: 29.42 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2314, allocations: 51.84 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.2315, allocations: 71.73 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.2316, allocations: 8 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.53e-05/0.2316, allocations: 7.938 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.2316, allocations: 27.89 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.2317, allocations: 49.64 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.2318, allocations: 104 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2318, allocations: 7.938 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2318, allocations: 4 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2318, allocations: 0 / 0.9025 GB, free: 61.5 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.0008801/0.2327, allocations: 466.8 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2328, allocations: 12.03 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.2328, allocations: 38.55 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.2329, allocations: 15.81 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.233, allocations: 190.8 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.233, allocations: 8 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.2331, allocations: 8 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.2335, allocations: 157.7 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2335, allocations: 0 / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2335, allocations: 7.953 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2335, allocations: 4 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.234, allocations: 143.8 kB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.2348, allocations: 0.5045 MB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.2353, allocations: 185.1 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.2355, allocations: 89.78 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.2355, allocations: 4 kB / 0.9043 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.2359, allocations: 157 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.2359, allocations: 0 / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.000752/0.2367, allocations: 285.3 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2367, allocations: 77.11 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.2369, allocations: 176 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.2369, allocations: 25.7 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.2369, allocations: 120 kB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.237, allocations: 35.45 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.557e-06/0.237, allocations: 0 / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.237, allocations: 330.8 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.2373, allocations: 75.95 kB / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.2375, allocations: 94.78 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.2377, allocations: 75.95 kB / 0.9057 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2378, allocations: 3.938 kB / 0.9057 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004846/0.2382, allocations: 217.3 kB / 0.9059 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2383, allocations: 8 kB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2383, allocations: 4 kB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2383, allocations: 0 / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.2385, allocations: 43.91 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2385, allocations: 3.984 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2387, allocations: 27.83 kB / 0.906 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2388, allocations: 8 kB / 0.906 GB, free: 57.7 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 8.568e-05/0.2388, allocations: 130.4 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.2389, allocations: 11.91 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.2394, allocations: 226.8 kB / 0.9063 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2394, allocations: 0 / 0.9063 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2394, allocations: 4 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2395, allocations: 0 / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2396, allocations: 237.5 kB / 0.9066 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2396, allocations: 0 / 0.9066 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.2398, allocations: 31.97 kB / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2398, allocations: 384 / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2398, allocations: 7.938 kB / 0.9066 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2398, allocations: 4 kB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2398, allocations: 0 / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.2403, allocations: 241.7 kB / 0.9069 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.2404, allocations: 96.89 kB / 0.9069 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.2404, allocations: 0 / 0.9069 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2406, allocations: 23.98 kB / 0.907 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.2407, allocations: 11.97 kB / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2407, allocations: 8 kB / 0.907 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.83e-05/0.2408, allocations: 139.5 kB / 0.9071 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2408, allocations: 0 / 0.9071 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002075/0.241, allocations: 39.91 kB / 0.9072 GB, free: 56.4 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.0006532/0.2416, allocations: 0.7654 MB / 0.9079 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.2421, allocations: 188 kB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2421, allocations: 4 kB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.2424, allocations: 87.88 kB / 0.9082 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.2427, allocations: 53.88 kB / 0.9082 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2443, allocations: 0.9832 MB / 0.9092 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2445, allocations: 0.7049 MB / 0.9099 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.2446, allocations: 17.42 kB / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.2447, allocations: 39.48 kB / 0.9099 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of SimCode: time 1.563e-06/0.2447, allocations: 0 / 0.9099 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.259, allocations: 3.725 MB / 0.9136 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.2592, allocations: 230.6 kB / 0.9138 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.097, allocations: 0 / 0.9138 GB, free: 49.75 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)