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.001187/0.001188, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4912/0.4912, allocations: 90.91 MB / 99.34 MB, free: 2.188 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009687/0.0009687, allocations: 95.89 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.774e-05, allocations: 7.516 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1589, allocations: 72.31 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.321, allocations: 377.7 MB / 0.9223 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.321, allocations: 88.95 kB / 0.9224 GB, free: 103.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.01/4.331, allocations: 0.8089 GB / 1.731 GB, free: 60.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/4.331, allocations: 0 / 1.731 GB, free: 60.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002273/4.332, allocations: 60.94 kB / 1.731 GB, free: 60.25 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.004247/4.336, allocations: 2.166 MB / 1.733 GB, free: 59.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/4.336, allocations: 8.656 kB / 1.733 GB, free: 59.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/4.337, allocations: 269.2 kB / 1.734 GB, free: 59.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04786/4.385, allocations: 24.65 MB / 1.758 GB, free: 58.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/4.385, allocations: 43.31 kB / 1.758 GB, free: 58.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/4.385, allocations: 83.78 kB / 1.758 GB, free: 58.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002015/4.387, allocations: 0.8664 MB / 1.759 GB, free: 58.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/4.39, allocations: 1.194 MB / 1.76 GB, free: 58.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/4.39, allocations: 5.703 kB / 1.76 GB, free: 58.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/4.39, allocations: 11.08 kB / 1.76 GB, free: 58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/4.39, allocations: 42.38 kB / 1.76 GB, free: 58 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.006567/4.396, allocations: 7.267 MB / 1.767 GB, free: 53.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/4.397, allocations: 421.8 kB / 1.767 GB, free: 53.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/4.397, allocations: 269.8 kB / 1.768 GB, free: 53.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/4.398, allocations: 1.162 MB / 1.769 GB, free: 52.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/4.398, allocations: 43.22 kB / 1.769 GB, free: 52.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.845e-06/4.398, allocations: 0 / 1.769 GB, free: 52.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.001142/4.399, allocations: 0.6099 MB / 1.77 GB, free: 52.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/4.399, allocations: 62.5 kB / 1.77 GB, free: 52.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/4.4, allocations: 1.2 MB / 1.771 GB, free: 52.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/4.4, allocations: 28.89 kB / 1.771 GB, free: 52.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/4.401, allocations: 0.9501 MB / 1.772 GB, free: 51.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/4.401, allocations: 204 kB / 1.772 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/4.401, allocations: 4.281 kB / 1.772 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/4.401, allocations: 343.7 kB / 1.772 GB, free: 51.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/4.401, allocations: 215 kB / 1.772 GB, free: 51.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/4.402, allocations: 0.5811 MB / 1.773 GB, free: 50.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/4.402, allocations: 349.1 kB / 1.773 GB, free: 50.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/4.402, allocations: 2.469 kB / 1.773 GB, free: 50.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001228/4.404, allocations: 0.8913 MB / 1.774 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/4.404, allocations: 15.97 kB / 1.774 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/4.404, allocations: 7.938 kB / 1.774 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/4.404, allocations: 19.59 kB / 1.774 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/4.404, allocations: 232.1 kB / 1.774 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/4.404, allocations: 22.91 kB / 1.775 GB, free: 50.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/4.406, allocations: 162.1 kB / 1.775 GB, free: 50.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/4.406, allocations: 52.19 kB / 1.775 GB, free: 50.7 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.0001347/4.406, allocations: 138.1 kB / 1.775 GB, free: 50.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/4.406, allocations: 171.8 kB / 1.775 GB, free: 50.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/4.407, allocations: 0.7235 MB / 1.776 GB, free: 50.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/4.407, allocations: 12.78 kB / 1.776 GB, free: 50.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/4.407, allocations: 3.703 kB / 1.776 GB, free: 50.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000776/4.408, allocations: 0.6782 MB / 1.776 GB, free: 50.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/4.411, allocations: 2.167 MB / 1.779 GB, free: 49.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/4.411, allocations: 0 / 1.779 GB, free: 49.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/4.412, allocations: 183.6 kB / 1.779 GB, free: 49.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/4.412, allocations: 2.875 kB / 1.779 GB, free: 49.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/4.412, allocations: 12.81 kB / 1.779 GB, free: 49.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/4.412, allocations: 3.531 kB / 1.779 GB, free: 49.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/4.412, allocations: 4.312 kB / 1.779 GB, free: 49.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/4.413, allocations: 1.3 MB / 1.78 GB, free: 49.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/4.414, allocations: 363.6 kB / 1.78 GB, free: 49.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/4.414, allocations: 7.609 kB / 1.78 GB, free: 49.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009413/4.415, allocations: 119.7 kB / 1.78 GB, free: 49.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/4.415, allocations: 51.09 kB / 1.78 GB, free: 49.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/4.415, allocations: 39.69 kB / 1.781 GB, free: 49.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001001/4.416, allocations: 0.9043 MB / 1.781 GB, free: 48.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/4.416, allocations: 0 / 1.781 GB, free: 48.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002167/4.418, allocations: 0.6919 MB / 1.782 GB, free: 48.87 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.001439/4.42, allocations: 0.962 MB / 1.783 GB, free: 48.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007864/4.421, allocations: 0.6 MB / 1.784 GB, free: 48.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/4.421, allocations: 0 / 1.784 GB, free: 48.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/4.421, allocations: 302.8 kB / 1.784 GB, free: 48.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/4.425, allocations: 0.9492 MB / 1.785 GB, free: 48.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/4.429, allocations: 2.325 MB / 1.787 GB, free: 47.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/4.429, allocations: 1.45 MB / 1.789 GB, free: 47.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001188/4.431, allocations: 337.4 kB / 1.789 GB, free: 47.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/4.431, allocations: 137.1 kB / 1.789 GB, free: 47.11 MB / 0.6198 GB Notification: Performance of SimCode: time 8.32e-07/4.431, allocations: 0 / 1.789 GB, free: 47.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.04597/4.477, allocations: 32.61 MB / 1.821 GB, free: 45.16 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)