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.001533/0.001533, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 196.1 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 222.5 MB, free: 4.594 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.871/1.871, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001567/0.001567, allocations: 68.08 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3706, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.005633/0.3763, allocations: 1.827 MB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005687/0.3769, allocations: 123.5 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.3771, allocations: 4 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3774, allocations: 15.8 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.3777, allocations: 59.48 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.3779, allocations: 31.95 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.3783, allocations: 171.1 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.3785, allocations: 29.17 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.3787, allocations: 47.86 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.3788, allocations: 71.69 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.3789, allocations: 12 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.3789, allocations: 8 kB / 0.786 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.379, allocations: 31.89 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3791, allocations: 63.67 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3794, allocations: 135.4 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.3794, allocations: 0 / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.717e-06/0.3794, allocations: 0 / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.3795, allocations: 0 / 0.7862 GB, free: 10.68 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.001184/0.3807, allocations: 450.8 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.881e-05/0.3808, allocations: 8.031 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.3809, allocations: 38.75 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.381, allocations: 12.75 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.3815, allocations: 207 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3816, allocations: 4.375 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3816, allocations: 16.36 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.382, allocations: 123 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.382, allocations: 3.938 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.3821, allocations: 4 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.3821, allocations: 4 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.3825, allocations: 99.92 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009598/0.3834, allocations: 468.7 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.3839, allocations: 129.2 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.384, allocations: 57.78 kB / 0.7877 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.3841, allocations: 4 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3841, allocations: 30.56 kB / 0.7878 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 3.827e-06/0.3841, allocations: 7.984 kB / 0.7878 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006472/0.3848, allocations: 181.4 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.3849, allocations: 81.09 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.385, allocations: 170.4 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3851, allocations: 29.7 kB / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.3852, allocations: 108 kB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.3852, allocations: 43.47 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.3853, allocations: 25.66 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3855, allocations: 326.8 kB / 0.7887 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3856, allocations: 43.97 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.3858, allocations: 53.69 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3861, allocations: 113.6 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3861, allocations: 0 / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003802/0.3865, allocations: 141.5 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3865, allocations: 4 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3865, allocations: 0 / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3865, allocations: 8 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3867, allocations: 20.36 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3867, allocations: 3.938 kB / 0.7891 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3868, allocations: 23.83 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3869, allocations: 0 / 0.7891 GB, free: 7.426 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.387, allocations: 125.8 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.387, allocations: 7.906 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.3875, allocations: 158.5 kB / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3875, allocations: 0 / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3875, allocations: 4 kB / 0.7894 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3875, allocations: 3.938 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.3878, allocations: 225.4 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3878, allocations: 0 / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.388, allocations: 23.98 kB / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.388, allocations: 4 kB / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.388, allocations: 0 / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.388, allocations: 0 / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.388, allocations: 4 kB / 0.7896 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.3885, allocations: 306.6 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.3885, allocations: 96.91 kB / 0.79 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3886, allocations: 4.281 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.3887, allocations: 11.98 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.3888, allocations: 11.88 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3888, allocations: 3.938 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001134/0.3889, allocations: 132.2 kB / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.389, allocations: 0 / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002918/0.3893, allocations: 28 kB / 0.7902 GB, free: 6.199 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008578/0.3901, allocations: 0.8365 MB / 0.791 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.3905, allocations: 111.9 kB / 0.7911 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3905, allocations: 0 / 0.7911 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3907, allocations: 51.97 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.3912, allocations: 48.22 kB / 0.7912 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.3939, allocations: 1.837 MB / 0.793 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.3944, allocations: 0.7122 MB / 0.7937 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.3945, allocations: 16.62 kB / 0.7937 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/0.3946, allocations: 39.42 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of SimCode: time 5.62e-07/0.3946, allocations: 0 / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.4183, allocations: 3.59 MB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/8.034, allocations: 8.469 kB / 0.7973 GB, free: 14.96 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/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)