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.001452/0.001452, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001803/0.001803, allocations: 193.4 kB / 16.26 MB, free: 6.621 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 278.6 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.93/0.93, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001612, allocations: 100.3 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1394, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002641/0.142, allocations: 1.873 MB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002287/0.1423, allocations: 121.6 kB / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.1424, allocations: 0 / 0.6817 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.259e-05/0.1425, allocations: 11.86 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.1426, allocations: 48.97 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.1427, allocations: 28.84 kB / 0.6818 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1429, allocations: 175.7 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.524e-05/0.143, allocations: 23.17 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.279e-05/0.1431, allocations: 55.78 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.1431, allocations: 71.75 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1432, allocations: 12 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.1432, allocations: 8 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.1432, allocations: 23.92 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.1433, allocations: 67.66 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1435, allocations: 127.5 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1435, allocations: 4 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1435, allocations: 0 / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1435, allocations: 0 / 0.6823 GB, free: 14.32 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.0006761/0.1442, allocations: 446.8 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1442, allocations: 15.97 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.1442, allocations: 38.73 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1443, allocations: 12.84 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1445, allocations: 206 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.1445, allocations: 4.375 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1445, allocations: 12.38 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1448, allocations: 119.8 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1448, allocations: 3.938 kB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1448, allocations: 8 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1448, allocations: 3.938 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.1451, allocations: 87.94 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.1457, allocations: 480.6 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.1461, allocations: 129.3 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1463, allocations: 61.72 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1463, allocations: 0 / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1463, allocations: 30.56 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.1463, allocations: 8 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005198/0.1468, allocations: 177.4 kB / 0.6841 GB, free: 12.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.1469, allocations: 81.11 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.147, allocations: 176.5 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1471, allocations: 25.7 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.1471, allocations: 104.1 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1472, allocations: 35.55 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.1472, allocations: 21.72 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.1473, allocations: 326.8 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1475, allocations: 39.97 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1476, allocations: 65.61 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.1479, allocations: 101.7 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1479, allocations: 3.938 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003353/0.1482, allocations: 149.6 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1483, allocations: 6.188 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1483, allocations: 4 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1483, allocations: 4 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1484, allocations: 23.97 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1484, allocations: 4 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1486, allocations: 12.11 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1486, allocations: 4 kB / 0.6852 GB, free: 11.08 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.993e-05/0.1487, allocations: 126.4 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.1487, allocations: 15.81 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.1492, allocations: 154.5 kB / 0.6855 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1492, allocations: 4 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1492, allocations: 7.922 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1492, allocations: 3.938 kB / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.1495, allocations: 221.7 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1495, allocations: 0 / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1496, allocations: 19.98 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1497, allocations: 4 kB / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1497, allocations: 0 / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1497, allocations: 4 kB / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1497, allocations: 0 / 0.6857 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.1501, allocations: 318.7 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1501, allocations: 92.91 kB / 0.6861 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1502, allocations: 8 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.1503, allocations: 7.984 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1504, allocations: 11.92 kB / 0.6862 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1504, allocations: 8.188 kB / 0.6862 GB, free: 9.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.268e-05/0.1505, allocations: 124.8 kB / 0.6863 GB, free: 9.875 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1505, allocations: 0 / 0.6863 GB, free: 9.875 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1508, allocations: 28 kB / 0.6863 GB, free: 9.848 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.000763/0.1516, allocations: 0.8444 MB / 0.6871 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1519, allocations: 107.9 kB / 0.6872 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1519, allocations: 0 / 0.6872 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.1521, allocations: 51.97 kB / 0.6873 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.1525, allocations: 54.08 kB / 0.6873 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1546, allocations: 1.851 MB / 0.6891 GB, free: 6.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1549, allocations: 0.7084 MB / 0.6898 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.45e-05/0.155, allocations: 4.656 kB / 0.6898 GB, free: 6.086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.1551, allocations: 43.36 kB / 0.6899 GB, free: 6.043 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1551, allocations: 4 kB / 0.6899 GB, free: 6.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.1679, allocations: 3.443 MB / 0.6932 GB, free: 2.812 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/0.1682, allocations: 231.5 kB / 0.6935 GB, free: 2.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/1.98, allocations: 0 / 0.6935 GB, free: 2.559 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)