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.182/2.182, allocations: 248.7 MB / 256.2 MB, free: 7.098 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.001429/0.001429, allocations: 180.6 kB / 315.4 MB, free: 4.027 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.119/2.119, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 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.001082/0.001082, allocations: 86.53 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.269e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2613, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8846/1.146, allocations: 132.3 MB / 1.013 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.146, allocations: 67.84 kB / 1.013 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008019/1.154, allocations: 1.858 MB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/1.154, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.596e-05/1.154, allocations: 4 kB / 1.015 GB, free: 5.156 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.0007653/1.155, allocations: 417.6 kB / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.155, allocations: 12.02 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/1.155, allocations: 23.77 kB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/1.156, allocations: 205.2 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/1.156, allocations: 4 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/1.156, allocations: 4 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002348/1.156, allocations: 59.55 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/1.156, allocations: 88.08 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.156, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.156, allocations: 3.062 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.156, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009293/1.157, allocations: 449 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/1.157, allocations: 108.6 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/1.158, allocations: 43.08 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/1.158, allocations: 4.031 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/1.158, allocations: 37.12 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.983e-06/1.158, allocations: 0 / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.000363/1.158, allocations: 99.33 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.158, allocations: 85.11 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/1.158, allocations: 146.5 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.158, allocations: 25.7 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/1.158, allocations: 105.7 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/1.158, allocations: 26.94 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/1.158, allocations: 3.938 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.159, allocations: 324.8 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/1.159, allocations: 22.69 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.946e-05/1.159, allocations: 43.64 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.747e-05/1.159, allocations: 26.25 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.159, allocations: 0 / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002886/1.159, allocations: 104.7 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.159, allocations: 4 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.159, allocations: 0 / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.159, allocations: 0 / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/1.16, allocations: 39.92 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.16, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/1.16, allocations: 23.27 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/1.16, allocations: 8 kB / 1.018 GB, free: 2.68 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.796e-05/1.16, allocations: 104.9 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002843/1.16, allocations: 97.78 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/1.16, allocations: 15.81 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/1.161, allocations: 122.7 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.161, allocations: 4 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.161, allocations: 0 / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/1.161, allocations: 0 / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/1.161, allocations: 190.4 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.161, allocations: 3.984 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/1.161, allocations: 23.98 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.162, allocations: 4.141 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/1.162, allocations: 4 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.162, allocations: 0 / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.162, allocations: 7.891 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/1.162, allocations: 285.3 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/1.162, allocations: 85 kB / 1.019 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/1.162, allocations: 8 kB / 1.019 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/1.162, allocations: 16.22 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/1.162, allocations: 7.938 kB / 1.019 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/1.162, allocations: 2.75 kB / 1.019 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001172/1.163, allocations: 126.2 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.163, allocations: 0 / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004127/1.163, allocations: 27.94 kB / 1.019 GB, free: 1.582 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: 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.0006705/1.164, allocations: 0.8851 MB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002571/1.164, allocations: 66.81 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.164, allocations: 0 / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/1.164, allocations: 38.11 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/1.165, allocations: 31.17 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/1.165, allocations: 186.5 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/1.166, allocations: 0.7157 MB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001397/1.166, allocations: 4.562 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.166, allocations: 37.73 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.166, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/1.206, allocations: 2.663 MB / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003322/1.207, allocations: 166 kB / 1.023 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.605, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.6511 GB