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.001269/0.001269, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4897/0.4897, allocations: 90.8 MB / 104.5 MB, free: 9.797 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.365/1.365, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009804/0.0009806, allocations: 101 kB / 421.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.173e-05, allocations: 4 kB / 0.4897 GB, free: 5.246 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3642, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.941/5.306, allocations: 2.112 GB / 2.672 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/5.306, allocations: 92.98 kB / 2.672 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.843/7.149, allocations: 0.6001 GB / 3.272 GB, free: 148 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.122e-06/7.149, allocations: 7.938 kB / 3.272 GB, free: 140 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.683e-05/7.149, allocations: 39.92 kB / 3.272 GB, free: 100 kB / 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.4194/7.569, allocations: 1.336 MB / 3.273 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/7.569, allocations: 10.73 kB / 3.273 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/7.569, allocations: 113.1 kB / 3.274 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/7.572, allocations: 0.581 MB / 3.274 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/7.574, allocations: 0.9277 MB / 3.275 GB, free: 108 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/7.574, allocations: 51.38 kB / 3.275 GB, free: 108 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/7.575, allocations: 78.53 kB / 3.275 GB, free: 108 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/7.576, allocations: 0.9143 MB / 3.276 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/7.576, allocations: 2.062 kB / 3.276 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/7.576, allocations: 28.47 kB / 3.276 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.833e-05/7.576, allocations: 36.66 kB / 3.276 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/7.578, allocations: 0.6322 MB / 3.277 GB, free: 107.8 MB / 0.6042 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.005246/7.583, allocations: 4.953 MB / 3.282 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/7.584, allocations: 0.5769 MB / 3.282 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/7.584, allocations: 305.1 kB / 3.282 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/7.585, allocations: 1.597 MB / 3.284 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/7.586, allocations: 405.4 kB / 3.284 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 4.379e-06/7.586, allocations: 0 / 3.284 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.001282/7.587, allocations: 0.7127 MB / 3.285 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/7.587, allocations: 55.91 kB / 3.285 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/7.589, allocations: 0.9765 MB / 3.286 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/7.589, allocations: 40.77 kB / 3.286 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/7.589, allocations: 0.5481 MB / 3.287 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/7.589, allocations: 212.8 kB / 3.287 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/7.589, allocations: 17.8 kB / 3.287 GB, free: 102.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/7.589, allocations: 335 kB / 3.287 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/7.59, allocations: 272.9 kB / 3.287 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/7.59, allocations: 0.5547 MB / 3.288 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/7.591, allocations: 307.4 kB / 3.288 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/7.591, allocations: 3.844 kB / 3.288 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001324/7.592, allocations: 0.9156 MB / 3.289 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/7.592, allocations: 11.45 kB / 3.289 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/7.592, allocations: 7 kB / 3.289 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/7.592, allocations: 18.05 kB / 3.289 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/7.593, allocations: 282.3 kB / 3.289 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/7.593, allocations: 15.41 kB / 3.289 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/7.594, allocations: 206.2 kB / 3.29 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/7.595, allocations: 53.81 kB / 3.29 GB, free: 101.4 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 () * 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.0001692/7.595, allocations: 163.8 kB / 3.29 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/7.595, allocations: 119.1 kB / 3.29 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/7.597, allocations: 1.065 MB / 3.291 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/7.597, allocations: 11.22 kB / 3.291 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/7.597, allocations: 0 / 3.291 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/7.597, allocations: 3.469 kB / 3.291 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/7.6, allocations: 2.116 MB / 3.293 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/7.6, allocations: 3.094 kB / 3.293 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/7.601, allocations: 204 kB / 3.293 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/7.601, allocations: 3.906 kB / 3.293 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/7.601, allocations: 26.95 kB / 3.293 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/7.601, allocations: 3.75 kB / 3.293 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/7.601, allocations: 5.344 kB / 3.293 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/7.603, allocations: 1.56 MB / 3.295 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/7.603, allocations: 312.6 kB / 3.295 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/7.603, allocations: 22.3 kB / 3.295 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/7.604, allocations: 130.4 kB / 3.295 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/7.604, allocations: 58.91 kB / 3.295 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/7.604, allocations: 36.81 kB / 3.295 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001147/7.606, allocations: 0.7466 MB / 3.296 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/7.606, allocations: 3.688 kB / 3.296 GB, free: 100.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001478/7.607, allocations: 396.6 kB / 3.297 GB, free: 100.1 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) * 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.003667/7.611, allocations: 3.18 MB / 3.3 GB, free: 98.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00137/7.612, allocations: 0.7728 MB / 3.3 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/7.612, allocations: 0 / 3.3 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007769/7.613, allocations: 421.2 kB / 3.301 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/7.615, allocations: 418.4 kB / 3.301 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/7.619, allocations: 2.093 MB / 3.303 GB, free: 98.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/7.62, allocations: 1.136 MB / 3.304 GB, free: 97.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00104/7.621, allocations: 253.4 kB / 3.305 GB, free: 97.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/7.621, allocations: 467.1 kB / 3.305 GB, free: 97.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.674e-06/7.621, allocations: 2.312 kB / 3.305 GB, free: 97.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/7.67, allocations: 32.67 MB / 3.337 GB, free: 96.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/7.671, allocations: 198.8 kB / 3.337 GB, free: 96.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/10.83, allocations: 0 / 3.337 GB, free: 96.15 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)