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.174/2.174, allocations: 248.5 MB / 261.1 MB, free: 6.016 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.00153/0.00153, allocations: 187 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.2 MB / 0.571 GB, free: 11.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.001141/0.00114, allocations: 97.86 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.102e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1988, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.121/8.32, allocations: 2.434 GB / 3.325 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/8.32, allocations: 83.58 kB / 3.325 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.158/11.48, allocations: 0.5825 GB / 3.907 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.853e-06/11.48, allocations: 1.281 kB / 3.907 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002097/11.48, allocations: 41.02 kB / 3.907 GB, free: 188.4 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.004878/11.48, allocations: 1.341 MB / 3.909 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/11.48, allocations: 9.094 kB / 3.909 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003331/11.48, allocations: 116.8 kB / 3.909 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005853/11.49, allocations: 0.5828 MB / 3.909 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/11.49, allocations: 0.9318 MB / 3.91 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/11.49, allocations: 62.88 kB / 3.91 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/11.5, allocations: 77.94 kB / 3.911 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/11.5, allocations: 0.8959 MB / 3.911 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/11.5, allocations: 3.344 kB / 3.911 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/11.5, allocations: 34.28 kB / 3.911 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/11.5, allocations: 18.03 kB / 3.911 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/11.5, allocations: 0.632 MB / 3.912 GB, free: 187.3 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.01031/11.51, allocations: 4.992 MB / 3.917 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/11.51, allocations: 0.5774 MB / 3.917 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009884/11.51, allocations: 306.2 kB / 3.918 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/11.52, allocations: 1.596 MB / 3.919 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/11.52, allocations: 403.5 kB / 3.92 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 4.218e-06/11.52, allocations: 1.094 kB / 3.92 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.002582/11.52, allocations: 0.7132 MB / 3.92 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/11.52, allocations: 61.66 kB / 3.92 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/11.52, allocations: 0.9841 MB / 3.921 GB, free: 182 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/11.52, allocations: 44.3 kB / 3.921 GB, free: 182 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005732/11.52, allocations: 0.5486 MB / 3.922 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/11.52, allocations: 211.3 kB / 3.922 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/11.52, allocations: 12.81 kB / 3.922 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.33e-05/11.52, allocations: 335.9 kB / 3.923 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008416/11.52, allocations: 264.2 kB / 3.923 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/11.53, allocations: 0.5914 MB / 3.923 GB, free: 181 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/11.53, allocations: 318.3 kB / 3.924 GB, free: 181 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/11.53, allocations: 1.875 kB / 3.924 GB, free: 181 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00312/11.53, allocations: 0.9122 MB / 3.925 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/11.53, allocations: 15.36 kB / 3.925 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/11.53, allocations: 8.656 kB / 3.925 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/11.53, allocations: 12.75 kB / 3.925 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/11.53, allocations: 276.9 kB / 3.925 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.412e-05/11.53, allocations: 17.95 kB / 3.925 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/11.53, allocations: 211.5 kB / 3.925 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/11.54, allocations: 49.92 kB / 3.925 GB, free: 180.9 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.0003435/11.54, allocations: 173.3 kB / 3.925 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/11.54, allocations: 120.5 kB / 3.925 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/11.54, allocations: 1.055 MB / 3.926 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/11.54, allocations: 14.45 kB / 3.926 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/11.54, allocations: 3.562 kB / 3.926 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/11.54, allocations: 5.078 kB / 3.926 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/11.55, allocations: 2.111 MB / 3.929 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/11.55, allocations: 8.531 kB / 3.929 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/11.55, allocations: 199 kB / 3.929 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.767e-05/11.55, allocations: 8.156 kB / 3.929 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/11.55, allocations: 27.12 kB / 3.929 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/11.55, allocations: 4.688 kB / 3.929 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/11.55, allocations: 4.656 kB / 3.929 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/11.55, allocations: 1.569 MB / 3.93 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/11.55, allocations: 311.3 kB / 3.931 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/11.55, allocations: 21.12 kB / 3.931 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/11.56, allocations: 130.8 kB / 3.931 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/11.56, allocations: 57.2 kB / 3.931 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/11.56, allocations: 32.16 kB / 3.931 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002036/11.56, allocations: 0.7601 MB / 3.932 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.51e-07/11.56, allocations: 0 / 3.932 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002249/11.56, allocations: 397.3 kB / 3.932 GB, free: 179.5 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.006567/11.57, allocations: 3.183 MB / 3.935 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002793/11.57, allocations: 0.775 MB / 3.936 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/11.57, allocations: 0 / 3.936 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/11.57, allocations: 422 kB / 3.936 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/11.58, allocations: 425.6 kB / 3.937 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/11.58, allocations: 2.105 MB / 3.939 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/11.58, allocations: 1.14 MB / 3.94 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001858/11.59, allocations: 260.2 kB / 3.94 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/11.59, allocations: 467.7 kB / 3.94 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.054e-06/11.59, allocations: 0.75 kB / 3.941 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/11.71, allocations: 33.26 MB / 3.973 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006158/11.71, allocations: 200.1 kB / 3.973 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/15.5, allocations: 3.938 kB / 3.973 GB, free: 175.4 MB / 0.8698 GB