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.837/1.837, allocations: 289.7 MB / 302.3 MB, free: 2.141 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.001211/0.001211, allocations: 181.3 kB / 371.6 MB, free: 3.367 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.965/1.965, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0009297/0.0009297, allocations: 93.02 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.439e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3057, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.838/7.144, allocations: 2.318 GB / 3.298 GB, free: 279.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/7.145, allocations: 91.06 kB / 3.298 GB, free: 279.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.924/9.068, allocations: 0.5991 GB / 3.898 GB, free: 42.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.313e-06/9.068, allocations: 0 / 3.898 GB, free: 42.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001752/9.069, allocations: 39.98 kB / 3.898 GB, free: 42.95 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.003628/9.072, allocations: 1.34 MB / 3.899 GB, free: 41.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/9.072, allocations: 12.03 kB / 3.899 GB, free: 41.54 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000298/9.073, allocations: 110.5 kB / 3.899 GB, free: 41.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/9.076, allocations: 0.5854 MB / 3.9 GB, free: 40.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/9.079, allocations: 0.9257 MB / 3.9 GB, free: 39.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/9.079, allocations: 66 kB / 3.901 GB, free: 39.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/9.079, allocations: 76 kB / 3.901 GB, free: 39.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/9.081, allocations: 0.8928 MB / 3.901 GB, free: 38.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/9.081, allocations: 4 kB / 3.901 GB, free: 38.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.277e-05/9.081, allocations: 32 kB / 3.901 GB, free: 38.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/9.081, allocations: 20 kB / 3.902 GB, free: 38.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/9.082, allocations: 0.6335 MB / 3.902 GB, free: 38.06 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.005194/9.087, allocations: 4.973 MB / 3.907 GB, free: 32.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/9.088, allocations: 0.5878 MB / 3.908 GB, free: 32.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/9.089, allocations: 306.5 kB / 3.908 GB, free: 31.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/9.09, allocations: 1.596 MB / 3.909 GB, free: 29.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005939/9.09, allocations: 395 kB / 3.91 GB, free: 29.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.877e-06/9.09, allocations: 3.984 kB / 3.91 GB, free: 29.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001365/9.092, allocations: 0.7201 MB / 3.91 GB, free: 28.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/9.092, allocations: 67.95 kB / 3.911 GB, free: 28.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/9.093, allocations: 0.9794 MB / 3.912 GB, free: 27.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/9.093, allocations: 45.69 kB / 3.912 GB, free: 27.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/9.093, allocations: 0.5512 MB / 3.912 GB, free: 27.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/9.093, allocations: 209.1 kB / 3.912 GB, free: 26.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/9.093, allocations: 16 kB / 3.912 GB, free: 26.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001129/9.094, allocations: 333.9 kB / 3.913 GB, free: 26.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/9.094, allocations: 266 kB / 3.913 GB, free: 26.33 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/9.095, allocations: 0.5943 MB / 3.913 GB, free: 25.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/9.095, allocations: 316.9 kB / 3.914 GB, free: 25.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/9.095, allocations: 7.938 kB / 3.914 GB, free: 25.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001469/9.097, allocations: 0.9157 MB / 3.915 GB, free: 24.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/9.097, allocations: 12 kB / 3.915 GB, free: 24.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/9.097, allocations: 8 kB / 3.915 GB, free: 24.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.688e-05/9.097, allocations: 12 kB / 3.915 GB, free: 24.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/9.098, allocations: 275.5 kB / 3.915 GB, free: 24.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/9.098, allocations: 19.92 kB / 3.915 GB, free: 24.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/9.099, allocations: 219 kB / 3.915 GB, free: 23.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/9.1, allocations: 51.97 kB / 3.915 GB, free: 23.77 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.000178/9.1, allocations: 162.9 kB / 3.915 GB, free: 23.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/9.1, allocations: 118.5 kB / 3.916 GB, free: 23.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/9.102, allocations: 1.058 MB / 3.917 GB, free: 22.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/9.102, allocations: 12 kB / 3.917 GB, free: 22.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/9.102, allocations: 3.953 kB / 3.917 GB, free: 22.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/9.102, allocations: 3.984 kB / 3.917 GB, free: 22.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/9.105, allocations: 2.111 MB / 3.919 GB, free: 20.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/9.105, allocations: 4 kB / 3.919 GB, free: 20.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009627/9.106, allocations: 203.9 kB / 3.919 GB, free: 20.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/9.106, allocations: 8 kB / 3.919 GB, free: 20.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/9.106, allocations: 31.86 kB / 3.919 GB, free: 19.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/9.106, allocations: 7.984 kB / 3.919 GB, free: 19.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/9.106, allocations: 4 kB / 3.919 GB, free: 19.96 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/9.108, allocations: 1.565 MB / 3.92 GB, free: 18.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/9.108, allocations: 311.3 kB / 3.921 GB, free: 18.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/9.109, allocations: 16 kB / 3.921 GB, free: 18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/9.11, allocations: 131.9 kB / 3.921 GB, free: 17.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/9.11, allocations: 52.44 kB / 3.921 GB, free: 17.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/9.11, allocations: 35.97 kB / 3.921 GB, free: 17.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000957/9.111, allocations: 0.7617 MB / 3.922 GB, free: 17.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/9.111, allocations: 0 / 3.922 GB, free: 17.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001426/9.112, allocations: 391.5 kB / 3.922 GB, free: 16.63 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.003897/9.116, allocations: 3.175 MB / 3.925 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00131/9.117, allocations: 0.7727 MB / 3.926 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/9.117, allocations: 0 / 3.926 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005593/9.118, allocations: 419.2 kB / 3.926 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/9.12, allocations: 445.6 kB / 3.927 GB, free: 11.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/9.125, allocations: 2.102 MB / 3.929 GB, free: 9.691 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/9.125, allocations: 1.137 MB / 3.93 GB, free: 8.527 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001054/9.126, allocations: 260.6 kB / 3.93 GB, free: 8.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/9.127, allocations: 471.2 kB / 3.931 GB, free: 7.809 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/9.127, allocations: 4 kB / 3.931 GB, free: 7.805 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7155/9.842, allocations: 33.25 MB / 3.963 GB, free: 171.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/9.843, allocations: 202.2 kB / 3.963 GB, free: 171.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.885/13.73, allocations: 0 / 3.963 GB, free: 171.7 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)