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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001515, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002085/0.002085, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9451/0.9451, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 97.41 kB / 0.5953 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1394, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002923/0.1423, allocations: 1.813 MB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.1426, allocations: 125.1 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.591e-05/0.1428, allocations: 0 / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1429, allocations: 16.48 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.143, allocations: 49.41 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.1431, allocations: 35.94 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1433, allocations: 175.2 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1434, allocations: 25.09 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.1435, allocations: 55.78 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.1436, allocations: 67.69 kB / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1436, allocations: 12 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.724e-05/0.1437, allocations: 11.94 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.1437, allocations: 27.92 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.1438, allocations: 71.64 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.144, allocations: 127.5 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.144, allocations: 0 / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.144, allocations: 0 / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.144, allocations: 0 / 0.6828 GB, free: 14 MB / 494.1 MB 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.0007104/0.1447, allocations: 450.8 kB / 0.6832 GB, free: 13.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1447, allocations: 12.03 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.1448, allocations: 38.73 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1448, allocations: 12.84 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.145, allocations: 202 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.145, allocations: 8.375 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.1451, allocations: 4.375 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.1453, allocations: 123.8 kB / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1454, allocations: 7.938 kB / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1454, allocations: 0 / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1454, allocations: 0 / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.1457, allocations: 95.88 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006678/0.1464, allocations: 472.7 kB / 0.6842 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.1467, allocations: 129.2 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1469, allocations: 61.78 kB / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1469, allocations: 0 / 0.6844 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.147, allocations: 46.48 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.147, allocations: 0 / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005444/0.1475, allocations: 177.5 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1476, allocations: 81.05 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1477, allocations: 171 kB / 0.6848 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1478, allocations: 25.7 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1478, allocations: 104.1 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1478, allocations: 35.61 kB / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.1479, allocations: 21.72 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.148, allocations: 334.8 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1482, allocations: 43.95 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1483, allocations: 53.94 kB / 0.6854 GB, free: 11.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.1486, allocations: 109.8 kB / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1486, allocations: 0 / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000342/0.149, allocations: 149.3 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.149, allocations: 11.98 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.149, allocations: 0 / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.149, allocations: 0 / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1492, allocations: 23.92 kB / 0.6857 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1492, allocations: 4 kB / 0.6857 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.1493, allocations: 19.92 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1493, allocations: 4 kB / 0.6857 GB, free: 10.75 MB / 494.1 MB 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 7.713e-05/0.1494, allocations: 114.5 kB / 0.6858 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.1495, allocations: 15.81 kB / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.1499, allocations: 166.5 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1499, allocations: 4 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1499, allocations: 240 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1499, allocations: 3.938 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.1502, allocations: 213.6 kB / 0.6862 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1502, allocations: 4.172 kB / 0.6862 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1504, allocations: 27.92 kB / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1504, allocations: 0 / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1504, allocations: 8 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1504, allocations: 0 / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1504, allocations: 4 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.1508, allocations: 322.5 kB / 0.6866 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1509, allocations: 88.92 kB / 0.6866 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.1509, allocations: 0 / 0.6866 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1511, allocations: 11.98 kB / 0.6867 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.1511, allocations: 15.92 kB / 0.6867 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1511, allocations: 4 kB / 0.6867 GB, free: 9.672 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1513, allocations: 125.8 kB / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1513, allocations: 0 / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.1516, allocations: 28 kB / 0.6868 GB, free: 9.523 MB / 494.1 MB 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.0006664/0.1522, allocations: 0.8445 MB / 0.6876 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003402/0.1526, allocations: 99.88 kB / 0.6877 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1526, allocations: 4 kB / 0.6877 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1528, allocations: 59.89 kB / 0.6878 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1532, allocations: 37.05 kB / 0.6878 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1553, allocations: 1.831 MB / 0.6896 GB, free: 6.531 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.1555, allocations: 0.7006 MB / 0.6903 GB, free: 5.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.054e-05/0.1556, allocations: 12.66 kB / 0.6903 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.1557, allocations: 31.42 kB / 0.6903 GB, free: 5.762 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1557, allocations: 0 / 0.6903 GB, free: 5.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.1743, allocations: 3.61 MB / 0.6939 GB, free: 2.328 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.146, allocations: 10.11 kB / 0.6939 GB, free: 2.32 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)