Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.781/1.781, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001345/0.001345, allocations: 183.3 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008611/0.0008611, allocations: 78.94 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 15.7 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2242, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001725/0.226, allocations: 1.438 MB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.2263, allocations: 139.6 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.2263, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.2264, allocations: 11.91 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.2265, allocations: 59.81 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.2266, allocations: 23.95 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.2268, allocations: 119.8 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2269, allocations: 25.33 kB / 0.9812 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.227, allocations: 47.84 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.2271, allocations: 59.77 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.2271, allocations: 4 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.377e-05/0.2272, allocations: 4 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.2272, allocations: 15.92 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.2272, allocations: 45.64 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.377e-05/0.2273, allocations: 83.78 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2274, allocations: 0 / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2274, allocations: 0 / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2274, allocations: 4 kB / 0.9815 GB, free: 25.55 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.00067/0.2281, allocations: 446.7 kB / 0.9819 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2281, allocations: 8.031 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.2282, allocations: 42.55 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.2282, allocations: 15.81 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.2284, allocations: 206.8 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.2284, allocations: 4 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.2285, allocations: 8 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.2287, allocations: 127.3 kB / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2288, allocations: 0 / 0.9823 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.2288, allocations: 4 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2288, allocations: 0 / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.2291, allocations: 107.9 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.2297, allocations: 476.8 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.2301, allocations: 129.3 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.2301, allocations: 8 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2301, allocations: 38.5 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2301, allocations: 0 / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005476/0.2307, allocations: 205.8 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.2307, allocations: 85.05 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.2309, allocations: 166.9 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.2309, allocations: 25.7 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.231, allocations: 124.1 kB / 0.9836 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.231, allocations: 31.55 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.231, allocations: 0 / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.2311, allocations: 330.8 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.2312, allocations: 43.97 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2314, allocations: 65.69 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.2315, allocations: 56.03 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2315, allocations: 4 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003012/0.2318, allocations: 161.5 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2318, allocations: 4 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2318, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2319, allocations: 4 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.232, allocations: 31.92 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.232, allocations: 3.953 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2321, allocations: 15.89 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2322, allocations: 4 kB / 0.9843 GB, free: 22.37 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 6.807e-05/0.2322, allocations: 118.4 kB / 0.9845 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.2323, allocations: 15.91 kB / 0.9845 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.2327, allocations: 170.5 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2327, allocations: 4 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2327, allocations: 0 / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2327, allocations: 7.953 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.233, allocations: 225.5 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.233, allocations: 0 / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.2331, allocations: 27.97 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2331, allocations: 4 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2331, allocations: 0 / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2331, allocations: 0 / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2331, allocations: 4.188 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.2335, allocations: 340.3 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.2335, allocations: 93.19 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.2336, allocations: 4 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.2337, allocations: 12 kB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.2338, allocations: 19.81 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.2338, allocations: 4 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.2339, allocations: 127.2 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2339, allocations: 0 / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002718/0.2342, allocations: 32 kB / 0.9855 GB, free: 21.08 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.000495/0.2347, allocations: 0.9265 MB / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.235, allocations: 127.8 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.235, allocations: 0 / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.2352, allocations: 55.97 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.2355, allocations: 45.75 kB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2368, allocations: 0.9751 MB / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2369, allocations: 0.7126 MB / 0.9883 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.411e-05/0.237, allocations: 20.86 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.2371, allocations: 35.36 kB / 0.9883 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2371, allocations: 0 / 0.9883 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.2564, allocations: 3.217 MB / 0.9915 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.2567, allocations: 207.6 kB / 0.9917 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.791, allocations: 3.938 kB / 0.9917 GB, free: 14.82 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)