Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.121/2.121, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.00153, allocations: 179 kB / 325.5 MB, free: 2.938 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.276/2.276, allocations: 205.4 MB / 0.5764 GB, free: 21.23 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.001195/0.001195, allocations: 100.8 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004834, allocations: 13.41 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 106.3 MB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.705/6.918, allocations: 2.186 GB / 3.085 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/6.919, allocations: 87.08 kB / 3.085 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.276/12.2, allocations: 0.9772 GB / 4.062 GB, free: 46.21 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.697e-06/12.2, allocations: 3.938 kB / 4.062 GB, free: 46.21 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001651/12.2, allocations: 47.92 kB / 4.062 GB, free: 46.16 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.01149/12.21, allocations: 1.933 MB / 4.064 GB, free: 44.17 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/12.21, allocations: 8.031 kB / 4.064 GB, free: 44.16 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005389/12.21, allocations: 139.5 kB / 4.064 GB, free: 44.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007293/12.21, allocations: 0.6889 MB / 4.065 GB, free: 43.33 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004469/12.22, allocations: 1.028 MB / 4.066 GB, free: 42.24 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-05/12.22, allocations: 70 kB / 4.066 GB, free: 42.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/12.22, allocations: 95.98 kB / 4.066 GB, free: 42.08 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005082/12.22, allocations: 1.447 MB / 4.067 GB, free: 40.56 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/12.22, allocations: 3.938 kB / 4.067 GB, free: 40.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/12.23, allocations: 47.89 kB / 4.067 GB, free: 40.51 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.939e-05/12.23, allocations: 41.98 kB / 4.067 GB, free: 40.47 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006958/12.23, allocations: 1.51 MB / 4.069 GB, free: 38.96 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/12.24, allocations: 5.556 MB / 4.074 GB, free: 33.12 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006574/12.25, allocations: 1.318 MB / 4.076 GB, free: 31.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/12.25, allocations: 0.589 MB / 4.076 GB, free: 31.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003194/12.25, allocations: 0.7147 MB / 4.077 GB, free: 30.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=80): time 5.29e-06/12.25, allocations: 384 / 4.077 GB, free: 30.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80): time 0.009811/12.26, allocations: 1.921 MB / 4.079 GB, free: 28.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/12.26, allocations: 60.06 kB / 4.079 GB, free: 28.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/12.27, allocations: 1.096 MB / 4.08 GB, free: 27.27 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/12.27, allocations: 45.7 kB / 4.08 GB, free: 27.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/12.27, allocations: 0.5949 MB / 4.081 GB, free: 26.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00034/12.27, allocations: 272.1 kB / 4.081 GB, free: 26.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/12.27, allocations: 20 kB / 4.081 GB, free: 26.33 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/12.27, allocations: 353.9 kB / 4.081 GB, free: 25.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/12.27, allocations: 0.5445 MB / 4.082 GB, free: 25.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/12.28, allocations: 0.8894 MB / 4.083 GB, free: 24.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003025/12.28, allocations: 0.6142 MB / 4.083 GB, free: 23.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/12.28, allocations: 4 kB / 4.083 GB, free: 23.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006844/12.28, allocations: 1.522 MB / 4.085 GB, free: 22.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/12.29, allocations: 8.875 kB / 4.085 GB, free: 22.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/12.29, allocations: 8 kB / 4.085 GB, free: 22.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.804e-05/12.29, allocations: 16 kB / 4.085 GB, free: 22.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/12.29, allocations: 295.6 kB / 4.085 GB, free: 21.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/12.29, allocations: 19.92 kB / 4.085 GB, free: 21.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/12.29, allocations: 238.6 kB / 4.085 GB, free: 21.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/12.29, allocations: 63.92 kB / 4.085 GB, free: 21.62 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.001509/12.29, allocations: 343.7 kB / 4.086 GB, free: 21.28 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007201/12.29, allocations: 134.3 kB / 4.086 GB, free: 21.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/12.31, allocations: 1.487 MB / 4.087 GB, free: 19.65 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/12.31, allocations: 8 kB / 4.087 GB, free: 19.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/12.31, allocations: 3.938 kB / 4.087 GB, free: 19.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.782e-05/12.31, allocations: 3.984 kB / 4.087 GB, free: 19.63 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/12.32, allocations: 2.94 MB / 4.09 GB, free: 16.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/12.32, allocations: 8.031 kB / 4.09 GB, free: 16.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/12.32, allocations: 239.6 kB / 4.09 GB, free: 16.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.581e-05/12.32, allocations: 8 kB / 4.09 GB, free: 16.33 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/12.32, allocations: 23.98 kB / 4.09 GB, free: 16.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/12.32, allocations: 15.97 kB / 4.09 GB, free: 16.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/12.32, allocations: 11.89 kB / 4.09 GB, free: 16.28 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009766/12.33, allocations: 2.566 MB / 4.093 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/12.33, allocations: 335.1 kB / 4.093 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/12.33, allocations: 23.98 kB / 4.093 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/12.33, allocations: 151.8 kB / 4.093 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/12.33, allocations: 64.38 kB / 4.093 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/12.33, allocations: 35.98 kB / 4.093 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001666/12.33, allocations: 0.8604 MB / 4.094 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/12.33, allocations: 0 / 4.094 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002502/12.34, allocations: 0.4957 MB / 4.095 GB, free: 11.61 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.01441/12.35, allocations: 6.097 MB / 4.101 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006618/12.36, allocations: 1.32 MB / 4.102 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/12.36, allocations: 4.062 kB / 4.102 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003148/12.36, allocations: 0.6675 MB / 4.103 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/12.37, allocations: 0.5644 MB / 4.103 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7246/13.09, allocations: 13.51 MB / 4.116 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/13.09, allocations: 1.209 MB / 4.118 GB, free: 176 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002853/13.1, allocations: 348 kB / 4.118 GB, free: 176 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/13.1, allocations: 0.4945 MB / 4.118 GB, free: 176 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/13.1, allocations: 0 / 4.118 GB, free: 176 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/13.24, allocations: 58.93 MB / 4.176 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/13.24, allocations: 230.2 kB / 4.176 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.709/18.95, allocations: 0 / 4.176 GB, free: 175.1 MB / 0.8855 GB