Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_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.49/1.49, 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.001238/0.001238, allocations: 168.5 kB / 327 MB, free: 2.109 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.136/2.136, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.0008364/0.0008362, allocations: 95.69 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003874, allocations: 12.31 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3371, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002739/0.3399, allocations: 1.546 MB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003548/0.3403, allocations: 115.6 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.3404, allocations: 4 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.3406, allocations: 11.86 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3407, allocations: 47.61 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.3408, allocations: 27.97 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.3411, allocations: 163.1 kB / 0.9028 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.3413, allocations: 29.09 kB / 0.9028 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3414, allocations: 47.78 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3415, allocations: 59.77 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.3416, allocations: 4 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.339e-05/0.3416, allocations: 8 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.3417, allocations: 19.89 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.3418, allocations: 85.38 kB / 0.903 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.342, allocations: 115.8 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.342, allocations: 4 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.388e-06/0.342, allocations: 4 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3421, allocations: 0 / 0.9031 GB, free: 61.14 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000924/0.343, allocations: 439.1 kB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.3431, allocations: 8.031 kB / 0.9036 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.3432, allocations: 38.75 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.3432, allocations: 16.75 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.3435, allocations: 207.9 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3435, allocations: 8.375 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3435, allocations: 4.375 kB / 0.9038 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.3439, allocations: 131.9 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3439, allocations: 3.938 kB / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.344, allocations: 0 / 0.904 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.344, allocations: 7.938 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.3443, allocations: 115.9 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.3451, allocations: 476.7 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.3455, allocations: 133.2 kB / 0.9047 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.3457, allocations: 73.72 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.3457, allocations: 4 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3458, allocations: 30.56 kB / 0.9048 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3458, allocations: 0 / 0.9048 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.000608/0.3464, allocations: 201.5 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3465, allocations: 85.11 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3466, allocations: 174.9 kB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3466, allocations: 25.7 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.3467, allocations: 108.1 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.3467, allocations: 31.55 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.3467, allocations: 0 / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3469, allocations: 330.8 kB / 0.9057 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.347, allocations: 55.95 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3472, allocations: 61.69 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.3475, allocations: 117.6 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3475, allocations: 0 / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003594/0.3479, allocations: 169.7 kB / 0.9061 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3479, allocations: 11.92 kB / 0.9061 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3479, allocations: 0 / 0.9061 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.3479, allocations: 4 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3481, allocations: 27.98 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3481, allocations: 0 / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3483, allocations: 23.86 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3483, allocations: 4 kB / 0.9061 GB, free: 57.81 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001183/0.3484, allocations: 114.5 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.3485, allocations: 15.81 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.3489, allocations: 178.7 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3489, allocations: 4.031 kB / 0.9064 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.349, allocations: 8 kB / 0.9064 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.349, allocations: 3.938 kB / 0.9064 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.3492, allocations: 209.6 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3493, allocations: 4.188 kB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3494, allocations: 23.92 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3494, allocations: 7.938 kB / 0.9067 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3494, allocations: 4 kB / 0.9067 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3494, allocations: 0 / 0.9067 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3495, allocations: 0 / 0.9067 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.3499, allocations: 334.5 kB / 0.907 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.35, allocations: 92.95 kB / 0.9071 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.35, allocations: 4 kB / 0.9071 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.3502, allocations: 11.98 kB / 0.9071 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.3503, allocations: 15.92 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3503, allocations: 0 / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.525e-05/0.3504, allocations: 123.2 kB / 0.9072 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.3504, allocations: 0 / 0.9072 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002685/0.3507, allocations: 32 kB / 0.9073 GB, free: 56.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0007722/0.3514, allocations: 0.856 MB / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.3518, allocations: 120.1 kB / 0.9082 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3518, allocations: 0 / 0.9082 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.352, allocations: 64.03 kB / 0.9083 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.3526, allocations: 48.03 kB / 0.9083 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.355, allocations: 1.891 MB / 0.9102 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3553, allocations: 0.7048 MB / 0.9108 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.849e-05/0.3554, allocations: 20.58 kB / 0.9109 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.3555, allocations: 31.42 kB / 0.9109 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.3555, allocations: 0 / 0.9109 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.372, allocations: 3.251 MB / 0.9141 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.3723, allocations: 227.4 kB / 0.9143 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.317, allocations: 0 / 0.9143 GB, free: 49.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)