Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.469/2.469, allocations: 248.7 MB / 256.2 MB, free: 7.012 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.001409/0.001408, allocations: 176.3 kB / 315.4 MB, free: 4.023 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.088/2.088, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 88.42 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.296e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2204, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9206/1.141, allocations: 132.1 MB / 1.013 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/1.142, allocations: 78.44 kB / 1.013 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01524/1.157, allocations: 2.041 MB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.845e-06/1.157, allocations: 0 / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.457e-05/1.157, allocations: 8 kB / 1.015 GB, free: 5.129 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001649/1.159, allocations: 454.3 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/1.159, allocations: 8.031 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/1.159, allocations: 15.86 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/1.159, allocations: 184.1 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/1.159, allocations: 4 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/1.159, allocations: 4 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004533/1.16, allocations: 73.86 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/1.16, allocations: 112.2 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/1.16, allocations: 3.984 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/1.16, allocations: 8 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/1.16, allocations: 0 / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/1.162, allocations: 481.1 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/1.163, allocations: 117.9 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/1.163, allocations: 49.97 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/1.163, allocations: 0 / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004592/1.164, allocations: 125.5 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 3.747e-06/1.164, allocations: 0 / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0006649/1.164, allocations: 116.2 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/1.164, allocations: 80.36 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/1.165, allocations: 144.7 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/1.165, allocations: 25.7 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/1.165, allocations: 114.4 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/1.165, allocations: 41.89 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/1.165, allocations: 3.938 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.165, allocations: 322.3 kB / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/1.166, allocations: 36.44 kB / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/1.166, allocations: 49.16 kB / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/1.166, allocations: 37.8 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/1.166, allocations: 3.953 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006407/1.167, allocations: 140 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.167, allocations: 6.031 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.167, allocations: 0 / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.167, allocations: 4 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/1.168, allocations: 39.91 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/1.168, allocations: 0 / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/1.168, allocations: 27.97 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/1.168, allocations: 4 kB / 1.018 GB, free: 2.422 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: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001774/1.168, allocations: 116.5 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005515/1.169, allocations: 125.6 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/1.169, allocations: 19.19 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006651/1.17, allocations: 133.4 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/1.17, allocations: 4 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/1.17, allocations: 4 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.17, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/1.17, allocations: 209.2 kB / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.17, allocations: 3.938 kB / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/1.171, allocations: 32.22 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/1.171, allocations: 0 / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/1.171, allocations: 4 kB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.171, allocations: 7.938 kB / 1.019 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.171, allocations: 4 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/1.172, allocations: 166.3 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/1.172, allocations: 85.02 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/1.172, allocations: 2.375 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/1.173, allocations: 27.97 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.173, allocations: 15.34 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/1.173, allocations: 4 kB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002091/1.173, allocations: 122.5 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.12e-07/1.173, allocations: 0 / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005637/1.174, allocations: 35.84 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001146/1.175, allocations: 0.7756 MB / 1.02 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004952/1.175, allocations: 88.95 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.175, allocations: 0 / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/1.176, allocations: 50.56 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/1.176, allocations: 43.55 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/1.178, allocations: 201.3 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/1.178, allocations: 0.7123 MB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002812/1.178, allocations: 20.72 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/1.179, allocations: 48.73 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/1.179, allocations: 0 / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/1.225, allocations: 3.104 MB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.226, allocations: 178.2 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.685, allocations: 3.375 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB