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.00124/0.00124, allocations: 98.53 kB / 16.27 MB, free: 6.355 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.001154/0.001154, allocations: 190.1 kB / 17.2 MB, free: 5.957 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.79/0.79, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001834, allocations: 60.05 kB / 0.4911 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4075, allocations: 77.92 MB / 0.5672 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0244/0.4319, allocations: 29.32 MB / 0.5958 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009013/0.441, allocations: 6.873 MB / 0.6025 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.4428, allocations: 47.19 kB / 0.6026 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.4446, allocations: 0.693 MB / 0.6033 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.4482, allocations: 1.454 MB / 0.6047 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.451, allocations: 1.154 MB / 0.6058 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002803/0.4539, allocations: 2.47 MB / 0.6082 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.455, allocations: 0.7865 MB / 0.609 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.457, allocations: 1.015 MB / 0.61 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.4581, allocations: 0.8052 MB / 0.6108 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.4583, allocations: 68 kB / 0.6108 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.4602, allocations: 0.8149 MB / 0.6116 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.4605, allocations: 282.9 kB / 0.6119 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006518/0.4612, allocations: 0.5553 MB / 0.6124 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.4639, allocations: 1.594 MB / 0.614 GB, free: 10.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4639, allocations: 0 / 0.614 GB, free: 10.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4639, allocations: 0 / 0.614 GB, free: 10.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.4639, allocations: 0 / 0.614 GB, free: 10.8 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.002705/0.4666, allocations: 1.562 MB / 0.6155 GB, free: 9.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4667, allocations: 8.625 kB / 0.6155 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.4701, allocations: 0.5962 MB / 0.6161 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4714, allocations: 0.7978 MB / 0.6169 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.4715, allocations: 58.38 kB / 0.6169 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.4716, allocations: 75.94 kB / 0.617 GB, free: 7.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.4742, allocations: 1.098 MB / 0.6181 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.4742, allocations: 4 kB / 0.6181 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.85e-05/0.4743, allocations: 32 kB / 0.6181 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.4743, allocations: 19.98 kB / 0.6181 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/0.4774, allocations: 1.004 MB / 0.6191 GB, free: 5.355 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.006053/0.4834, allocations: 4.956 MB / 0.624 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.4865, allocations: 0.9105 MB / 0.6248 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.4879, allocations: 496.3 kB / 0.6253 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.4895, allocations: 1.591 MB / 0.6269 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.4912, allocations: 0.5729 MB / 0.6274 GB, free: 12.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 3.065e-06/0.4912, allocations: 0 / 0.6274 GB, free: 12.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.004861/0.4961, allocations: 1.489 MB / 0.6289 GB, free: 10.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4961, allocations: 59.97 kB / 0.6289 GB, free: 10.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.4974, allocations: 1.112 MB / 0.63 GB, free: 9.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.4975, allocations: 37.7 kB / 0.6301 GB, free: 9.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.498, allocations: 0.5473 MB / 0.6306 GB, free: 8.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.4982, allocations: 209.1 kB / 0.6308 GB, free: 8.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.4984, allocations: 166.5 kB / 0.631 GB, free: 8.516 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4986, allocations: 338 kB / 0.6313 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.5001, allocations: 445.6 kB / 0.6317 GB, free: 7.746 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.5019, allocations: 0.7209 MB / 0.6324 GB, free: 6.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.505, allocations: 1.117 MB / 0.6335 GB, free: 5.688 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.505, allocations: 4 kB / 0.6335 GB, free: 5.684 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003623/0.5086, allocations: 1.278 MB / 0.6348 GB, free: 4.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.5087, allocations: 8 kB / 0.6348 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.5087, allocations: 8 kB / 0.6348 GB, free: 4.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5087, allocations: 12 kB / 0.6348 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.5099, allocations: 267.8 kB / 0.635 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.5099, allocations: 19.92 kB / 0.6351 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.5111, allocations: 182.9 kB / 0.6352 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.5112, allocations: 47.97 kB / 0.6353 GB, free: 3.863 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.0004535/0.5117, allocations: 292.4 kB / 0.6356 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.5119, allocations: 122.4 kB / 0.6357 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/0.5156, allocations: 1.361 MB / 0.637 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.5157, allocations: 15.97 kB / 0.637 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5157, allocations: 4 kB / 0.637 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5157, allocations: 3.984 kB / 0.637 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.5206, allocations: 2.366 MB / 0.6393 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.5207, allocations: 4 kB / 0.6393 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5217, allocations: 179.9 kB / 0.6395 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.5217, allocations: 8 kB / 0.6395 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.5218, allocations: 31.97 kB / 0.6395 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.5218, allocations: 4 kB / 0.6395 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.5218, allocations: 3.938 kB / 0.6396 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005066/0.5269, allocations: 1.973 MB / 0.6415 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.5274, allocations: 283.3 kB / 0.6417 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.5275, allocations: 19.98 kB / 0.6418 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/0.5285, allocations: 103.9 kB / 0.6419 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5286, allocations: 52.38 kB / 0.6419 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.5287, allocations: 39.97 kB / 0.642 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008824/0.5296, allocations: 0.7638 MB / 0.6427 GB, free: 12.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5296, allocations: 0 / 0.6427 GB, free: 12.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001108/0.5307, allocations: 347.6 kB / 0.643 GB, free: 11.77 MB / 494.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.001454/0.5322, allocations: 0.6527 MB / 0.6437 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003676/0.5358, allocations: 1.184 MB / 0.6448 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5359, allocations: 4.188 kB / 0.6448 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.5375, allocations: 0.5734 MB / 0.6454 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.5398, allocations: 453.4 kB / 0.6458 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.545, allocations: 2.357 MB / 0.6481 GB, free: 6.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/0.5458, allocations: 1.11 MB / 0.6492 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.547, allocations: 248.6 kB / 0.6494 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.5473, allocations: 107.4 kB / 0.6495 GB, free: 5.227 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5473, allocations: 0 / 0.6495 GB, free: 5.227 MB / 494.1 MB Notification: Performance of Templates: time 0.03701/0.5843, allocations: 19.89 MB / 0.669 GB, free: 1.574 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)