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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 106 kB / 16.52 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.00192, allocations: 192.8 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7185/0.7185, allocations: 115.3 MB / 406.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 493.6 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3724, allocations: 76.17 MB / 0.5564 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02486/0.3973, allocations: 29.16 MB / 0.5848 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009329/0.4067, allocations: 6.902 MB / 0.5916 GB, free: 9.727 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.4084, allocations: 43.47 kB / 0.5916 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.4102, allocations: 0.6048 MB / 0.5922 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.4142, allocations: 1.344 MB / 0.5935 GB, free: 8.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003262/0.4175, allocations: 1.031 MB / 0.5945 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004092/0.4216, allocations: 3.226 MB / 0.5977 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.4228, allocations: 0.7212 MB / 0.5984 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.4245, allocations: 0.9359 MB / 0.5993 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.4257, allocations: 0.8401 MB / 0.6001 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.4259, allocations: 41.47 kB / 0.6002 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.4277, allocations: 0.7628 MB / 0.6009 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.428, allocations: 257.7 kB / 0.6012 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.4285, allocations: 0.5326 MB / 0.6017 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.4299, allocations: 1.132 MB / 0.6028 GB, free: 3.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4299, allocations: 1.188 kB / 0.6028 GB, free: 3.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4299, allocations: 0 / 0.6028 GB, free: 3.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4299, allocations: 4 kB / 0.6028 GB, free: 3.734 MB / 446.1 MB 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.002487/0.4324, allocations: 1.561 MB / 0.6043 GB, free: 2.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4324, allocations: 12.59 kB / 0.6043 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.436, allocations: 0.5911 MB / 0.6049 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.4371, allocations: 0.8048 MB / 0.6057 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.4372, allocations: 56.19 kB / 0.6057 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.4373, allocations: 81.98 kB / 0.6058 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.4396, allocations: 1.105 MB / 0.6069 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4396, allocations: 0 / 0.6069 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.4397, allocations: 28 kB / 0.6069 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.4397, allocations: 20 kB / 0.6069 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/0.4426, allocations: 1.004 MB / 0.6079 GB, free: 15.64 MB / 462.1 MB 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.005871/0.4485, allocations: 4.942 MB / 0.6128 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.4515, allocations: 0.9057 MB / 0.6136 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4529, allocations: 496.5 kB / 0.6141 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.4544, allocations: 1.587 MB / 0.6157 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.4561, allocations: 0.569 MB / 0.6162 GB, free: 6.492 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.4561, allocations: 0 / 0.6162 GB, free: 6.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004787/0.4609, allocations: 1.489 MB / 0.6177 GB, free: 4.996 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.461, allocations: 59.97 kB / 0.6177 GB, free: 4.926 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.4624, allocations: 1.108 MB / 0.6188 GB, free: 3.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.092e-05/0.4625, allocations: 41.7 kB / 0.6188 GB, free: 3.758 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.4629, allocations: 0.5511 MB / 0.6194 GB, free: 3.199 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.4631, allocations: 205.1 kB / 0.6196 GB, free: 2.996 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.4634, allocations: 170.5 kB / 0.6197 GB, free: 2.824 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4635, allocations: 337.9 kB / 0.6201 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.465, allocations: 449.6 kB / 0.6205 GB, free: 2.047 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.4666, allocations: 0.7131 MB / 0.6212 GB, free: 1.219 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.4696, allocations: 1.124 MB / 0.6223 GB, free: 15.99 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.4696, allocations: 7.938 kB / 0.6223 GB, free: 15.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003588/0.4732, allocations: 1.267 MB / 0.6235 GB, free: 14.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4732, allocations: 8 kB / 0.6235 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.4732, allocations: 8 kB / 0.6236 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.4733, allocations: 12 kB / 0.6236 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.4745, allocations: 267.8 kB / 0.6238 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/0.4745, allocations: 23.92 kB / 0.6238 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.4758, allocations: 198.9 kB / 0.624 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.476, allocations: 51.97 kB / 0.6241 GB, free: 14.15 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005086/0.4765, allocations: 291.8 kB / 0.6244 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.4767, allocations: 126.4 kB / 0.6245 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/0.4805, allocations: 1.363 MB / 0.6258 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.4806, allocations: 8 kB / 0.6258 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4806, allocations: 3.938 kB / 0.6258 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4806, allocations: 3.984 kB / 0.6258 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/0.4857, allocations: 2.366 MB / 0.6281 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4857, allocations: 7.938 kB / 0.6281 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.4868, allocations: 187.9 kB / 0.6283 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.4868, allocations: 8 kB / 0.6283 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.4869, allocations: 23.97 kB / 0.6284 GB, free: 9.691 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.4869, allocations: 7.984 kB / 0.6284 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4869, allocations: 3.938 kB / 0.6284 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.492, allocations: 1.969 MB / 0.6303 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/0.4926, allocations: 283.3 kB / 0.6306 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.4928, allocations: 12 kB / 0.6306 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.4938, allocations: 119.9 kB / 0.6307 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.4939, allocations: 60.36 kB / 0.6307 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/0.494, allocations: 31.97 kB / 0.6308 GB, free: 7.156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.495, allocations: 0.7677 MB / 0.6315 GB, free: 6.383 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.495, allocations: 0 / 0.6315 GB, free: 6.383 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001198/0.4962, allocations: 343.6 kB / 0.6318 GB, free: 6.047 MB / 478.1 MB 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001574/0.4978, allocations: 0.6542 MB / 0.6325 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003388/0.5012, allocations: 1.107 MB / 0.6336 GB, free: 4.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5012, allocations: 0 / 0.6336 GB, free: 4.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.5029, allocations: 0.5814 MB / 0.6341 GB, free: 3.898 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.5052, allocations: 423.7 kB / 0.6345 GB, free: 3.484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005272/0.5105, allocations: 2.779 MB / 0.6373 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.5112, allocations: 1.1 MB / 0.6383 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.5117, allocations: 119.4 kB / 0.6384 GB, free: 15.41 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5117, allocations: 3.938 kB / 0.6384 GB, free: 15.41 MB / 494.1 MB Notification: Performance of Templates: time 0.02955/0.5413, allocations: 19 MB / 0.657 GB, free: 12.55 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)