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 2.636/2.636, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001577/0.001577, allocations: 181 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001083/0.001083, allocations: 95.72 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006452/0.0006454, allocations: 11.27 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2144, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002045/0.2165, allocations: 1.453 MB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.2169, allocations: 131.6 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.217, allocations: 4 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.2171, allocations: 7.922 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.2173, allocations: 67.8 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.2174, allocations: 23.97 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.2176, allocations: 115.8 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2177, allocations: 17.39 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.2178, allocations: 47.84 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.218, allocations: 59.75 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.218, allocations: 8 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.441e-05/0.218, allocations: 8 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.2181, allocations: 19.86 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.2181, allocations: 45.64 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.2183, allocations: 83.78 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2183, allocations: 0 / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.614e-06/0.2183, allocations: 0 / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2183, allocations: 0 / 0.9803 GB, free: 26.22 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.0008835/0.2192, allocations: 450.7 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2192, allocations: 12.02 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.2193, allocations: 34.56 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.2194, allocations: 15.81 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.2196, allocations: 204.1 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2196, allocations: 12 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.2196, allocations: 4 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.22, allocations: 133.9 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2201, allocations: 0 / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2201, allocations: 0 / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2201, allocations: 8 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.2206, allocations: 111.9 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.2215, allocations: 472.8 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.222, allocations: 133.3 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.2221, allocations: 4.078 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2221, allocations: 38.5 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.675e-06/0.2221, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0008949/0.223, allocations: 205.3 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2231, allocations: 85.11 kB / 0.9821 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.2233, allocations: 174.9 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2233, allocations: 25.7 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.2234, allocations: 112.2 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.2234, allocations: 31.5 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.2234, allocations: 0 / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.2235, allocations: 322.8 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.2237, allocations: 51.97 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.224, allocations: 65.67 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.2243, allocations: 51.98 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2243, allocations: 0 / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005854/0.2249, allocations: 157.8 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2249, allocations: 7.938 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.225, allocations: 12.03 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.225, allocations: 4 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.2253, allocations: 27.94 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.2253, allocations: 3.938 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.2255, allocations: 23.89 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2255, allocations: 4 kB / 0.9832 GB, free: 23.03 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 0.0001017/0.2257, allocations: 117.8 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.2257, allocations: 11.91 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.2264, allocations: 174.5 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2264, allocations: 4 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2264, allocations: 3.953 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2264, allocations: 0 / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.2268, allocations: 225.5 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2268, allocations: 0 / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.2271, allocations: 31.98 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2271, allocations: 0 / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.2271, allocations: 0 / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2271, allocations: 0 / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2271, allocations: 4 kB / 0.9837 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.2277, allocations: 336.3 kB / 0.984 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.2278, allocations: 89.16 kB / 0.9841 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.2279, allocations: 4.281 kB / 0.9841 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.2282, allocations: 19.98 kB / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.2282, allocations: 19.86 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2283, allocations: 3.938 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001091/0.2284, allocations: 127.2 kB / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2284, allocations: 0 / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004008/0.2288, allocations: 24 kB / 0.9843 GB, free: 21.76 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.0008131/0.2296, allocations: 0.9382 MB / 0.9852 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005612/0.2302, allocations: 115.9 kB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2302, allocations: 0 / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.2305, allocations: 60.28 kB / 0.9854 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.231, allocations: 43.86 kB / 0.9854 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.2331, allocations: 0.9871 MB / 0.9864 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.2333, allocations: 0.7088 MB / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.2335, allocations: 16.59 kB / 0.9871 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.2336, allocations: 31.42 kB / 0.9871 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.2336, allocations: 0 / 0.9871 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.2559, allocations: 3.213 MB / 0.9903 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.2562, allocations: 205.7 kB / 0.9905 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/2.719, allocations: 0 / 0.9905 GB, free: 15.5 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)