Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.698/2.698, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001525/0.001526, allocations: 186.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.213/2.213, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.001161/0.00116, allocations: 93.27 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.622e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.15/8.365, allocations: 2.434 GB / 3.319 GB, free: 243 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/8.365, allocations: 88.19 kB / 3.319 GB, free: 243 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.596/10.96, allocations: 0.5792 GB / 3.898 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.492e-06/10.96, allocations: 0 / 3.898 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001261/10.96, allocations: 39.98 kB / 3.898 GB, free: 6.688 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003342/10.96, allocations: 1.332 MB / 3.899 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/10.96, allocations: 12.03 kB / 3.899 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/10.97, allocations: 0.5759 MB / 3.9 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003745/10.97, allocations: 0.9341 MB / 3.901 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/10.97, allocations: 28 kB / 3.901 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/10.97, allocations: 48 kB / 3.901 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001658/10.98, allocations: 0.5623 MB / 3.901 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/10.98, allocations: 0.8031 MB / 3.902 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/10.98, allocations: 4 kB / 3.902 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/10.98, allocations: 4 kB / 3.902 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/10.98, allocations: 16 kB / 3.902 GB, free: 2.176 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.6587/11.64, allocations: 4.817 MB / 3.907 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/11.64, allocations: 0.5524 MB / 3.907 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008652/11.64, allocations: 295.1 kB / 3.908 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/11.64, allocations: 1.593 MB / 3.909 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/11.64, allocations: 388.5 kB / 3.91 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 7.093e-06/11.64, allocations: 3.891 kB / 3.91 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.003173/11.65, allocations: 0.7236 MB / 3.91 GB, free: 185 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/11.65, allocations: 59.58 kB / 3.91 GB, free: 185 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/11.65, allocations: 0.8349 MB / 3.911 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002569/11.65, allocations: 33.73 kB / 3.911 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006324/11.65, allocations: 0.5621 MB / 3.912 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/11.65, allocations: 204 kB / 3.912 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/11.65, allocations: 1.094 kB / 3.912 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/11.65, allocations: 334.4 kB / 3.912 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/11.65, allocations: 252.6 kB / 3.912 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/11.65, allocations: 0.5636 MB / 3.913 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/11.65, allocations: 351.2 kB / 3.913 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/11.65, allocations: 2.062 kB / 3.913 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003376/11.66, allocations: 0.8796 MB / 3.914 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/11.66, allocations: 9.266 kB / 3.914 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/11.66, allocations: 7.719 kB / 3.914 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.692e-05/11.66, allocations: 12.94 kB / 3.914 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/11.66, allocations: 278.2 kB / 3.914 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/11.66, allocations: 16.55 kB / 3.914 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/11.66, allocations: 175.7 kB / 3.915 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/11.66, allocations: 51.16 kB / 3.915 GB, free: 183.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0002967/11.66, allocations: 139.9 kB / 3.915 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002837/11.66, allocations: 0.7294 MB / 3.916 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/11.66, allocations: 111.9 kB / 3.916 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003808/11.67, allocations: 1.018 MB / 3.917 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/11.67, allocations: 13.84 kB / 3.917 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/11.67, allocations: 0.9375 kB / 3.917 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/11.67, allocations: 3.797 kB / 3.917 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006202/11.67, allocations: 1.997 MB / 3.919 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/11.67, allocations: 12.56 kB / 3.919 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/11.68, allocations: 198.8 kB / 3.919 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/11.68, allocations: 6.094 kB / 3.919 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/11.68, allocations: 25.52 kB / 3.919 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/11.68, allocations: 3.031 kB / 3.919 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/11.68, allocations: 6.969 kB / 3.919 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/11.68, allocations: 1.52 MB / 3.92 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/11.68, allocations: 303 kB / 3.921 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/11.68, allocations: 9.922 kB / 3.921 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/11.68, allocations: 130.2 kB / 3.921 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/11.68, allocations: 50.22 kB / 3.921 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/11.68, allocations: 33.48 kB / 3.921 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001284/11.69, allocations: 0.6333 MB / 3.921 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.422e-06/11.69, allocations: 0 / 3.921 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002226/11.69, allocations: 385 kB / 3.922 GB, free: 182.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006518/11.69, allocations: 3.105 MB / 3.925 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002295/11.7, allocations: 0.7231 MB / 3.926 GB, free: 181 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/11.7, allocations: 1.625 kB / 3.926 GB, free: 181 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/11.7, allocations: 405.2 kB / 3.926 GB, free: 181 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/11.7, allocations: 336.1 kB / 3.926 GB, free: 181 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/11.71, allocations: 2.025 MB / 3.928 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009212/11.71, allocations: 1.143 MB / 3.929 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002009/11.71, allocations: 248.9 kB / 3.93 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/11.71, allocations: 460 kB / 3.93 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.173e-06/11.71, allocations: 0 / 3.93 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09904/11.81, allocations: 27.56 MB / 3.957 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/11.81, allocations: 193.7 kB / 3.957 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/15.46, allocations: 0 / 3.957 GB, free: 179.2 MB / 0.8698 GB