Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.199/2.199, allocations: 248.5 MB / 261.1 MB, free: 6.094 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.001499/0.001499, allocations: 179.4 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001088/0.001088, allocations: 105.1 kB / 0.6754 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.743e-05/4.767e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2091, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9168/1.126, allocations: 132.1 MB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/1.126, allocations: 77.2 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009271/1.136, allocations: 1.872 MB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/1.136, allocations: 0 / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.737e-05/1.136, allocations: 4 kB / 1.022 GB, free: 1.172 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.0008406/1.137, allocations: 419.8 kB / 1.022 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/1.137, allocations: 8.031 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/1.137, allocations: 46.3 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/1.137, allocations: 23.77 kB / 1.022 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/1.137, allocations: 202.8 kB / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/1.137, allocations: 7.938 kB / 1.022 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/1.137, allocations: 6.75 kB / 1.022 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/1.138, allocations: 93.22 kB / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.138, allocations: 0 / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/1.138, allocations: 7.375 kB / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/1.138, allocations: 0 / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/1.138, allocations: 64.23 kB / 1.022 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/1.139, allocations: 480.5 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/1.139, allocations: 116 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/1.139, allocations: 46.41 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/1.139, allocations: 3.953 kB / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.14, allocations: 41.56 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/1.14, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003957/1.14, allocations: 107.8 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.14, allocations: 77.11 kB / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/1.14, allocations: 152.7 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/1.14, allocations: 25.7 kB / 1.023 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/1.14, allocations: 111.2 kB / 1.023 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/1.14, allocations: 27.06 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/1.14, allocations: 3.188 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.141, allocations: 322.8 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/1.141, allocations: 25.88 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/1.141, allocations: 45.39 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/1.141, allocations: 31.56 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.141, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003305/1.141, allocations: 112.2 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.141, allocations: 11.95 kB / 1.024 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.141, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.141, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/1.142, allocations: 27.98 kB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.142, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/1.142, allocations: 15.89 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/1.142, allocations: 8.125 kB / 1.024 GB, free: 14.58 MB / 0.6511 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 0.0001145/1.142, allocations: 112.4 kB / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/1.142, allocations: 19.75 kB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/1.143, allocations: 134.5 kB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.143, allocations: 4 kB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.143, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.143, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/1.143, allocations: 220.1 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.143, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/1.143, allocations: 23.98 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.143, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/1.143, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/1.143, allocations: 7.953 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.144, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/1.144, allocations: 289.3 kB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/1.144, allocations: 88.83 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/1.144, allocations: 7.953 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/1.144, allocations: 19.98 kB / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/1.144, allocations: 11.73 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/1.144, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001503/1.145, allocations: 128.8 kB / 1.025 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.145, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003783/1.145, allocations: 31.56 kB / 1.025 GB, free: 13.5 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.0008188/1.146, allocations: 0.8934 MB / 1.026 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002852/1.146, allocations: 67.19 kB / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.146, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/1.146, allocations: 40.31 kB / 1.026 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/1.147, allocations: 50.62 kB / 1.026 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/1.148, allocations: 191.7 kB / 1.026 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/1.148, allocations: 0.7164 MB / 1.027 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001579/1.148, allocations: 12.95 kB / 1.027 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/1.148, allocations: 37.67 kB / 1.027 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of SimCode: time 1.011e-06/1.148, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/1.179, allocations: 3.215 MB / 1.03 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/1.179, allocations: 166.2 kB / 1.03 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.541, allocations: 0 / 1.03 GB, free: 8.266 MB / 0.6511 GB