Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 288.2 MB / 303.2 MB, free: 8.176 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: 185.9 kB / 371.8 MB, free: 10.26 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.897/1.897, allocations: 205.4 MB / 0.6305 GB, free: 9.879 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.001126/0.001126, allocations: 90.86 kB / 0.7439 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004197, allocations: 12.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2633, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.676/6.94, allocations: 2.318 GB / 3.297 GB, free: 349.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/6.94, allocations: 89.5 kB / 3.297 GB, free: 349.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.848/8.788, allocations: 0.601 GB / 3.898 GB, free: 136.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.814e-06/8.788, allocations: 0 / 3.898 GB, free: 136.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001228/8.789, allocations: 39.83 kB / 3.898 GB, free: 136.6 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.00428/8.793, allocations: 1.544 MB / 3.9 GB, free: 135.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/8.793, allocations: 12.03 kB / 3.9 GB, free: 135 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003206/8.793, allocations: 118.5 kB / 3.9 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/8.797, allocations: 0.5758 MB / 3.9 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/8.8, allocations: 0.9272 MB / 3.901 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/8.8, allocations: 57.94 kB / 3.901 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/8.8, allocations: 80 kB / 3.901 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/8.803, allocations: 1.084 MB / 3.903 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/8.803, allocations: 7.875 kB / 3.903 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/8.803, allocations: 31.98 kB / 3.903 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/8.803, allocations: 20 kB / 3.903 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/8.805, allocations: 1.004 MB / 3.904 GB, free: 131 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.005846/8.811, allocations: 4.984 MB / 3.908 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/8.814, allocations: 0.9576 MB / 3.909 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/8.815, allocations: 1.595 MB / 3.911 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001466/8.816, allocations: 0.5768 MB / 3.911 GB, free: 122.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.466e-06/8.816, allocations: 0 / 3.911 GB, free: 122.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.00432/8.821, allocations: 1.508 MB / 3.913 GB, free: 120.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/8.821, allocations: 67.92 kB / 3.913 GB, free: 120.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/8.822, allocations: 0.9936 MB / 3.914 GB, free: 119.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/8.822, allocations: 37.7 kB / 3.914 GB, free: 119.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/8.823, allocations: 0.5628 MB / 3.915 GB, free: 119.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/8.823, allocations: 207.1 kB / 3.915 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/8.823, allocations: 16 kB / 3.915 GB, free: 118.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/8.823, allocations: 338 kB / 3.915 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/8.824, allocations: 449.6 kB / 3.916 GB, free: 118.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/8.826, allocations: 0.7814 MB / 3.916 GB, free: 117.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/8.827, allocations: 0.4964 MB / 3.917 GB, free: 116.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/8.827, allocations: 4 kB / 3.917 GB, free: 116.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00325/8.83, allocations: 1.278 MB / 3.918 GB, free: 115.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/8.83, allocations: 8 kB / 3.918 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/8.83, allocations: 8 kB / 3.918 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/8.83, allocations: 19.8 kB / 3.918 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/8.831, allocations: 276 kB / 3.918 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/8.831, allocations: 19.94 kB / 3.918 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/8.833, allocations: 218.2 kB / 3.919 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/8.833, allocations: 47.97 kB / 3.919 GB, free: 114.8 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.0006393/8.834, allocations: 295.7 kB / 3.919 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/8.834, allocations: 122.5 kB / 3.919 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/8.838, allocations: 1.425 MB / 3.92 GB, free: 113 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/8.838, allocations: 11.98 kB / 3.92 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/8.838, allocations: 7.891 kB / 3.92 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/8.838, allocations: 3.984 kB / 3.92 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/8.843, allocations: 2.486 MB / 3.923 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/8.843, allocations: 0 / 3.923 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/8.844, allocations: 203.8 kB / 3.923 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/8.844, allocations: 4 kB / 3.923 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.376e-05/8.844, allocations: 27.97 kB / 3.923 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/8.844, allocations: 8 kB / 3.923 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/8.844, allocations: 0 / 3.923 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/8.849, allocations: 2.129 MB / 3.925 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009109/8.85, allocations: 311.3 kB / 3.925 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/8.85, allocations: 12 kB / 3.925 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/8.851, allocations: 135.9 kB / 3.926 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/8.852, allocations: 52.44 kB / 3.926 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/8.852, allocations: 31.98 kB / 3.926 GB, free: 107.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001013/8.853, allocations: 0.772 MB / 3.926 GB, free: 106.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.032e-06/8.853, allocations: 4 kB / 3.926 GB, free: 106.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001616/8.854, allocations: 399.5 kB / 3.927 GB, free: 106.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.006792/8.861, allocations: 3.78 MB / 3.931 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003664/8.865, allocations: 1.139 MB / 3.932 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/8.865, allocations: 0 / 3.932 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/8.867, allocations: 0.6009 MB / 3.932 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/8.869, allocations: 433.4 kB / 3.933 GB, free: 100.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/8.885, allocations: 12.64 MB / 3.945 GB, free: 87.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/8.885, allocations: 1.144 MB / 3.946 GB, free: 86.21 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001375/8.886, allocations: 258.9 kB / 3.946 GB, free: 85.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006666/8.887, allocations: 475.2 kB / 3.947 GB, free: 85.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.824e-06/8.887, allocations: 0 / 3.947 GB, free: 85.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05499/8.942, allocations: 32.99 MB / 3.979 GB, free: 52.84 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/8.942, allocations: 244.7 kB / 3.979 GB, free: 52.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.281/12.22, allocations: 0 / 3.979 GB, free: 52.59 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)