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.001184/0.001184, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001214/0.001214, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7724/0.7724, allocations: 122.9 MB / 413.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.69 kB / 0.4906 GB, free: 14.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1499, allocations: 77.93 MB / 0.5667 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3209/0.4708, allocations: 29.09 MB / 0.5951 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.4814, allocations: 6.837 MB / 0.6018 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.4831, allocations: 44.31 kB / 0.6018 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.4851, allocations: 0.6141 MB / 0.6024 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.4892, allocations: 1.359 MB / 0.6037 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.4922, allocations: 1.045 MB / 0.6048 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003614/0.4958, allocations: 2.491 MB / 0.6072 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.4971, allocations: 0.803 MB / 0.608 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.4991, allocations: 1.038 MB / 0.609 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.5001, allocations: 0.8447 MB / 0.6098 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.5002, allocations: 65.78 kB / 0.6099 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.5021, allocations: 0.8352 MB / 0.6107 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.5024, allocations: 280.3 kB / 0.611 GB, free: 444 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.503, allocations: 0.5531 MB / 0.6115 GB, free: 96 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.5056, allocations: 1.596 MB / 0.6131 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5056, allocations: 5.531 kB / 0.6131 GB, free: 15.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5056, allocations: 0 / 0.6131 GB, free: 15.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.5056, allocations: 0 / 0.6131 GB, free: 15.47 MB / 462.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.003162/0.5088, allocations: 1.564 MB / 0.6146 GB, free: 14.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5089, allocations: 9.906 kB / 0.6146 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.5126, allocations: 0.5927 MB / 0.6152 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.5139, allocations: 0.8046 MB / 0.616 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.514, allocations: 59.61 kB / 0.616 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5141, allocations: 81.72 kB / 0.6161 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.5167, allocations: 1.1 MB / 0.6172 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5167, allocations: 1.562 kB / 0.6172 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.5168, allocations: 32.19 kB / 0.6172 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.5168, allocations: 23.12 kB / 0.6172 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/0.5199, allocations: 0.998 MB / 0.6182 GB, free: 12.78 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.005699/0.5256, allocations: 4.941 MB / 0.623 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.5286, allocations: 0.9031 MB / 0.6239 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.53, allocations: 493.7 kB / 0.6244 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.5314, allocations: 1.589 MB / 0.6259 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.5331, allocations: 0.5786 MB / 0.6265 GB, free: 5.492 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.564e-06/0.5331, allocations: 0 / 0.6265 GB, free: 5.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.00486/0.538, allocations: 1.483 MB / 0.628 GB, free: 4.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.538, allocations: 58.31 kB / 0.628 GB, free: 4.719 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.5393, allocations: 1.117 MB / 0.6291 GB, free: 4.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/0.5394, allocations: 37.67 kB / 0.6291 GB, free: 4.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000406/0.5398, allocations: 0.5437 MB / 0.6297 GB, free: 3.617 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.54, allocations: 213.7 kB / 0.6299 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.5403, allocations: 164.4 kB / 0.63 GB, free: 3.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5405, allocations: 336.8 kB / 0.6304 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.5419, allocations: 448.9 kB / 0.6308 GB, free: 2.801 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.5436, allocations: 0.7207 MB / 0.6315 GB, free: 2.246 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.5466, allocations: 1.114 MB / 0.6326 GB, free: 1.516 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.5466, allocations: 6.688 kB / 0.6326 GB, free: 1.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003551/0.5501, allocations: 1.273 MB / 0.6338 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5502, allocations: 8.938 kB / 0.6338 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5502, allocations: 11.36 kB / 0.6338 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.5502, allocations: 15 kB / 0.6339 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.5514, allocations: 266.3 kB / 0.6341 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.5515, allocations: 19.95 kB / 0.6341 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.5528, allocations: 197.2 kB / 0.6343 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.569e-05/0.5529, allocations: 44.41 kB / 0.6344 GB, free: 0.6719 MB / 462.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.0004681/0.5533, allocations: 294.4 kB / 0.6346 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.5535, allocations: 123.7 kB / 0.6348 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/0.5572, allocations: 1.362 MB / 0.6361 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.5572, allocations: 6.938 kB / 0.6361 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5572, allocations: 0 / 0.6361 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5573, allocations: 6.609 kB / 0.6361 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.5621, allocations: 2.37 MB / 0.6384 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5621, allocations: 4.031 kB / 0.6384 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.5631, allocations: 191.7 kB / 0.6386 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.5632, allocations: 4 kB / 0.6386 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.5632, allocations: 23.97 kB / 0.6386 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.5632, allocations: 7.938 kB / 0.6386 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5632, allocations: 7.938 kB / 0.6386 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004935/0.5682, allocations: 1.969 MB / 0.6406 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.5686, allocations: 283.3 kB / 0.6408 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5688, allocations: 16 kB / 0.6408 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/0.5698, allocations: 119.9 kB / 0.641 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.5699, allocations: 60.36 kB / 0.641 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.57, allocations: 35.97 kB / 0.6411 GB, free: 10.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009017/0.5709, allocations: 0.7638 MB / 0.6418 GB, free: 10.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5709, allocations: 0 / 0.6418 GB, free: 10.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001108/0.572, allocations: 339.5 kB / 0.6421 GB, free: 9.766 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.00146/0.5735, allocations: 0.6682 MB / 0.6428 GB, free: 9.262 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003562/0.5771, allocations: 1.181 MB / 0.6439 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5771, allocations: 4.188 kB / 0.6439 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.5786, allocations: 0.5773 MB / 0.6445 GB, free: 7.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5806, allocations: 457.2 kB / 0.6449 GB, free: 7.062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.5855, allocations: 2.728 MB / 0.6476 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.5862, allocations: 1.104 MB / 0.6487 GB, free: 3.152 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009735/0.5871, allocations: 248.6 kB / 0.6489 GB, free: 2.906 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.5874, allocations: 103.4 kB / 0.649 GB, free: 2.805 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5875, allocations: 0 / 0.649 GB, free: 2.805 MB / 478.1 MB Notification: Performance of Templates: time 0.03131/0.6188, allocations: 19.7 MB / 0.6683 GB, free: 15.37 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)