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.447/1.447, allocations: 249.5 MB / 257 MB, free: 6.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 178.6 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008961/0.0008959, allocations: 82.55 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.859e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1886, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6811/0.8698, allocations: 132.5 MB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.8701, allocations: 72.2 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005082/0.8752, allocations: 1.84 MB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8752, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.8753, allocations: 4 kB / 1.017 GB, free: 3.223 MB / 0.6355 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.0005484/0.8758, allocations: 420.9 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.8759, allocations: 12.03 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.8759, allocations: 11.81 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.8762, allocations: 216.1 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.8762, allocations: 0 / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.8762, allocations: 7.984 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/0.8763, allocations: 53.06 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.8765, allocations: 90.62 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.8765, allocations: 4 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8765, allocations: 0 / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8765, allocations: 4 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.8772, allocations: 451.3 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.8774, allocations: 108 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.8775, allocations: 35.78 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.8775, allocations: 10 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.8776, allocations: 34.56 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.8776, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002517/0.8778, allocations: 105.4 kB / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.8779, allocations: 77.11 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.878, allocations: 142 kB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.878, allocations: 25.7 kB / 1.018 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.8781, allocations: 112.1 kB / 1.018 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.8782, allocations: 26.88 kB / 1.018 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.8782, allocations: 4 kB / 1.018 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8783, allocations: 322.2 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.141e-05/0.8784, allocations: 22.69 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.8784, allocations: 44.14 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.8785, allocations: 22.19 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8785, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001686/0.8787, allocations: 107.6 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8787, allocations: 6.031 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.8787, allocations: 11.94 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8788, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.8789, allocations: 23.98 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8789, allocations: 3.953 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.8791, allocations: 19.89 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.8791, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.6355 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 8.617e-05/0.8792, allocations: 120.8 kB / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001739/0.8793, allocations: 97.03 kB / 1.019 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.8794, allocations: 15.89 kB / 1.019 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.8797, allocations: 118.5 kB / 1.019 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8797, allocations: 4.016 kB / 1.019 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.8797, allocations: 4 kB / 1.019 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.8797, allocations: 4 kB / 1.019 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.8799, allocations: 190.3 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.88, allocations: 0 / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.8801, allocations: 31.92 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8801, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.8801, allocations: 3.562 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8801, allocations: 0 / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8802, allocations: 4 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.8804, allocations: 291 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.8805, allocations: 85.02 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.8805, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.8807, allocations: 11.98 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.8808, allocations: 11.94 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.8808, allocations: 7.688 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.46e-05/0.8809, allocations: 117.3 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8809, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002744/0.8812, allocations: 27.94 kB / 1.02 GB, free: 15.65 MB / 0.6511 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.0005798/0.8818, allocations: 0.8769 MB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.882, allocations: 77.67 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.882, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/0.882, allocations: 34.62 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.8824, allocations: 32.88 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.883, allocations: 189.1 kB / 1.021 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.8833, allocations: 0.7041 MB / 1.022 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.8834, allocations: 16.55 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.8834, allocations: 32.44 kB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.8835, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.904, allocations: 2.671 MB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.9043, allocations: 172.7 kB / 1.025 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.378, allocations: 4.031 kB / 1.025 GB, free: 10.88 MB / 0.6511 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)