Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001255, allocations: 108.2 kB / 16.37 MB, free: 5.996 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.00139/0.001391, allocations: 191.4 kB / 17.31 MB, free: 5.605 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.496/1.496, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001618/0.001618, allocations: 68.11 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2426, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.5277/0.7703, allocations: 77.15 MB / 0.8601 GB, free: 13.33 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03076/0.8011, allocations: 18.71 MB / 0.8784 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006389/0.8076, allocations: 104.6 kB / 0.8785 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005056/0.8127, allocations: 1.251 MB / 0.8797 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.013/0.8258, allocations: 3.606 MB / 0.8832 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007442/0.8332, allocations: 2.112 MB / 0.8853 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01341/0.8467, allocations: 6.658 MB / 0.8918 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004393/0.8511, allocations: 2.081 MB / 0.8938 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007432/0.8586, allocations: 2.326 MB / 0.8961 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004838/0.8634, allocations: 1.759 MB / 0.8978 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008325/0.8643, allocations: 204.8 kB / 0.898 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006849/0.8712, allocations: 1.621 MB / 0.8996 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.8725, allocations: 0.5317 MB / 0.9001 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003576/0.8761, allocations: 1.245 MB / 0.9013 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008908/0.885, allocations: 3.733 MB / 0.905 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.8851, allocations: 3.938 kB / 0.905 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8851, allocations: 1.375 kB / 0.905 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001102/0.8852, allocations: 0 / 0.905 GB, free: 14.4 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006652/0.8919, allocations: 2.703 MB / 0.9076 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8919, allocations: 9.375 kB / 0.9076 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.893, allocations: 267 kB / 0.9079 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/0.8971, allocations: 1.994 MB / 0.9098 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.8972, allocations: 106.7 kB / 0.9099 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.8974, allocations: 144 kB / 0.9101 GB, free: 10 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/0.9002, allocations: 1.516 MB / 0.9116 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.9003, allocations: 7.938 kB / 0.9116 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.9004, allocations: 59.98 kB / 0.9116 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-05/0.9005, allocations: 47.98 kB / 0.9117 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.9027, allocations: 1.122 MB / 0.9128 GB, free: 7.168 MB / 0.7012 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.009851/0.9126, allocations: 7.59 MB / 0.9202 GB, free: 15 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.9137, allocations: 482.2 kB / 0.9206 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006475/0.9143, allocations: 330.9 kB / 0.9209 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009628/0.9153, allocations: 1.152 MB / 0.9221 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.9153, allocations: 47.12 kB / 0.9221 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.716e-06/0.9154, allocations: 0 / 0.9221 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002556/0.9179, allocations: 0.9652 MB / 0.9231 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.918, allocations: 59.97 kB / 0.9231 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.9205, allocations: 1.766 MB / 0.9248 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.9207, allocations: 37.7 kB / 0.9249 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008473/0.9215, allocations: 0.9276 MB / 0.9258 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.9218, allocations: 220.9 kB / 0.926 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.9222, allocations: 230.7 kB / 0.9262 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.9223, allocations: 353.9 kB / 0.9266 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/0.923, allocations: 322.4 kB / 0.9269 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.9241, allocations: 0.6938 MB / 0.9275 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.9258, allocations: 1.01 MB / 0.9285 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.9259, allocations: 0 / 0.9285 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002643/0.9285, allocations: 1.222 MB / 0.9297 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.9286, allocations: 12 kB / 0.9297 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.9286, allocations: 8 kB / 0.9297 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.9286, allocations: 16 kB / 0.9298 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.9297, allocations: 283.8 kB / 0.93 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.9297, allocations: 27.88 kB / 0.9301 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.9314, allocations: 166.4 kB / 0.9302 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.9315, allocations: 51.98 kB / 0.9303 GB, free: 4.008 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0008837/0.9324, allocations: 437.4 kB / 0.9307 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/0.9329, allocations: 189.7 kB / 0.9309 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.9347, allocations: 0.8591 MB / 0.9317 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.9348, allocations: 8 kB / 0.9317 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9348, allocations: 4 kB / 0.9317 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/0.9361, allocations: 0.7994 MB / 0.9325 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/0.9406, allocations: 2.449 MB / 0.9349 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.9407, allocations: 3.938 kB / 0.9349 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.9414, allocations: 180 kB / 0.9351 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.9415, allocations: 7.984 kB / 0.9351 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.9415, allocations: 20 kB / 0.9351 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/0.9415, allocations: 4 kB / 0.9351 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9415, allocations: 4 kB / 0.9351 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.944, allocations: 1.332 MB / 0.9364 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008145/0.9449, allocations: 366.4 kB / 0.9367 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.9451, allocations: 20 kB / 0.9368 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.9461, allocations: 59.92 kB / 0.9368 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.9462, allocations: 52.42 kB / 0.9369 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.9463, allocations: 35.98 kB / 0.9369 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00172/0.948, allocations: 1.227 MB / 0.9381 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.948, allocations: 0 / 0.9381 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002044/0.9501, allocations: 0.6668 MB / 0.9388 GB, free: 11.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * 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.0013/0.9514, allocations: 0.6059 MB / 0.9393 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.9532, allocations: 0.8192 MB / 0.9401 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9532, allocations: 5.312 kB / 0.9401 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/0.9539, allocations: 359.4 kB / 0.9405 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/0.9592, allocations: 1.201 MB / 0.9417 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.9641, allocations: 3.068 MB / 0.9447 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/0.965, allocations: 1.384 MB / 0.946 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.9654, allocations: 155.4 kB / 0.9462 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.102e-06/0.9655, allocations: 4 kB / 0.9462 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of Templates: time 0.05702/1.022, allocations: 34.72 MB / 0.9801 GB, free: 1.121 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)