Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5121/0.5121, allocations: 91.97 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 223.2 MB / 354.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 98.59 kB / 427.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003693, allocations: 12 kB / 0.4983 GB, free: 41.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 72.31 MB / 0.5689 GB, free: 1.594 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.513/6.679, allocations: 2.112 GB / 2.681 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/6.68, allocations: 94.12 kB / 2.681 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.161/8.841, allocations: 0.602 GB / 3.283 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.066e-06/8.841, allocations: 0 / 3.283 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002598/8.841, allocations: 41.78 kB / 3.283 GB, free: 59.69 MB / 0.6042 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.005329/8.847, allocations: 1.547 MB / 3.284 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/8.847, allocations: 11.97 kB / 3.284 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004176/8.847, allocations: 114.5 kB / 3.284 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/8.851, allocations: 0.572 MB / 3.285 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/8.854, allocations: 0.9268 MB / 3.286 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.93e-05/8.854, allocations: 53.94 kB / 3.286 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/8.854, allocations: 76 kB / 3.286 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/8.857, allocations: 1.103 MB / 3.287 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/8.857, allocations: 3.938 kB / 3.287 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/8.857, allocations: 32 kB / 3.287 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/8.857, allocations: 33.25 kB / 3.287 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/8.86, allocations: 1.008 MB / 3.288 GB, free: 54.09 MB / 0.6042 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.007866/8.868, allocations: 4.951 MB / 3.293 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/8.871, allocations: 0.9563 MB / 3.294 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/8.872, allocations: 1.596 MB / 3.295 GB, free: 46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/8.873, allocations: 0.5806 MB / 3.296 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 4.568e-06/8.873, allocations: 0 / 3.296 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.004456/8.878, allocations: 1.504 MB / 3.297 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/8.878, allocations: 59.97 kB / 3.297 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/8.879, allocations: 0.9851 MB / 3.298 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/8.88, allocations: 45.7 kB / 3.298 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/8.88, allocations: 0.5504 MB / 3.299 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/8.88, allocations: 211.5 kB / 3.299 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/8.88, allocations: 20 kB / 3.299 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/8.88, allocations: 334 kB / 3.3 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/8.881, allocations: 457.6 kB / 3.3 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/8.883, allocations: 0.7452 MB / 3.301 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/8.884, allocations: 0.4934 MB / 3.301 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/8.884, allocations: 4 kB / 3.301 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003217/8.887, allocations: 1.279 MB / 3.302 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/8.887, allocations: 13.67 kB / 3.302 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/8.887, allocations: 11.38 kB / 3.302 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/8.887, allocations: 20 kB / 3.302 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/8.889, allocations: 269.9 kB / 3.303 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/8.889, allocations: 19.92 kB / 3.303 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/8.89, allocations: 207 kB / 3.303 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/8.89, allocations: 55.97 kB / 3.303 GB, free: 37.99 MB / 0.6042 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.0006387/8.891, allocations: 295.7 kB / 3.303 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/8.891, allocations: 118.5 kB / 3.303 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/8.894, allocations: 1.431 MB / 3.305 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/8.894, allocations: 12 kB / 3.305 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/8.894, allocations: 4 kB / 3.305 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/8.894, allocations: 3.984 kB / 3.305 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/8.899, allocations: 2.489 MB / 3.307 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/8.899, allocations: 0 / 3.307 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/8.9, allocations: 207.8 kB / 3.307 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/8.9, allocations: 4 kB / 3.307 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/8.9, allocations: 31.77 kB / 3.307 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/8.9, allocations: 4 kB / 3.307 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/8.9, allocations: 3.938 kB / 3.307 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004364/8.904, allocations: 2.121 MB / 3.31 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006698/8.905, allocations: 311.3 kB / 3.31 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/8.905, allocations: 19.06 kB / 3.31 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/8.907, allocations: 131.9 kB / 3.31 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/8.907, allocations: 60.44 kB / 3.31 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/8.907, allocations: 31.97 kB / 3.31 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000974/8.908, allocations: 0.7638 MB / 3.311 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/8.908, allocations: 0 / 3.311 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001477/8.909, allocations: 391.5 kB / 3.311 GB, free: 29.45 MB / 0.6042 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.006439/8.916, allocations: 3.779 MB / 3.315 GB, free: 25.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003083/8.919, allocations: 1.137 MB / 3.316 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/8.919, allocations: 0 / 3.316 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/8.92, allocations: 0.5997 MB / 3.317 GB, free: 24.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/8.923, allocations: 424.5 kB / 3.317 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/8.938, allocations: 12.6 MB / 3.329 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/8.939, allocations: 1.136 MB / 3.33 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001192/8.94, allocations: 248 kB / 3.331 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/8.941, allocations: 463.2 kB / 3.331 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of SimCode: time 2.365e-06/8.941, allocations: 0 / 3.331 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4596/9.4, allocations: 32.39 MB / 3.363 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/9.401, allocations: 232.1 kB / 3.363 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/12.81, allocations: 0 / 3.363 GB, free: 101.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)