Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4753/0.4753, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.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: 221.3 MB / 348.3 MB, free: 424 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.000986, allocations: 107.4 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.278e-05, allocations: 4 kB / 0.4896 GB, free: 5.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3829, allocations: 72.3 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6887/1.072, allocations: 378.3 MB / 0.9297 GB, free: 4.262 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/1.072, allocations: 90.27 kB / 0.9298 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.931/4.003, allocations: 0.8136 GB / 1.743 GB, free: 62.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/4.003, allocations: 0 / 1.743 GB, free: 62.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003569/4.003, allocations: 59.17 kB / 1.743 GB, free: 62.63 MB / 0.6198 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.005821/4.009, allocations: 2.172 MB / 1.746 GB, free: 61.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/4.009, allocations: 12.89 kB / 1.746 GB, free: 61.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/4.011, allocations: 265.4 kB / 1.746 GB, free: 61.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04887/4.06, allocations: 24.72 MB / 1.77 GB, free: 60.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/4.06, allocations: 102.8 kB / 1.77 GB, free: 60.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005661/4.06, allocations: 146.6 kB / 1.77 GB, free: 60.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/4.064, allocations: 1.394 MB / 1.772 GB, free: 60.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/4.064, allocations: 3.234 kB / 1.772 GB, free: 60.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/4.064, allocations: 57.75 kB / 1.772 GB, free: 60.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/4.064, allocations: 44.08 kB / 1.772 GB, free: 60.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/4.066, allocations: 0.9553 MB / 1.773 GB, free: 60.01 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.008429/4.075, allocations: 7.562 MB / 1.78 GB, free: 55.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/4.075, allocations: 454.1 kB / 1.78 GB, free: 55.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/4.076, allocations: 287.7 kB / 1.781 GB, free: 55.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/4.076, allocations: 1.157 MB / 1.782 GB, free: 54.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/4.076, allocations: 47.06 kB / 1.782 GB, free: 54.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 3.256e-06/4.076, allocations: 0 / 1.782 GB, free: 54.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.00117/4.078, allocations: 0.6447 MB / 1.782 GB, free: 54.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/4.078, allocations: 59.84 kB / 1.783 GB, free: 54.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/4.079, allocations: 1.525 MB / 1.784 GB, free: 53.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/4.079, allocations: 43.98 kB / 1.784 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000532/4.08, allocations: 0.9486 MB / 1.785 GB, free: 53.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/4.08, allocations: 221.1 kB / 1.785 GB, free: 53.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/4.08, allocations: 15.66 kB / 1.785 GB, free: 53.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.194e-05/4.08, allocations: 342.8 kB / 1.786 GB, free: 53.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/4.08, allocations: 232.5 kB / 1.786 GB, free: 53.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/4.081, allocations: 0.6084 MB / 1.786 GB, free: 52.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/4.081, allocations: 348.6 kB / 1.787 GB, free: 52.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/4.081, allocations: 3.656 kB / 1.787 GB, free: 52.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001243/4.083, allocations: 0.981 MB / 1.788 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/4.083, allocations: 13.75 kB / 1.788 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/4.083, allocations: 10.94 kB / 1.788 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/4.083, allocations: 15.81 kB / 1.788 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/4.083, allocations: 226.7 kB / 1.788 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/4.083, allocations: 24.94 kB / 1.788 GB, free: 52.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/4.085, allocations: 239.2 kB / 1.788 GB, free: 52.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/4.085, allocations: 50.89 kB / 1.788 GB, free: 52.53 MB / 0.6198 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 () * 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.0001655/4.085, allocations: 168.7 kB / 1.788 GB, free: 52.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/4.085, allocations: 192.5 kB / 1.789 GB, free: 52.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/4.087, allocations: 0.7866 MB / 1.789 GB, free: 52.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/4.087, allocations: 7.594 kB / 1.789 GB, free: 52.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/4.087, allocations: 0 / 1.789 GB, free: 52.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006661/4.087, allocations: 0.7097 MB / 1.79 GB, free: 51.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/4.09, allocations: 2.386 MB / 1.792 GB, free: 51.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/4.09, allocations: 0 / 1.792 GB, free: 51.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/4.091, allocations: 183.6 kB / 1.792 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/4.091, allocations: 6.531 kB / 1.793 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/4.091, allocations: 20.62 kB / 1.793 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/4.091, allocations: 3.812 kB / 1.793 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/4.091, allocations: 7.797 kB / 1.793 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/4.092, allocations: 1.385 MB / 1.794 GB, free: 50.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006606/4.093, allocations: 411.8 kB / 1.794 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/4.093, allocations: 10.84 kB / 1.794 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/4.094, allocations: 130.8 kB / 1.794 GB, free: 50.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/4.094, allocations: 48.31 kB / 1.794 GB, free: 50.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/4.095, allocations: 36.53 kB / 1.794 GB, free: 50.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001394/4.096, allocations: 1.208 MB / 1.796 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/4.096, allocations: 0 / 1.796 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001723/4.098, allocations: 0.6927 MB / 1.796 GB, free: 50.48 MB / 0.6198 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 () * 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.001263/4.099, allocations: 0.9547 MB / 1.797 GB, free: 50.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009399/4.1, allocations: 0.6491 MB / 1.798 GB, free: 50.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/4.1, allocations: 3.062 kB / 1.798 GB, free: 50.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/4.1, allocations: 323.4 kB / 1.798 GB, free: 50.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/4.106, allocations: 1.239 MB / 1.799 GB, free: 50.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/4.109, allocations: 2.413 MB / 1.802 GB, free: 49.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/4.11, allocations: 1.449 MB / 1.803 GB, free: 48.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001662/4.112, allocations: 391.5 kB / 1.804 GB, free: 48.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/4.112, allocations: 149.5 kB / 1.804 GB, free: 48.41 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/4.112, allocations: 0 / 1.804 GB, free: 48.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.0613/4.173, allocations: 44.49 MB / 1.847 GB, free: 21.35 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)