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.346/1.346, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0008805/0.0008806, allocations: 177.6 kB / 325.9 MB, free: 2.641 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.373/1.373, allocations: 205 MB / 0.576 GB, free: 20.96 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.0006747/0.0006747, allocations: 94.39 kB / 0.6797 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 9.312 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001365/0.143, allocations: 1.562 MB / 0.8977 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001808/0.1432, allocations: 128.4 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.1433, allocations: 4 kB / 0.8978 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.741e-05/0.1434, allocations: 7.922 kB / 0.8978 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.1435, allocations: 43.61 kB / 0.8979 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.43e-05/0.1436, allocations: 27.97 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1437, allocations: 171.1 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.1439, allocations: 21.09 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.1439, allocations: 47.86 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.144, allocations: 63.69 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.144, allocations: 4 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.263e-05/0.1441, allocations: 4 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.1441, allocations: 23.86 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.1441, allocations: 63.66 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.1443, allocations: 107.6 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1443, allocations: 3.984 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1443, allocations: 0 / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.1443, allocations: 0 / 0.8984 GB, free: 65.73 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.0006012/0.1449, allocations: 444.4 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.145, allocations: 8.031 kB / 0.8988 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.145, allocations: 38.75 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.145, allocations: 16.69 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.1452, allocations: 208 kB / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1452, allocations: 8.375 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1452, allocations: 4.375 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1455, allocations: 133 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1455, allocations: 3.938 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1455, allocations: 4 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1455, allocations: 0 / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.1458, allocations: 115.9 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.1464, allocations: 476.6 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.1467, allocations: 137.2 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1468, allocations: 73.77 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1469, allocations: 4 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.1469, allocations: 34.56 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1469, allocations: 0 / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004857/0.1474, allocations: 209.5 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.1474, allocations: 77.11 kB / 0.9003 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.1475, allocations: 178.8 kB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.1475, allocations: 25.7 kB / 0.9005 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.1476, allocations: 112 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1476, allocations: 27.56 kB / 0.9006 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.1476, allocations: 13.72 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.1477, allocations: 334.8 kB / 0.901 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1478, allocations: 51.97 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1479, allocations: 65.69 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.1481, allocations: 113.9 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1481, allocations: 4 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000269/0.1484, allocations: 165.4 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1484, allocations: 4 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1484, allocations: 0 / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1485, allocations: 8 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1486, allocations: 27.92 kB / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1486, allocations: 0 / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1487, allocations: 19.86 kB / 0.9014 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.1487, allocations: 4 kB / 0.9014 GB, free: 62.38 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 5.626e-05/0.1488, allocations: 122.5 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.1488, allocations: 19.75 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.1492, allocations: 174.5 kB / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1492, allocations: 0 / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1492, allocations: 4 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1492, allocations: 3.938 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.1494, allocations: 217.7 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1494, allocations: 4 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.1495, allocations: 19.98 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1495, allocations: 4 kB / 0.902 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1496, allocations: 192 / 0.902 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1496, allocations: 8 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1496, allocations: 7.922 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1499, allocations: 330.7 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.1499, allocations: 85.02 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1499, allocations: 8 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1501, allocations: 15.92 kB / 0.9024 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1501, allocations: 11.92 kB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1501, allocations: 0 / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.1502, allocations: 131.2 kB / 0.9025 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1502, allocations: 0 / 0.9025 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002361/0.1504, allocations: 28 kB / 0.9026 GB, free: 61.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: 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.0004099/0.1509, allocations: 0.8599 MB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1511, allocations: 119.9 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1511, allocations: 0 / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1513, allocations: 63.89 kB / 0.9036 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1517, allocations: 42.36 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1532, allocations: 1.891 MB / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/0.1533, allocations: 0.7009 MB / 0.9061 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.246e-05/0.1533, allocations: 16.83 kB / 0.9062 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.1534, allocations: 31.42 kB / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1534, allocations: 0 / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06251/0.2159, allocations: 3.254 MB / 0.9094 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001304/0.2161, allocations: 233.7 kB / 0.9096 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.789, allocations: 0 / 0.9096 GB, free: 53.94 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)