Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.441/1.441, allocations: 287.4 MB / 302.6 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008213/0.0008214, allocations: 170.8 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.126/1.126, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007823/0.0007822, allocations: 93.27 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 15.39 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00136/0.1493, allocations: 1.507 MB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.1496, allocations: 115.6 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.1497, allocations: 4 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.142e-05/0.1498, allocations: 11.86 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.451e-05/0.1499, allocations: 39.64 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.15, allocations: 31.94 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1502, allocations: 155.1 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.1503, allocations: 25.39 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.1503, allocations: 43.86 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.1504, allocations: 59.75 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1505, allocations: 4 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.157e-05/0.1505, allocations: 4 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.1505, allocations: 19.92 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.1505, allocations: 45.64 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.51e-05/0.1506, allocations: 91.72 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.1506, allocations: 0 / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1506, allocations: 3.938 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1507, allocations: 0 / 0.9808 GB, free: 25.95 MB / 0.6198 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.0005461/0.1512, allocations: 443 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1513, allocations: 12.03 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.1513, allocations: 38.75 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1513, allocations: 20.73 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.1515, allocations: 209.3 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1515, allocations: 8.359 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1515, allocations: 8.375 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.1518, allocations: 123.9 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1518, allocations: 3.938 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1518, allocations: 7.938 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1518, allocations: 4 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.1521, allocations: 107.9 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.1526, allocations: 472.7 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.1529, allocations: 137.2 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1531, allocations: 73.78 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1531, allocations: 0 / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.139e-05/0.1531, allocations: 34.5 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1531, allocations: 0 / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004885/0.1536, allocations: 209.3 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.1536, allocations: 77.11 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.1537, allocations: 166.9 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.1538, allocations: 33.7 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.1538, allocations: 112 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1538, allocations: 31.55 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.1538, allocations: 4 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.1539, allocations: 326.8 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.154, allocations: 51.97 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1541, allocations: 65.62 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.1544, allocations: 113.9 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1544, allocations: 4 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002997/0.1547, allocations: 161.5 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1547, allocations: 5.562 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1547, allocations: 0 / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1547, allocations: 4 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1549, allocations: 31.92 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1549, allocations: 0 / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.155, allocations: 23.83 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.155, allocations: 4 kB / 0.9838 GB, free: 22.62 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/0.1551, allocations: 125.8 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.1551, allocations: 11.91 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.1555, allocations: 170.6 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1555, allocations: 0 / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1555, allocations: 3.938 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1555, allocations: 7.938 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.1557, allocations: 225.7 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1557, allocations: 0 / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1559, allocations: 27.98 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1559, allocations: 4 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1559, allocations: 7.969 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1559, allocations: 0 / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.1559, allocations: 0 / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.1562, allocations: 330.7 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.1563, allocations: 89.11 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1563, allocations: 4 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1565, allocations: 23.98 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1565, allocations: 7.922 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.1565, allocations: 4 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.1566, allocations: 123.2 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.6e-07/0.1566, allocations: 0 / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002381/0.1568, allocations: 28 kB / 0.9849 GB, free: 21.36 MB / 0.6198 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 (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.0004684/0.1573, allocations: 0.8638 MB / 0.9858 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1576, allocations: 111.9 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1576, allocations: 0 / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.1578, allocations: 67.89 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1582, allocations: 40.05 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1594, allocations: 0.8394 MB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.1595, allocations: 0.7009 MB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.1596, allocations: 16.64 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.1597, allocations: 35.36 kB / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.1597, allocations: 0 / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4871/0.6468, allocations: 3.215 MB / 0.9907 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.647, allocations: 211.9 kB / 0.9909 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.37, allocations: 0 / 0.9909 GB, free: 15.33 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)