Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_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.0008646/0.0008646, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.000935/0.0009352, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005038, allocations: 11.88 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2113, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001816/0.2132, allocations: 1.504 MB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002416/0.2135, allocations: 115.7 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.2135, allocations: 0 / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.165e-05/0.2136, allocations: 15.86 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.596e-05/0.2137, allocations: 43.61 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.2138, allocations: 27.97 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.214, allocations: 163.1 kB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.2141, allocations: 21.39 kB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.2142, allocations: 43.84 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.2143, allocations: 67.75 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.2143, allocations: 4 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.2143, allocations: 4 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.2144, allocations: 15.92 kB / 0.7894 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.2144, allocations: 45.64 kB / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.2145, allocations: 79.78 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2145, allocations: 4 kB / 0.7895 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2146, allocations: 3.938 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.2146, allocations: 0 / 0.7895 GB, free: 9.672 MB / 0.6075 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.0007377/0.2153, allocations: 450.7 kB / 0.7899 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2154, allocations: 12.03 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.2154, allocations: 34.56 kB / 0.79 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.2154, allocations: 15.81 kB / 0.79 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.2157, allocations: 210.7 kB / 0.7902 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2157, allocations: 4 kB / 0.7902 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.2158, allocations: 11.98 kB / 0.7902 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.2161, allocations: 127.3 kB / 0.7903 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2161, allocations: 0 / 0.7903 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2161, allocations: 4 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2161, allocations: 4 kB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.2164, allocations: 111.9 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.2171, allocations: 476.8 kB / 0.7909 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.2175, allocations: 129.2 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2177, allocations: 73.72 kB / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.2177, allocations: 8.062 kB / 0.7911 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2177, allocations: 30.56 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.2177, allocations: 0 / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005482/0.2183, allocations: 209.3 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2183, allocations: 85.09 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2185, allocations: 163.4 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2185, allocations: 29.7 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.2186, allocations: 112.1 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.2186, allocations: 31.55 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.2186, allocations: 8 kB / 0.7917 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.2187, allocations: 318.8 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2189, allocations: 55.97 kB / 0.7921 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.219, allocations: 61.69 kB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.2192, allocations: 55.91 kB / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2192, allocations: 0 / 0.7922 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003226/0.2195, allocations: 157.5 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2195, allocations: 4 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2196, allocations: 0 / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2196, allocations: 192 / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2197, allocations: 31.92 kB / 0.7924 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2197, allocations: 7.891 kB / 0.7924 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2199, allocations: 23.89 kB / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2199, allocations: 4 kB / 0.7924 GB, free: 6.414 MB / 0.6075 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 7.495e-05/0.22, allocations: 113.8 kB / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.22, allocations: 11.91 kB / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.2204, allocations: 178.5 kB / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2204, allocations: 0 / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2205, allocations: 0 / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2205, allocations: 3.953 kB / 0.7927 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.2207, allocations: 221.9 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2207, allocations: 0 / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.2209, allocations: 35.97 kB / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2209, allocations: 0 / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2209, allocations: 8 kB / 0.793 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2209, allocations: 3.938 kB / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2209, allocations: 0 / 0.793 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.2213, allocations: 326.9 kB / 0.7933 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.2214, allocations: 92.91 kB / 0.7934 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.2214, allocations: 3.984 kB / 0.7934 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2216, allocations: 12 kB / 0.7934 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2216, allocations: 11.98 kB / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2216, allocations: 4 kB / 0.7934 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.69e-05/0.2217, allocations: 128.2 kB / 0.7935 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2218, allocations: 3.938 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002909/0.222, allocations: 35.95 kB / 0.7935 GB, free: 5.145 MB / 0.6075 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.0006637/0.2227, allocations: 0.8522 MB / 0.7944 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.2231, allocations: 124 kB / 0.7945 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2231, allocations: 0 / 0.7945 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.2232, allocations: 67.84 kB / 0.7946 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.2237, allocations: 39.92 kB / 0.7946 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.225, allocations: 0.8315 MB / 0.7954 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2253, allocations: 0.7009 MB / 0.7961 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.867e-05/0.2254, allocations: 20.42 kB / 0.7961 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.2254, allocations: 35.42 kB / 0.7961 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2255, allocations: 0 / 0.7961 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.2424, allocations: 3.225 MB / 0.7993 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/0.2427, allocations: 199.6 kB / 0.7995 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.026, allocations: 0 / 0.7995 GB, free: 15.11 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: