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.0008807/0.0008807, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009154/0.0009155, allocations: 177.3 kB / 15.95 MB, free: 216 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.284/1.284, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.694/1.694, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005146/0.0005148, allocations: 9.688 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3434, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003204/0.3467, allocations: 1.442 MB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004301/0.3472, allocations: 135.7 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3473, allocations: 0 / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.3474, allocations: 7.922 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.3476, allocations: 67.8 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.3478, allocations: 19.97 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.3482, allocations: 115.8 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3483, allocations: 17.39 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3485, allocations: 59.77 kB / 0.789 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3487, allocations: 59.7 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.3487, allocations: 4 kB / 0.7891 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.261e-05/0.3488, allocations: 4 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.3488, allocations: 23.91 kB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.3489, allocations: 45.64 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3491, allocations: 79.8 kB / 0.7892 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3491, allocations: 0 / 0.7892 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3491, allocations: 0 / 0.7892 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3491, allocations: 4 kB / 0.7893 GB, free: 9.773 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.001159/0.3503, allocations: 446.7 kB / 0.7897 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.3504, allocations: 8.031 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.205e-05/0.3505, allocations: 46.55 kB / 0.7897 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.3505, allocations: 15.81 kB / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3509, allocations: 206.3 kB / 0.7899 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3509, allocations: 11.98 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3509, allocations: 8 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.3514, allocations: 127.2 kB / 0.7901 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3515, allocations: 7.938 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3515, allocations: 0 / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.3515, allocations: 0 / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.3521, allocations: 111.9 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.3533, allocations: 468.8 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.354, allocations: 137.3 kB / 0.7908 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3541, allocations: 4 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3541, allocations: 34.56 kB / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.234e-06/0.3541, allocations: 4 kB / 0.7908 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0009054/0.3551, allocations: 205.4 kB / 0.791 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3551, allocations: 85.06 kB / 0.7911 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3554, allocations: 163.4 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3554, allocations: 25.7 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3555, allocations: 116.2 kB / 0.7914 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.3556, allocations: 35.48 kB / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.3556, allocations: 0 / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3558, allocations: 326.8 kB / 0.7917 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.356, allocations: 47.97 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3563, allocations: 65.62 kB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.3566, allocations: 51.97 kB / 0.7919 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3566, allocations: 4 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006584/0.3573, allocations: 157.5 kB / 0.792 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3573, allocations: 4 kB / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3573, allocations: 0 / 0.792 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3574, allocations: 4 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.3577, allocations: 27.98 kB / 0.7921 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.3577, allocations: 3.953 kB / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.358, allocations: 19.89 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.358, allocations: 4 kB / 0.7921 GB, free: 6.598 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 0.0001692/0.3582, allocations: 125.8 kB / 0.7922 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.3583, allocations: 11.91 kB / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007817/0.3591, allocations: 170.9 kB / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3591, allocations: 0 / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.3591, allocations: 4.062 kB / 0.7924 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.3592, allocations: 7.953 kB / 0.7924 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.3597, allocations: 229.7 kB / 0.7926 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3597, allocations: 4 kB / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.36, allocations: 27.92 kB / 0.7927 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.36, allocations: 4 kB / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3601, allocations: 0 / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3601, allocations: 0 / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3601, allocations: 0 / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/0.3609, allocations: 336.5 kB / 0.793 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.361, allocations: 96.89 kB / 0.7931 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.3611, allocations: 8 kB / 0.7931 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.3614, allocations: 15.98 kB / 0.7931 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.3615, allocations: 7.953 kB / 0.7931 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3615, allocations: 3.984 kB / 0.7931 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001903/0.3617, allocations: 128.2 kB / 0.7932 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.1e-07/0.3618, allocations: 0 / 0.7932 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005938/0.3624, allocations: 32 kB / 0.7933 GB, free: 5.305 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.001204/0.3636, allocations: 0.9382 MB / 0.7942 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007254/0.3643, allocations: 115.9 kB / 0.7943 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.3644, allocations: 0 / 0.7943 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.3647, allocations: 63.84 kB / 0.7943 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.3654, allocations: 48.05 kB / 0.7944 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.3683, allocations: 0.9816 MB / 0.7954 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.3688, allocations: 0.7164 MB / 0.7961 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.369, allocations: 12.44 kB / 0.7961 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3691, allocations: 31.42 kB / 0.7961 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of SimCode: time 9.02e-07/0.3691, allocations: 4 kB / 0.7961 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/0.411, allocations: 3.189 MB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002781/0.4113, allocations: 202.3 kB / 0.7994 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.295, allocations: 0 / 0.7994 GB, free: 15.05 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: