Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007294/0.0007294, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008249/0.000825, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.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.61/1.61, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005088/0.0005088, allocations: 17.62 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03635/0.2475, allocations: 38.32 MB / 0.8247 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.2604, allocations: 9.651 MB / 0.8341 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.2617, allocations: 47.69 kB / 0.8342 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.2629, allocations: 461 kB / 0.8346 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.2664, allocations: 1.473 MB / 0.8361 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.2687, allocations: 0.8688 MB / 0.8369 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004201/0.2729, allocations: 3.838 MB / 0.8406 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.274, allocations: 0.738 MB / 0.8414 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.2757, allocations: 0.9994 MB / 0.8423 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009642/0.2767, allocations: 0.801 MB / 0.8431 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.691e-05/0.2768, allocations: 44 kB / 0.8432 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.2782, allocations: 490.8 kB / 0.8436 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.2784, allocations: 199.1 kB / 0.8438 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.2786, allocations: 261.1 kB / 0.8441 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.28, allocations: 1.364 MB / 0.8454 GB, free: 240 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.28, allocations: 4 kB / 0.8454 GB, free: 236 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.215e-06/0.28, allocations: 0 / 0.8454 GB, free: 236 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.28, allocations: 0 / 0.8454 GB, free: 236 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001958/0.282, allocations: 1.308 MB / 0.8467 GB, free: 14.87 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.282, allocations: 8.031 kB / 0.8467 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.2824, allocations: 142.5 kB / 0.8468 GB, free: 14.72 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.2839, allocations: 1.018 MB / 0.8478 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.284, allocations: 57.95 kB / 0.8479 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.2841, allocations: 68 kB / 0.8479 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.2853, allocations: 0.8061 MB / 0.8487 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2854, allocations: 7.906 kB / 0.8487 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/0.2854, allocations: 35.98 kB / 0.8488 GB, free: 12.65 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.2855, allocations: 19.94 kB / 0.8488 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.2865, allocations: 0.5867 MB / 0.8494 GB, free: 12.04 MB / 0.67 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.003476/0.29, allocations: 3.536 MB / 0.8528 GB, free: 8.277 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.2905, allocations: 284.9 kB / 0.8531 GB, free: 7.992 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.2908, allocations: 184.8 kB / 0.8533 GB, free: 7.809 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004588/0.2913, allocations: 0.6649 MB / 0.8539 GB, free: 6.996 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.2913, allocations: 34.56 kB / 0.854 GB, free: 6.953 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.2913, allocations: 3.938 kB / 0.854 GB, free: 6.949 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001041/0.2924, allocations: 0.5496 MB / 0.8545 GB, free: 6.395 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2924, allocations: 59.39 kB / 0.8545 GB, free: 6.324 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.2935, allocations: 0.9137 MB / 0.8554 GB, free: 5.391 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.2935, allocations: 33.7 kB / 0.8555 GB, free: 5.352 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.2939, allocations: 491.6 kB / 0.8559 GB, free: 4.863 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.294, allocations: 114.4 kB / 0.856 GB, free: 4.75 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.294, allocations: 12 kB / 0.8561 GB, free: 4.738 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2941, allocations: 329.9 kB / 0.8564 GB, free: 4.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.2944, allocations: 173 kB / 0.8565 GB, free: 4.242 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.2949, allocations: 363.5 kB / 0.8569 GB, free: 3.809 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.2953, allocations: 239.8 kB / 0.8571 GB, free: 3.574 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2953, allocations: 0 / 0.8571 GB, free: 3.574 MB / 0.67 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009964/0.2963, allocations: 0.629 MB / 0.8577 GB, free: 2.938 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2963, allocations: 4 kB / 0.8577 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2963, allocations: 11.98 kB / 0.8577 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2964, allocations: 8 kB / 0.8578 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.2968, allocations: 132.2 kB / 0.8579 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.2968, allocations: 11.98 kB / 0.8579 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.2974, allocations: 107.2 kB / 0.858 GB, free: 2.668 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.2975, allocations: 27.98 kB / 0.858 GB, free: 2.641 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0003124/0.2978, allocations: 281.5 kB / 0.8583 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2979, allocations: 98.78 kB / 0.8584 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008863/0.2988, allocations: 0.5001 MB / 0.8589 GB, free: 1.754 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2988, allocations: 0 / 0.8589 GB, free: 1.754 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2988, allocations: 4 kB / 0.8589 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006611/0.2995, allocations: 472.8 kB / 0.8593 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3013, allocations: 1.378 MB / 0.8607 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3013, allocations: 0 / 0.8607 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.3016, allocations: 79.88 kB / 0.8607 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.3017, allocations: 4 kB / 0.8608 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.3017, allocations: 12 kB / 0.8608 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3017, allocations: 11.89 kB / 0.8608 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3017, allocations: 0 / 0.8608 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3028, allocations: 0.793 MB / 0.8615 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.3031, allocations: 247.5 kB / 0.8618 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3032, allocations: 8 kB / 0.8618 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/0.3037, allocations: 55.91 kB / 0.8618 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.3038, allocations: 31.86 kB / 0.8619 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.3039, allocations: 19.98 kB / 0.8619 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00073/0.3046, allocations: 0.6352 MB / 0.8625 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3046, allocations: 4 kB / 0.8625 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008481/0.3055, allocations: 327.4 kB / 0.8628 GB, free: 13.54 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0006034/0.3061, allocations: 360.6 kB / 0.8632 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008051/0.3069, allocations: 444.4 kB / 0.8636 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3069, allocations: 4 kB / 0.8636 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.3073, allocations: 204.5 kB / 0.8638 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.3097, allocations: 0.6044 MB / 0.8644 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.3121, allocations: 1.942 MB / 0.8663 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.3127, allocations: 1.032 MB / 0.8673 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006256/0.3133, allocations: 202.8 kB / 0.8675 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3135, allocations: 79.42 kB / 0.8676 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of SimCode: time 3.41e-07/0.3135, allocations: 0 / 0.8676 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of Templates: time 0.03031/0.3438, allocations: 19.58 MB / 0.8867 GB, free: 5.32 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: