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.752/1.752, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.00113/0.00113, allocations: 173.1 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 0.6366 GB, free: 8.656 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.0009725/0.0009724, allocations: 94.75 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003704, allocations: 12 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2634, allocations: 116.3 MB / 0.9884 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.442/6.705, allocations: 2.319 GB / 3.307 GB, free: 263.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/6.705, allocations: 87.89 kB / 3.307 GB, free: 263.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.149/8.855, allocations: 0.601 GB / 3.908 GB, free: 24.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.076e-06/8.855, allocations: 0 / 3.908 GB, free: 24.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002638/8.855, allocations: 47.92 kB / 3.908 GB, free: 24.89 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.00535/8.86, allocations: 1.545 MB / 3.91 GB, free: 23.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/8.861, allocations: 15.97 kB / 3.91 GB, free: 23.27 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003609/8.861, allocations: 118.5 kB / 3.91 GB, free: 23.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/8.864, allocations: 0.574 MB / 3.91 GB, free: 22.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/8.867, allocations: 0.9303 MB / 3.911 GB, free: 21.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/8.867, allocations: 57.44 kB / 3.911 GB, free: 21.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/8.867, allocations: 80 kB / 3.911 GB, free: 21.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/8.87, allocations: 1.088 MB / 3.912 GB, free: 20.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/8.87, allocations: 3.938 kB / 3.912 GB, free: 20.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/8.87, allocations: 32 kB / 3.912 GB, free: 20.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/8.87, allocations: 20 kB / 3.912 GB, free: 20.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/8.873, allocations: 1 MB / 3.913 GB, free: 19.22 MB / 0.948 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.006758/8.879, allocations: 4.971 MB / 3.918 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/8.882, allocations: 0.9507 MB / 3.919 GB, free: 13.01 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/8.883, allocations: 1.599 MB / 3.921 GB, free: 11.06 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/8.885, allocations: 0.5729 MB / 3.921 GB, free: 10.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.418e-06/8.885, allocations: 0 / 3.921 GB, free: 10.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004237/8.889, allocations: 1.512 MB / 3.923 GB, free: 8.961 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/8.889, allocations: 59.92 kB / 3.923 GB, free: 8.891 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/8.89, allocations: 0.9975 MB / 3.924 GB, free: 7.883 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/8.89, allocations: 41.64 kB / 3.924 GB, free: 7.836 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/8.891, allocations: 0.5668 MB / 3.924 GB, free: 7.266 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/8.891, allocations: 201.2 kB / 3.925 GB, free: 7.066 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/8.891, allocations: 16 kB / 3.925 GB, free: 7.051 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/8.891, allocations: 338 kB / 3.925 GB, free: 6.715 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/8.892, allocations: 453.6 kB / 3.925 GB, free: 6.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/8.894, allocations: 0.7737 MB / 3.926 GB, free: 5.352 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/8.895, allocations: 0.494 MB / 3.927 GB, free: 4.855 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/8.895, allocations: 4 kB / 3.927 GB, free: 4.852 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003256/8.898, allocations: 1.29 MB / 3.928 GB, free: 3.551 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/8.898, allocations: 8 kB / 3.928 GB, free: 3.543 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/8.898, allocations: 11.98 kB / 3.928 GB, free: 3.531 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.545e-05/8.898, allocations: 12 kB / 3.928 GB, free: 3.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/8.9, allocations: 275.9 kB / 3.928 GB, free: 3.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/8.9, allocations: 19.89 kB / 3.928 GB, free: 3.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/8.901, allocations: 214.9 kB / 3.928 GB, free: 3.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/8.901, allocations: 51.97 kB / 3.928 GB, free: 2.969 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 () * 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.000647/8.902, allocations: 295.8 kB / 3.929 GB, free: 2.672 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/8.902, allocations: 122.5 kB / 3.929 GB, free: 2.551 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/8.906, allocations: 1.432 MB / 3.93 GB, free: 1.105 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/8.906, allocations: 8 kB / 3.93 GB, free: 1.098 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/8.906, allocations: 3.953 kB / 3.93 GB, free: 1.094 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/8.906, allocations: 3.984 kB / 3.93 GB, free: 1.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6959/9.602, allocations: 2.484 MB / 3.933 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/9.602, allocations: 0.9688 kB / 3.933 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/9.603, allocations: 200.2 kB / 3.933 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/9.603, allocations: 6.688 kB / 3.933 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/9.603, allocations: 30.45 kB / 3.933 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/9.603, allocations: 4.344 kB / 3.933 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/9.603, allocations: 1.688 kB / 3.933 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005389/9.608, allocations: 2.122 MB / 3.935 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/9.609, allocations: 315.3 kB / 3.935 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/9.61, allocations: 18.8 kB / 3.935 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009915/9.611, allocations: 133.4 kB / 3.935 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/9.611, allocations: 55 kB / 3.936 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/9.611, allocations: 36.03 kB / 3.936 GB, free: 168.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001164/9.612, allocations: 0.7671 MB / 3.936 GB, free: 168.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/9.612, allocations: 0 / 3.936 GB, free: 168.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001637/9.614, allocations: 389 kB / 3.937 GB, free: 168.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) * 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.007394/9.621, allocations: 3.783 MB / 3.94 GB, free: 167 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003449/9.625, allocations: 1.144 MB / 3.942 GB, free: 166.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/9.625, allocations: 0.9688 kB / 3.942 GB, free: 166.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/9.627, allocations: 0.5946 MB / 3.942 GB, free: 166.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/9.629, allocations: 434.3 kB / 3.943 GB, free: 166.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/9.651, allocations: 12.66 MB / 3.955 GB, free: 159.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/9.652, allocations: 1.142 MB / 3.956 GB, free: 158.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001836/9.654, allocations: 261.8 kB / 3.956 GB, free: 158.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008179/9.655, allocations: 470.9 kB / 3.957 GB, free: 158.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.28e-05/9.655, allocations: 0 / 3.957 GB, free: 158.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07537/9.73, allocations: 32.99 MB / 3.989 GB, free: 157.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/9.731, allocations: 224.2 kB / 3.989 GB, free: 157.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/13.36, allocations: 0 / 3.989 GB, free: 157.6 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)