Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00131/0.00131, allocations: 102.6 kB / 16.29 MB, free: 6.426 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.001656/0.001656, allocations: 186.4 kB / 17.22 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 66.88 kB / 0.6722 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2303, allocations: 114.5 MB / 0.7841 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3987/0.6291, allocations: 29.36 MB / 0.8127 GB, free: 31.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.6395, allocations: 6.733 MB / 0.8193 GB, free: 27.08 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.6408, allocations: 46.59 kB / 0.8193 GB, free: 27.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.6425, allocations: 0.6958 MB / 0.82 GB, free: 26.73 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003896/0.6464, allocations: 1.418 MB / 0.8214 GB, free: 25.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.6497, allocations: 1.162 MB / 0.8225 GB, free: 25.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003574/0.6533, allocations: 2.458 MB / 0.8249 GB, free: 24.28 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.6546, allocations: 0.8012 MB / 0.8257 GB, free: 23.97 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.6567, allocations: 1.03 MB / 0.8267 GB, free: 23.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.6579, allocations: 0.8173 MB / 0.8275 GB, free: 23.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.658, allocations: 70.03 kB / 0.8276 GB, free: 23.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.6601, allocations: 0.8213 MB / 0.8284 GB, free: 22.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.6604, allocations: 279.1 kB / 0.8287 GB, free: 22.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.6609, allocations: 0.5568 MB / 0.8292 GB, free: 22.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.6631, allocations: 1.648 MB / 0.8308 GB, free: 21.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6631, allocations: 0 / 0.8308 GB, free: 21.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6632, allocations: 0 / 0.8308 GB, free: 21.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.6632, allocations: 1.125 kB / 0.8308 GB, free: 21.73 MB / 0.6544 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.002501/0.6657, allocations: 1.586 MB / 0.8324 GB, free: 20.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6657, allocations: 10.56 kB / 0.8324 GB, free: 20.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.6693, allocations: 0.5907 MB / 0.833 GB, free: 20.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.6705, allocations: 0.8122 MB / 0.8338 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.6706, allocations: 63.86 kB / 0.8338 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.6708, allocations: 78.12 kB / 0.8339 GB, free: 19.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.6732, allocations: 1.097 MB / 0.835 GB, free: 19.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.6732, allocations: 6.188 kB / 0.835 GB, free: 19.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.6733, allocations: 28.64 kB / 0.835 GB, free: 19.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.6734, allocations: 19.97 kB / 0.835 GB, free: 19.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.6764, allocations: 1.002 MB / 0.836 GB, free: 19.18 MB / 0.6544 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.005295/0.6817, allocations: 4.945 MB / 0.8408 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.6846, allocations: 0.896 MB / 0.8417 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.686, allocations: 493.2 kB / 0.8422 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.6871, allocations: 1.586 MB / 0.8437 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001668/0.6888, allocations: 0.5802 MB / 0.8443 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.876e-06/0.6888, allocations: 0 / 0.8443 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.004646/0.6935, allocations: 1.483 MB / 0.8457 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6935, allocations: 58.09 kB / 0.8458 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.695, allocations: 1.125 MB / 0.8469 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/0.6951, allocations: 48.33 kB / 0.8469 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.6955, allocations: 0.5562 MB / 0.8475 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.6957, allocations: 210.1 kB / 0.8477 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.6959, allocations: 171.2 kB / 0.8478 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.696, allocations: 336.9 kB / 0.8482 GB, free: 11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.6974, allocations: 460.7 kB / 0.8486 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.6991, allocations: 0.7309 MB / 0.8493 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.702, allocations: 1.122 MB / 0.8504 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.7021, allocations: 2.938 kB / 0.8504 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003456/0.7055, allocations: 1.269 MB / 0.8516 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.7056, allocations: 10 kB / 0.8517 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.7056, allocations: 8.688 kB / 0.8517 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.079e-05/0.7056, allocations: 12.16 kB / 0.8517 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.7068, allocations: 278.8 kB / 0.8519 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.7069, allocations: 12.72 kB / 0.852 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.7082, allocations: 180.9 kB / 0.8521 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.7083, allocations: 47.08 kB / 0.8522 GB, free: 9.312 MB / 0.6544 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 ($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.0005908/0.7089, allocations: 293 kB / 0.8525 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.7092, allocations: 124.8 kB / 0.8526 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.713, allocations: 1.361 MB / 0.8539 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.7131, allocations: 8.094 kB / 0.8539 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.7131, allocations: 1.25 kB / 0.8539 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.7131, allocations: 7.984 kB / 0.8539 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.7183, allocations: 2.381 MB / 0.8562 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.7183, allocations: 6.375 kB / 0.8562 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009721/0.7193, allocations: 194.4 kB / 0.8564 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.7193, allocations: 4.125 kB / 0.8564 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-05/0.7194, allocations: 29.44 kB / 0.8565 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.7194, allocations: 3.938 kB / 0.8565 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.7194, allocations: 3.562 kB / 0.8565 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.7242, allocations: 1.973 MB / 0.8584 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.7247, allocations: 282.6 kB / 0.8587 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.725, allocations: 14.12 kB / 0.8587 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.7261, allocations: 108.9 kB / 0.8588 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.7262, allocations: 59.7 kB / 0.8588 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.7263, allocations: 33.78 kB / 0.8589 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001211/0.7275, allocations: 0.7668 MB / 0.8596 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7275, allocations: 0 / 0.8596 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002282/0.7298, allocations: 349.5 kB / 0.86 GB, free: 5 MB / 0.6544 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 (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.002181/0.732, allocations: 0.6501 MB / 0.8606 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003313/0.7353, allocations: 1.12 MB / 0.8617 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.7353, allocations: 0 / 0.8617 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.737, allocations: 0.5756 MB / 0.8622 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.7395, allocations: 477.1 kB / 0.8627 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.7449, allocations: 2.347 MB / 0.865 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007988/0.7458, allocations: 1.108 MB / 0.8661 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001236/0.747, allocations: 250.6 kB / 0.8663 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.7474, allocations: 113.9 kB / 0.8664 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/0.7474, allocations: 0 / 0.8664 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of Templates: time 0.03915/0.7866, allocations: 20.36 MB / 0.8863 GB, free: 1.762 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)