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.428/2.428, allocations: 248.7 MB / 256.2 MB, free: 7.086 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.001493/0.001493, allocations: 179.5 kB / 315.4 MB, free: 3.984 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.089/2.089, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 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.001135/0.001135, allocations: 90.55 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.085e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2045, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.215/7.42, allocations: 2.186 GB / 3.07 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/7.42, allocations: 86.59 kB / 3.07 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.225/12.65, allocations: 0.9646 GB / 4.035 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/12.65, allocations: 0 / 4.035 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001574/12.65, allocations: 47.97 kB / 4.035 GB, free: 168.8 MB / 0.8698 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.009498/12.65, allocations: 1.723 MB / 4.037 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/12.65, allocations: 7.75 kB / 4.037 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006737/12.66, allocations: 0.6968 MB / 4.037 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004239/12.67, allocations: 1.016 MB / 4.038 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/12.67, allocations: 35.91 kB / 4.038 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002521/12.67, allocations: 60.03 kB / 4.038 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00251/12.67, allocations: 0.9127 MB / 4.039 GB, free: 167 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/12.67, allocations: 1.131 MB / 4.04 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/12.67, allocations: 3.938 kB / 4.04 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/12.67, allocations: 3.562 kB / 4.04 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/12.67, allocations: 47.23 kB / 4.04 GB, free: 166.5 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01694/12.69, allocations: 5.576 MB / 4.046 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/12.69, allocations: 0.8895 MB / 4.047 GB, free: 162 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/12.69, allocations: 478.2 kB / 4.047 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/12.7, allocations: 0.587 MB / 4.048 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/12.7, allocations: 0.5751 MB / 4.048 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=80): time 6.161e-06/12.7, allocations: 0 / 4.048 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80): time 0.005085/12.7, allocations: 1.066 MB / 4.049 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/12.7, allocations: 60.06 kB / 4.049 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/12.71, allocations: 0.8592 MB / 4.05 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003606/12.71, allocations: 33.64 kB / 4.05 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000782/12.71, allocations: 0.5971 MB / 4.051 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004762/12.71, allocations: 260.5 kB / 4.051 GB, free: 159 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/12.71, allocations: 5.75 kB / 4.051 GB, free: 159 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001163/12.71, allocations: 345.7 kB / 4.052 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/12.71, allocations: 405.7 kB / 4.052 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/12.71, allocations: 0.722 MB / 4.053 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/12.71, allocations: 468.5 kB / 4.053 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/12.71, allocations: 0 / 4.053 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004164/12.72, allocations: 1.16 MB / 4.054 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/12.72, allocations: 6.656 kB / 4.054 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/12.72, allocations: 7.469 kB / 4.054 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-05/12.72, allocations: 13.69 kB / 4.054 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/12.72, allocations: 321.3 kB / 4.055 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/12.72, allocations: 15.73 kB / 4.055 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/12.72, allocations: 186.7 kB / 4.055 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/12.72, allocations: 61.52 kB / 4.055 GB, free: 156.9 MB / 0.8698 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 () * 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.0004449/12.72, allocations: 146.2 kB / 4.055 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003694/12.73, allocations: 1.004 MB / 4.056 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/12.73, allocations: 122.6 kB / 4.056 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/12.73, allocations: 1.157 MB / 4.057 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/12.73, allocations: 6.781 kB / 4.057 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/12.73, allocations: 3.938 kB / 4.057 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/12.73, allocations: 6.922 kB / 4.057 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008896/12.74, allocations: 2.581 MB / 4.06 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/12.74, allocations: 3.5 kB / 4.06 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/12.75, allocations: 250.1 kB / 4.06 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-05/12.75, allocations: 6.844 kB / 4.06 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/12.75, allocations: 23.28 kB / 4.06 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/12.75, allocations: 14.81 kB / 4.06 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/12.75, allocations: 11.62 kB / 4.06 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/12.75, allocations: 2.086 MB / 4.062 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/12.75, allocations: 319.7 kB / 4.062 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/12.75, allocations: 17.2 kB / 4.062 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/12.75, allocations: 134.1 kB / 4.062 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/12.75, allocations: 68.78 kB / 4.063 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/12.76, allocations: 45.86 kB / 4.063 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001192/12.76, allocations: 0.6432 MB / 4.063 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/12.76, allocations: 0 / 4.063 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002389/12.76, allocations: 455.5 kB / 4.064 GB, free: 151.6 MB / 0.8698 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) * 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.008434/12.77, allocations: 5.776 MB / 4.069 GB, free: 147 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002653/12.77, allocations: 1.001 MB / 4.07 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/12.77, allocations: 4.125 kB / 4.07 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/12.77, allocations: 0.5056 MB / 4.071 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/12.77, allocations: 429.4 kB / 4.071 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/12.8, allocations: 2.955 MB / 4.074 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008216/12.8, allocations: 1.215 MB / 4.075 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002494/12.81, allocations: 353.9 kB / 4.076 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/12.81, allocations: 0.4914 MB / 4.076 GB, free: 140 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/12.81, allocations: 0 / 4.076 GB, free: 140 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/12.92, allocations: 40.94 MB / 4.116 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/12.92, allocations: 192.1 kB / 4.116 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.23/17.15, allocations: 0 / 4.116 GB, free: 99.43 MB / 0.8698 GB