Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.882/2.882, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001567/0.001567, allocations: 170.7 kB / 370.8 MB, free: 10.88 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.04/2.04, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 102.7 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005749/0.0005749, allocations: 17.17 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2264, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.776/8.003, allocations: 2.317 GB / 3.296 GB, free: 279.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004171/8.003, allocations: 93.77 kB / 3.296 GB, free: 279.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.849/10.85, allocations: 0.601 GB / 3.897 GB, free: 72.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.885e-06/10.85, allocations: 0 / 3.897 GB, free: 72.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001824/10.85, allocations: 39.98 kB / 3.897 GB, free: 72.85 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.005491/10.86, allocations: 1.549 MB / 3.898 GB, free: 71.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/10.86, allocations: 8.031 kB / 3.898 GB, free: 71.23 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004383/10.86, allocations: 118.5 kB / 3.899 GB, free: 71.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/10.86, allocations: 0.5721 MB / 3.899 GB, free: 70.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/10.87, allocations: 0.9341 MB / 3.9 GB, free: 69.54 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/10.87, allocations: 61.94 kB / 3.9 GB, free: 69.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/10.87, allocations: 76 kB / 3.9 GB, free: 69.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004217/10.87, allocations: 1.096 MB / 3.901 GB, free: 68.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-05/10.87, allocations: 7.938 kB / 3.901 GB, free: 68.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/10.87, allocations: 28 kB / 3.901 GB, free: 68.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/10.87, allocations: 16 kB / 3.901 GB, free: 68.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005743/10.88, allocations: 1 MB / 3.902 GB, free: 67.18 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.009537/10.89, allocations: 4.978 MB / 3.907 GB, free: 61.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005243/10.89, allocations: 0.9596 MB / 3.908 GB, free: 60.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/10.9, allocations: 1.596 MB / 3.91 GB, free: 59.01 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002903/10.9, allocations: 0.5845 MB / 3.91 GB, free: 58.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 5.31e-06/10.9, allocations: 0 / 3.91 GB, free: 58.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.008535/10.91, allocations: 1.516 MB / 3.912 GB, free: 56.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/10.91, allocations: 55.97 kB / 3.912 GB, free: 56.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/10.91, allocations: 0.9936 MB / 3.913 GB, free: 55.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002873/10.91, allocations: 45.7 kB / 3.913 GB, free: 55.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/10.91, allocations: 0.5474 MB / 3.913 GB, free: 55.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/10.91, allocations: 221 kB / 3.913 GB, free: 55 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.553e-05/10.91, allocations: 12 kB / 3.913 GB, free: 54.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/10.91, allocations: 334 kB / 3.914 GB, free: 54.65 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/10.91, allocations: 457.6 kB / 3.914 GB, free: 54.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/10.92, allocations: 0.7775 MB / 3.915 GB, free: 53.28 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/10.92, allocations: 0.4967 MB / 3.915 GB, free: 52.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/10.92, allocations: 8 kB / 3.915 GB, free: 52.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006337/10.93, allocations: 1.278 MB / 3.917 GB, free: 51.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/10.93, allocations: 8 kB / 3.917 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/10.93, allocations: 8 kB / 3.917 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/10.93, allocations: 15.95 kB / 3.917 GB, free: 51.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/10.93, allocations: 279.8 kB / 3.917 GB, free: 51.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.833e-05/10.93, allocations: 16 kB / 3.917 GB, free: 51.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/10.93, allocations: 211 kB / 3.917 GB, free: 50.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/10.93, allocations: 51.97 kB / 3.917 GB, free: 50.91 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.0008538/10.93, allocations: 299.6 kB / 3.918 GB, free: 50.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/10.93, allocations: 118.5 kB / 3.918 GB, free: 50.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006666/10.94, allocations: 1.428 MB / 3.919 GB, free: 49.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/10.94, allocations: 15.95 kB / 3.919 GB, free: 49.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/10.94, allocations: 0 / 3.919 GB, free: 49.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/10.94, allocations: 3.984 kB / 3.919 GB, free: 49.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009352/10.95, allocations: 2.488 MB / 3.922 GB, free: 46.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/10.95, allocations: 4.031 kB / 3.922 GB, free: 46.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/10.95, allocations: 199.7 kB / 3.922 GB, free: 46.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/10.95, allocations: 4 kB / 3.922 GB, free: 46.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/10.95, allocations: 27.97 kB / 3.922 GB, free: 46.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.098e-06/10.95, allocations: 8 kB / 3.922 GB, free: 46.24 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/10.95, allocations: 0 / 3.922 GB, free: 46.24 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009288/10.96, allocations: 2.133 MB / 3.924 GB, free: 44.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/10.96, allocations: 311.2 kB / 3.924 GB, free: 43.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004811/10.96, allocations: 20 kB / 3.924 GB, free: 43.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/10.96, allocations: 131.9 kB / 3.924 GB, free: 43.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/10.96, allocations: 56.44 kB / 3.924 GB, free: 43.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/10.96, allocations: 31.97 kB / 3.924 GB, free: 43.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001686/10.97, allocations: 0.7681 MB / 3.925 GB, free: 42.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.92e-07/10.97, allocations: 3.938 kB / 3.925 GB, free: 42.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002236/10.97, allocations: 395.6 kB / 3.925 GB, free: 42.32 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.01192/10.98, allocations: 3.769 MB / 3.929 GB, free: 38.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006061/10.99, allocations: 1.135 MB / 3.93 GB, free: 37.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/10.99, allocations: 8.188 kB / 3.93 GB, free: 37.51 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003067/10.99, allocations: 0.6046 MB / 3.931 GB, free: 36.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/10.99, allocations: 427.7 kB / 3.931 GB, free: 36.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/11.02, allocations: 12.65 MB / 3.944 GB, free: 23.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/11.02, allocations: 1.137 MB / 3.945 GB, free: 22.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002283/11.02, allocations: 264.6 kB / 3.945 GB, free: 21.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/11.03, allocations: 471.2 kB / 3.945 GB, free: 21.48 MB / 0.948 GB Notification: Performance of SimCode: time 1.894e-06/11.03, allocations: 0 / 3.945 GB, free: 21.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8553/11.88, allocations: 32.97 MB / 3.978 GB, free: 217.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/11.88, allocations: 230 kB / 3.978 GB, free: 217.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.178/16.06, allocations: 0.8438 kB / 3.978 GB, free: 217.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)