Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8695/0.8695, allocations: 140.1 MB / 156 MB, free: 8.438 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 190.2 kB / 188.5 MB, free: 9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 426.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009569/0.000957, allocations: 98.3 kB / 0.4945 GB, free: 8.07 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001711/0.001711, allocations: 268.9 kB / 0.5728 GB, free: 66.15 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005083, allocations: 16 kB / 0.662 GB, free: 6.742 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.431, allocations: 79.3 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7734/1.204, allocations: 382.4 MB / 1.113 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.205, allocations: 106.8 kB / 1.113 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.987/4.192, allocations: 0.7914 GB / 1.904 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.996e-06/4.192, allocations: 0 / 1.904 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000371/4.192, allocations: 63.97 kB / 1.904 GB, free: 10.74 MB / 0.6823 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.008567/4.201, allocations: 2.545 MB / 1.907 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/4.201, allocations: 8.031 kB / 1.907 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/4.203, allocations: 266 kB / 1.907 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5276/4.73, allocations: 22.78 MB / 1.929 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/4.73, allocations: 106.3 kB / 1.93 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005566/4.731, allocations: 145.4 kB / 1.93 GB, free: 66.58 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/4.735, allocations: 1.499 MB / 1.931 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/4.735, allocations: 0.75 kB / 1.931 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/4.735, allocations: 59.06 kB / 1.931 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/4.735, allocations: 45.44 kB / 1.931 GB, free: 66.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/4.737, allocations: 1.109 MB / 1.932 GB, free: 66.34 MB / 0.6823 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.008158/4.745, allocations: 7.541 MB / 1.94 GB, free: 62.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/4.746, allocations: 0.5072 MB / 1.94 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/4.747, allocations: 355 kB / 1.941 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/4.747, allocations: 1.16 MB / 1.942 GB, free: 60.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/4.747, allocations: 43.47 kB / 1.942 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.254e-06/4.747, allocations: 0 / 1.942 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.00205/4.749, allocations: 1.04 MB / 1.943 GB, free: 60.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/4.749, allocations: 55.62 kB / 1.943 GB, free: 60.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/4.751, allocations: 1.707 MB / 1.944 GB, free: 60.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/4.751, allocations: 43.98 kB / 1.944 GB, free: 60.44 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/4.752, allocations: 0.9391 MB / 1.945 GB, free: 60.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/4.752, allocations: 212.9 kB / 1.946 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/4.752, allocations: 20.78 kB / 1.946 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/4.752, allocations: 345 kB / 1.946 GB, free: 59.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/4.753, allocations: 309.1 kB / 1.946 GB, free: 59.78 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/4.754, allocations: 0.6843 MB / 1.947 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/4.755, allocations: 0.9885 MB / 1.948 GB, free: 58.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/4.755, allocations: 1.688 kB / 1.948 GB, free: 58.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001827/4.757, allocations: 1.124 MB / 1.949 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/4.757, allocations: 11.03 kB / 1.949 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/4.757, allocations: 7.812 kB / 1.949 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/4.757, allocations: 17.88 kB / 1.949 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/4.758, allocations: 224.6 kB / 1.949 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.006e-05/4.758, allocations: 24.97 kB / 1.949 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/4.759, allocations: 240.8 kB / 1.949 GB, free: 58.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/4.759, allocations: 50.42 kB / 1.95 GB, free: 58.8 MB / 0.6823 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 (111): * Single equations (assignments): 111 * 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.0008283/4.76, allocations: 430.8 kB / 1.95 GB, free: 58.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/4.761, allocations: 192.4 kB / 1.95 GB, free: 58.58 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/4.762, allocations: 0.925 MB / 1.951 GB, free: 58.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/4.762, allocations: 11.45 kB / 1.951 GB, free: 58.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/4.762, allocations: 0 / 1.951 GB, free: 58.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/4.763, allocations: 0.8474 MB / 1.952 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/4.767, allocations: 2.493 MB / 1.954 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/4.767, allocations: 2.375 kB / 1.954 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/4.768, allocations: 185.1 kB / 1.954 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/4.768, allocations: 6.5 kB / 1.954 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/4.768, allocations: 17.12 kB / 1.955 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/4.768, allocations: 7.062 kB / 1.955 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/4.768, allocations: 5.312 kB / 1.955 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/4.771, allocations: 1.444 MB / 1.956 GB, free: 57.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009115/4.772, allocations: 391.3 kB / 1.956 GB, free: 57.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/4.772, allocations: 19.86 kB / 1.956 GB, free: 57.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/4.773, allocations: 135.2 kB / 1.956 GB, free: 57.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/4.773, allocations: 45.03 kB / 1.956 GB, free: 57.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/4.773, allocations: 36.95 kB / 1.957 GB, free: 57.28 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001729/4.775, allocations: 1.186 MB / 1.958 GB, free: 57.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.52e-07/4.775, allocations: 0 / 1.958 GB, free: 57.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002472/4.777, allocations: 0.6781 MB / 1.958 GB, free: 57.12 MB / 0.6823 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 (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.001678/4.779, allocations: 0.9602 MB / 1.959 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001431/4.78, allocations: 0.7898 MB / 1.96 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/4.78, allocations: 3.375 kB / 1.96 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/4.781, allocations: 385.5 kB / 1.96 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005668/4.787, allocations: 1.246 MB / 1.962 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/4.791, allocations: 3.7 MB / 1.965 GB, free: 55.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/4.792, allocations: 1.401 MB / 1.967 GB, free: 54.47 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001619/4.794, allocations: 392.8 kB / 1.967 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/4.794, allocations: 146.2 kB / 1.967 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/4.794, allocations: 3.688 kB / 1.967 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.06775/4.862, allocations: 44.39 MB / 2.01 GB, free: 52 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)