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.765/1.765, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001098/0.001098, allocations: 176.9 kB / 361.4 MB, free: 6.848 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.569/1.569, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000921/0.000921, allocations: 95.42 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.709e-05, allocations: 4 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6675/0.6676, allocations: 115.3 MB / 0.9644 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.9051, allocations: 137.9 MB / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.9055, allocations: 67.97 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006767/0.9123, allocations: 1.846 MB / 1.101 GB, free: 24 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9123, allocations: 0 / 1.101 GB, free: 24 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.9123, allocations: 0 / 1.101 GB, free: 24 kB / 0.698 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.0007722/0.9131, allocations: 430.1 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.673e-05/0.9132, allocations: 8.031 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.9133, allocations: 12.94 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.9136, allocations: 206 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.9136, allocations: 6.562 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.9136, allocations: 4 kB / 1.102 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002134/0.9139, allocations: 55.98 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.9141, allocations: 89.31 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.9141, allocations: 3.984 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.9142, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.9142, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.9151, allocations: 449.2 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.9155, allocations: 113.4 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.9157, allocations: 41.72 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.9157, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.9158, allocations: 34.56 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.9158, allocations: 0 / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004037/0.9162, allocations: 96.77 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.9163, allocations: 89.06 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.9165, allocations: 144.6 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.9165, allocations: 25.7 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/0.9166, allocations: 108 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.9167, allocations: 27.56 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.9167, allocations: 0 / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.9169, allocations: 322.8 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.469e-05/0.917, allocations: 24 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.9171, allocations: 42.55 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.475e-05/0.9172, allocations: 28 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9172, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002793/0.9175, allocations: 111.4 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.9176, allocations: 4.781 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.9176, allocations: 6.891 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9176, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.9179, allocations: 27.48 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.9179, allocations: 8 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.9181, allocations: 15.94 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.9181, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 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 () * 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 9.893e-05/0.9183, allocations: 108.9 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003153/0.9186, allocations: 99.61 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.9187, allocations: 11.91 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.9191, allocations: 124.8 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.9191, allocations: 4 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.9191, allocations: 3.953 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9191, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.9195, allocations: 194.1 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9196, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.9198, allocations: 31.92 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.9198, allocations: 0 / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.9198, allocations: 8 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9199, allocations: 2.562 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9199, allocations: 0 / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.9202, allocations: 283 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.9203, allocations: 90.41 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.9204, allocations: 4 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.9207, allocations: 15.98 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.9208, allocations: 7.953 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.9208, allocations: 5.953 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001227/0.9209, allocations: 116.9 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9209, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005217/0.9215, allocations: 31.84 kB / 1.104 GB, free: 12.12 MB / 0.7136 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 () * 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.0007307/0.9222, allocations: 0.8835 MB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.9225, allocations: 67.92 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9225, allocations: 0 / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.9226, allocations: 39.94 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.9231, allocations: 39 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.924, allocations: 185.5 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.9243, allocations: 0.7119 MB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.9245, allocations: 6.719 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.9246, allocations: 39.42 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.9246, allocations: 4 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.948, allocations: 2.652 MB / 1.109 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.9483, allocations: 169.4 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.559, allocations: 3.562 kB / 1.109 GB, free: 7.328 MB / 0.7136 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)