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.125/2.125, allocations: 251 MB / 265.9 MB, free: 11.68 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.001729/0.001729, allocations: 171.8 kB / 325.5 MB, free: 2.891 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.368/2.368, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001266/0.001266, allocations: 102.4 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005112, allocations: 11.38 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2192, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.732/7.951, allocations: 2.434 GB / 3.333 GB, free: 87.06 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/7.952, allocations: 86.95 kB / 3.333 GB, free: 87.02 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.248/11.2, allocations: 0.5845 GB / 3.918 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.665e-06/11.2, allocations: 0 / 3.918 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000157/11.2, allocations: 40.23 kB / 3.918 GB, free: 204.9 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004943/11.21, allocations: 1.541 MB / 3.919 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/11.21, allocations: 7.656 kB / 3.919 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003173/11.21, allocations: 117.2 kB / 3.919 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/11.21, allocations: 0.5849 MB / 3.92 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/11.22, allocations: 0.9302 MB / 3.921 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/11.22, allocations: 62.89 kB / 3.921 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/11.22, allocations: 77.72 kB / 3.921 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003782/11.22, allocations: 1.087 MB / 3.922 GB, free: 202 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/11.22, allocations: 3.938 kB / 3.922 GB, free: 202 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/11.22, allocations: 34.81 kB / 3.922 GB, free: 202 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/11.22, allocations: 21.31 kB / 3.922 GB, free: 202 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005358/11.23, allocations: 0.9988 MB / 3.923 GB, free: 201.5 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.00902/11.23, allocations: 4.977 MB / 3.928 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/11.24, allocations: 0.9521 MB / 3.929 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/11.24, allocations: 1.598 MB / 3.93 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003401/11.24, allocations: 0.582 MB / 3.931 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 5.822e-06/11.24, allocations: 0 / 3.931 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.008296/11.25, allocations: 1.502 MB / 3.932 GB, free: 192.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/11.25, allocations: 63.91 kB / 3.932 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/11.25, allocations: 0.9974 MB / 3.933 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/11.26, allocations: 48.2 kB / 3.933 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/11.26, allocations: 0.5461 MB / 3.934 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/11.26, allocations: 211.5 kB / 3.934 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/11.26, allocations: 16 kB / 3.934 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/11.26, allocations: 337.9 kB / 3.935 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/11.26, allocations: 455.4 kB / 3.935 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/11.26, allocations: 0.7785 MB / 3.936 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/11.26, allocations: 0.4899 MB / 3.936 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/11.26, allocations: 0 / 3.936 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006052/11.27, allocations: 1.29 MB / 3.937 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/11.27, allocations: 8 kB / 3.937 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/11.27, allocations: 15.89 kB / 3.937 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/11.27, allocations: 16 kB / 3.937 GB, free: 187 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/11.27, allocations: 273.8 kB / 3.938 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.502e-05/11.27, allocations: 15.94 kB / 3.938 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/11.27, allocations: 212.2 kB / 3.938 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/11.28, allocations: 51.97 kB / 3.938 GB, free: 186.5 MB / 0.8855 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 () * Number of clocked 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.0008259/11.28, allocations: 299.4 kB / 3.938 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/11.28, allocations: 122.4 kB / 3.938 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/11.28, allocations: 1.436 MB / 3.94 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/11.28, allocations: 11.94 kB / 3.94 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/11.28, allocations: 3.938 kB / 3.94 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/11.28, allocations: 3.984 kB / 3.94 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008632/11.29, allocations: 2.479 MB / 3.942 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/11.29, allocations: 4 kB / 3.942 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/11.29, allocations: 201.8 kB / 3.942 GB, free: 182 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/11.29, allocations: 8 kB / 3.942 GB, free: 182 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/11.29, allocations: 19.98 kB / 3.942 GB, free: 181.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/11.29, allocations: 7.984 kB / 3.942 GB, free: 181.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/11.29, allocations: 7.938 kB / 3.942 GB, free: 181.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008622/11.3, allocations: 2.115 MB / 3.945 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/11.3, allocations: 311.2 kB / 3.945 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/11.3, allocations: 20 kB / 3.945 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/11.31, allocations: 129.7 kB / 3.945 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/11.31, allocations: 64.08 kB / 3.945 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/11.31, allocations: 39.97 kB / 3.945 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001428/11.31, allocations: 0.7681 MB / 3.946 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/11.31, allocations: 0 / 3.946 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001974/11.31, allocations: 395.5 kB / 3.946 GB, free: 178 MB / 0.8855 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) * Number of clocked states: 0 () * 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.01097/11.32, allocations: 3.79 MB / 3.95 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00565/11.33, allocations: 1.138 MB / 3.951 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/11.33, allocations: 0 / 3.951 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002806/11.33, allocations: 0.5932 MB / 3.952 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/11.33, allocations: 452.3 kB / 3.952 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/11.36, allocations: 12.64 MB / 3.964 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007732/11.36, allocations: 1.14 MB / 3.966 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001916/11.36, allocations: 251.2 kB / 3.966 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/11.36, allocations: 478.2 kB / 3.966 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/11.36, allocations: 0 / 3.966 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08904/11.45, allocations: 32.95 MB / 3.998 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/11.45, allocations: 230.2 kB / 3.999 GB, free: 125 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.274/15.72, allocations: 0 / 3.999 GB, free: 125 MB / 0.8855 GB