Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 176.4 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.296/2.296, allocations: 205.2 MB / 0.626 GB, free: 7.121 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 95.98 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.89e-05/3.896e-05, allocations: 8 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8999/0.8999, allocations: 116.3 MB / 0.9733 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.206/7.106, allocations: 2.318 GB / 3.291 GB, free: 122.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/7.107, allocations: 88.03 kB / 3.291 GB, free: 122.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.437/9.543, allocations: 0.5958 GB / 3.887 GB, free: 224.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/9.543, allocations: 0 / 3.887 GB, free: 224.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001805/9.544, allocations: 37.58 kB / 3.887 GB, free: 224.3 MB / 0.948 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.003644/9.547, allocations: 1.331 MB / 3.888 GB, free: 223.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/9.547, allocations: 10.88 kB / 3.888 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/9.551, allocations: 0.5769 MB / 3.889 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/9.553, allocations: 0.9353 MB / 3.89 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/9.553, allocations: 19.41 kB / 3.89 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/9.554, allocations: 59.34 kB / 3.89 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001215/9.555, allocations: 0.5583 MB / 3.89 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/9.556, allocations: 0.7997 MB / 3.891 GB, free: 223 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/9.556, allocations: 1.031 kB / 3.891 GB, free: 223 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/9.556, allocations: 14.67 kB / 3.891 GB, free: 223 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/9.556, allocations: 19.09 kB / 3.891 GB, free: 223 MB / 0.948 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.005554/9.562, allocations: 4.829 MB / 3.896 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00095/9.563, allocations: 0.5494 MB / 3.897 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/9.563, allocations: 283.9 kB / 3.897 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/9.564, allocations: 1.593 MB / 3.898 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005668/9.565, allocations: 379.6 kB / 3.899 GB, free: 218.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.647e-06/9.565, allocations: 3.469 kB / 3.899 GB, free: 218.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001758/9.567, allocations: 0.7263 MB / 3.899 GB, free: 218 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/9.567, allocations: 63.17 kB / 3.899 GB, free: 217.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/9.568, allocations: 0.8364 MB / 3.9 GB, free: 217.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/9.568, allocations: 32.89 kB / 3.9 GB, free: 217.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/9.568, allocations: 0.5644 MB / 3.901 GB, free: 217.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/9.569, allocations: 200.3 kB / 3.901 GB, free: 217.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/9.569, allocations: 7.188 kB / 3.901 GB, free: 217.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/9.569, allocations: 333.4 kB / 3.901 GB, free: 217.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/9.569, allocations: 250 kB / 3.902 GB, free: 217.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/9.57, allocations: 0.5677 MB / 3.902 GB, free: 216.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/9.57, allocations: 352.6 kB / 3.903 GB, free: 216.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/9.57, allocations: 3.906 kB / 3.903 GB, free: 216.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001651/9.572, allocations: 0.8766 MB / 3.903 GB, free: 216.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/9.572, allocations: 7.75 kB / 3.903 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/9.572, allocations: 7.812 kB / 3.903 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/9.572, allocations: 11.28 kB / 3.903 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/9.573, allocations: 277.2 kB / 3.904 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/9.573, allocations: 22.7 kB / 3.904 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/9.575, allocations: 183.7 kB / 3.904 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.603e-05/9.575, allocations: 48.94 kB / 3.904 GB, free: 216.3 MB / 0.948 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.0001919/9.575, allocations: 135.3 kB / 3.904 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001359/9.576, allocations: 0.7237 MB / 3.905 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/9.576, allocations: 111.8 kB / 3.905 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/9.578, allocations: 1.02 MB / 3.906 GB, free: 215.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/9.578, allocations: 14.77 kB / 3.906 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/9.578, allocations: 0 / 3.906 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/9.578, allocations: 3.891 kB / 3.906 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/9.581, allocations: 2 MB / 3.908 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/9.581, allocations: 0 / 3.908 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/9.582, allocations: 204.1 kB / 3.908 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/9.582, allocations: 3.844 kB / 3.908 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/9.582, allocations: 25.59 kB / 3.908 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/9.583, allocations: 3.906 kB / 3.908 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/9.583, allocations: 0 / 3.908 GB, free: 214.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/9.585, allocations: 1.519 MB / 3.91 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/9.585, allocations: 306.8 kB / 3.91 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/9.585, allocations: 11.06 kB / 3.91 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/9.586, allocations: 120.9 kB / 3.91 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/9.586, allocations: 54.16 kB / 3.91 GB, free: 213.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.511e-05/9.586, allocations: 37.72 kB / 3.91 GB, free: 213.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006802/9.587, allocations: 0.6279 MB / 3.911 GB, free: 213.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/9.587, allocations: 6.625 kB / 3.911 GB, free: 213.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001195/9.588, allocations: 374.6 kB / 3.911 GB, free: 213.3 MB / 0.948 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.00364/9.592, allocations: 3.125 MB / 3.914 GB, free: 211.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001118/9.593, allocations: 0.7219 MB / 3.915 GB, free: 211.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/9.593, allocations: 0 / 3.915 GB, free: 211.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004934/9.593, allocations: 410.9 kB / 3.915 GB, free: 211.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/9.595, allocations: 339.9 kB / 3.916 GB, free: 211 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/9.599, allocations: 2.026 MB / 3.917 GB, free: 210.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/9.6, allocations: 1.138 MB / 3.919 GB, free: 209.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009397/9.601, allocations: 248.7 kB / 3.919 GB, free: 209.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005679/9.601, allocations: 456 kB / 3.919 GB, free: 209.2 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/9.601, allocations: 0 / 3.919 GB, free: 209.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05833/9.659, allocations: 27.59 MB / 3.946 GB, free: 204.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/9.66, allocations: 178 kB / 3.946 GB, free: 204.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/13.03, allocations: 7.938 kB / 3.946 GB, free: 204.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)