Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002257/0.002257, allocations: 173.8 kB / 326.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009769/0.0009768, allocations: 101.7 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003481, allocations: 13.53 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.236, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00184/0.2379, allocations: 1.457 MB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002321/0.2382, allocations: 139.6 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.2383, allocations: 0 / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.2383, allocations: 7.922 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.2384, allocations: 63.81 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.2386, allocations: 19.97 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.2387, allocations: 119.7 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2388, allocations: 21.11 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.2389, allocations: 43.86 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.239, allocations: 67.73 kB / 0.902 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.2391, allocations: 8 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.2391, allocations: 4 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.2391, allocations: 11.92 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2392, allocations: 53.64 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.2393, allocations: 80.06 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2393, allocations: 0 / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2393, allocations: 0 / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.2393, allocations: 0 / 0.9022 GB, free: 61.83 MB / 0.6042 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.0007382/0.24, allocations: 442.8 kB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.2401, allocations: 8.031 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.2402, allocations: 42.56 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.2402, allocations: 11.81 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.2404, allocations: 210.7 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2404, allocations: 8 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2404, allocations: 4 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.2407, allocations: 127.8 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2407, allocations: 0 / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2407, allocations: 4 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2407, allocations: 4 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.241, allocations: 111.9 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.2416, allocations: 476.6 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.2419, allocations: 141.3 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.242, allocations: 0 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.242, allocations: 38.55 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.242, allocations: 0 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005193/0.2425, allocations: 205.5 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.2426, allocations: 81.11 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2427, allocations: 174.9 kB / 0.9042 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.2427, allocations: 29.7 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.2428, allocations: 108.2 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2428, allocations: 31.62 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.2428, allocations: 4 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.2429, allocations: 322.8 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.243, allocations: 51.97 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2431, allocations: 69.61 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.2433, allocations: 56.23 kB / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2433, allocations: 0 / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003076/0.2436, allocations: 165.4 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2436, allocations: 8 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2436, allocations: 0 / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2437, allocations: 0 / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.2438, allocations: 27.94 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2438, allocations: 4 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.2439, allocations: 23.92 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.244, allocations: 4 kB / 0.905 GB, free: 58.64 MB / 0.6042 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.81e-05/0.2441, allocations: 113.8 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.2441, allocations: 15.81 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.2445, allocations: 174.5 kB / 0.9053 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2445, allocations: 7.938 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2445, allocations: 3.953 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2445, allocations: 0 / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.2448, allocations: 213.6 kB / 0.9055 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2448, allocations: 0 / 0.9055 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.2449, allocations: 31.92 kB / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2449, allocations: 0 / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2449, allocations: 4 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2449, allocations: 4 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.245, allocations: 3.984 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.2453, allocations: 340.2 kB / 0.9059 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.2453, allocations: 89.42 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.2454, allocations: 4 kB / 0.906 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2455, allocations: 19.98 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.2456, allocations: 15.88 kB / 0.906 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2456, allocations: 4 kB / 0.906 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.484e-05/0.2457, allocations: 123.2 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2457, allocations: 0 / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002677/0.246, allocations: 24 kB / 0.9062 GB, free: 57.37 MB / 0.6042 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.0005524/0.2465, allocations: 0.9421 MB / 0.9071 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.2469, allocations: 111.9 kB / 0.9072 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2469, allocations: 8 kB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.247, allocations: 63.89 kB / 0.9073 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2474, allocations: 39.94 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2487, allocations: 0.9767 MB / 0.9083 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.2488, allocations: 0.7087 MB / 0.909 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.546e-05/0.2489, allocations: 17.05 kB / 0.909 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.249, allocations: 39.38 kB / 0.909 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.249, allocations: 0 / 0.909 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.2632, allocations: 3.213 MB / 0.9121 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.2634, allocations: 210.7 kB / 0.9123 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.905, allocations: 3.938 kB / 0.9124 GB, free: 51.1 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)