Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003752/0.003752, allocations: 100.6 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 196.9 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 275.2 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 95.84 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1435, allocations: 86.99 MB / 0.7664 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00265/0.1462, allocations: 1.801 MB / 0.7681 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.1465, allocations: 123.5 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.1466, allocations: 7.938 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.742e-05/0.1467, allocations: 15.86 kB / 0.7683 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.1468, allocations: 47.56 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.147, allocations: 35.94 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1472, allocations: 167.1 kB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1473, allocations: 33.05 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.1474, allocations: 51.84 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.1475, allocations: 71.69 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1475, allocations: 12 kB / 0.7687 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.562e-05/0.1475, allocations: 8 kB / 0.7687 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.1476, allocations: 27.91 kB / 0.7687 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.628e-05/0.1476, allocations: 71.59 kB / 0.7688 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1478, allocations: 123.5 kB / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1478, allocations: 4 kB / 0.7689 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1478, allocations: 0 / 0.7689 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1478, allocations: 0 / 0.7689 GB, free: 5.875 MB / 0.5606 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.0006955/0.1485, allocations: 442.8 kB / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1486, allocations: 12.03 kB / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.1486, allocations: 20.73 kB / 0.7693 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1488, allocations: 215.3 kB / 0.7695 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1489, allocations: 8.312 kB / 0.7695 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1489, allocations: 8.375 kB / 0.7696 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1492, allocations: 117.7 kB / 0.7697 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1492, allocations: 192 / 0.7697 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1492, allocations: 7.938 kB / 0.7697 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1492, allocations: 8 kB / 0.7697 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.1495, allocations: 95.86 kB / 0.7698 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/0.1502, allocations: 464.8 kB / 0.7702 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.1505, allocations: 137.2 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1507, allocations: 57.78 kB / 0.7704 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1507, allocations: 8.062 kB / 0.7704 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1508, allocations: 38.5 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1508, allocations: 0 / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0005584/0.1513, allocations: 185.6 kB / 0.7706 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1514, allocations: 85.05 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1515, allocations: 171.1 kB / 0.7709 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1516, allocations: 25.7 kB / 0.7709 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.1516, allocations: 112 kB / 0.771 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1517, allocations: 31.55 kB / 0.771 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.1517, allocations: 21.72 kB / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.1518, allocations: 322.8 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.152, allocations: 47.91 kB / 0.7714 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1521, allocations: 61.67 kB / 0.7715 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.1524, allocations: 105.6 kB / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1524, allocations: 0 / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003374/0.1528, allocations: 137.5 kB / 0.7717 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1528, allocations: 8 kB / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1528, allocations: 0 / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1528, allocations: 4 kB / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.153, allocations: 27.91 kB / 0.7717 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.153, allocations: 0 / 0.7717 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1531, allocations: 16.27 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1531, allocations: 7.938 kB / 0.7718 GB, free: 2.664 MB / 0.5606 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 8.231e-05/0.1532, allocations: 122.5 kB / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.1533, allocations: 7.906 kB / 0.7719 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.1537, allocations: 162.6 kB / 0.772 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1537, allocations: 0 / 0.772 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1537, allocations: 7.938 kB / 0.772 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1537, allocations: 3.984 kB / 0.772 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.154, allocations: 221.5 kB / 0.7723 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.154, allocations: 8 kB / 0.7723 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1541, allocations: 19.98 kB / 0.7723 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1542, allocations: 3.938 kB / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1542, allocations: 0 / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1542, allocations: 0 / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1542, allocations: 4 kB / 0.7723 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.1546, allocations: 315.1 kB / 0.7726 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.1546, allocations: 88.92 kB / 0.7727 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1547, allocations: 4 kB / 0.7727 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.1549, allocations: 11.98 kB / 0.7727 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1549, allocations: 7.984 kB / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.1549, allocations: 7.938 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.527e-05/0.155, allocations: 129.8 kB / 0.7728 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.155, allocations: 4 kB / 0.7728 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002851/0.1553, allocations: 28 kB / 0.7729 GB, free: 1.434 MB / 0.5606 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 7.528e-05/0.1554, allocations: 95.25 kB / 0.773 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.1558, allocations: 107.9 kB / 0.7731 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1558, allocations: 3.938 kB / 0.7731 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1559, allocations: 59.91 kB / 0.7731 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1563, allocations: 36.45 kB / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.1568, allocations: 231.5 kB / 0.7734 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.157, allocations: 0.7123 MB / 0.7741 GB, free: 136 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.193e-05/0.1571, allocations: 12.78 kB / 0.7741 GB, free: 124 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.1572, allocations: 19.44 kB / 0.7741 GB, free: 104 kB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.1572, allocations: 0 / 0.7741 GB, free: 104 kB / 0.5606 GB Notification: Performance of Templates: time 0.2838/0.441, allocations: 2.148 MB / 0.7762 GB, free: 14.37 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)