Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001323/0.001323, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9579/0.9579, allocations: 130.7 MB / 138.7 MB, free: 3.57 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001194, allocations: 91.7 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.217e-05, allocations: 7.984 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6356/0.6357, allocations: 81.58 MB / 0.6282 GB, free: 42.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8645/1.5, allocations: 387.1 MB / 1.006 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.501, allocations: 90.89 kB / 1.006 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.108/4.608, allocations: 0.8052 GB / 1.812 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/4.608, allocations: 0 / 1.812 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005351/4.609, allocations: 59.98 kB / 1.812 GB, free: 6.555 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.009923/4.619, allocations: 2.167 MB / 1.814 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/4.619, allocations: 8.031 kB / 1.814 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/4.621, allocations: 270.4 kB / 1.814 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7137/5.335, allocations: 24.65 MB / 1.838 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/5.335, allocations: 44.97 kB / 1.838 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/5.335, allocations: 84.17 kB / 1.838 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/5.337, allocations: 0.8635 MB / 1.839 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/5.339, allocations: 1.203 MB / 1.84 GB, free: 65.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/5.339, allocations: 10.47 kB / 1.84 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/5.339, allocations: 0 / 1.84 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/5.339, allocations: 45.02 kB / 1.84 GB, free: 65.89 MB / 0.6823 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.01039/5.35, allocations: 7.252 MB / 1.847 GB, free: 61.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/5.351, allocations: 423.6 kB / 1.848 GB, free: 61.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/5.351, allocations: 269.2 kB / 1.848 GB, free: 61.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007908/5.352, allocations: 1.162 MB / 1.849 GB, free: 60.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/5.352, allocations: 47.03 kB / 1.849 GB, free: 60.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 3.657e-06/5.352, allocations: 0.5938 kB / 1.849 GB, free: 60.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.001596/5.353, allocations: 0.6137 MB / 1.85 GB, free: 60.31 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/5.353, allocations: 59.84 kB / 1.85 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/5.355, allocations: 1.202 MB / 1.851 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.569e-05/5.356, allocations: 28.3 kB / 1.851 GB, free: 60.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007598/5.356, allocations: 0.9491 MB / 1.852 GB, free: 59.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/5.357, allocations: 207.1 kB / 1.852 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/5.357, allocations: 0.9688 kB / 1.852 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/5.357, allocations: 341.8 kB / 1.852 GB, free: 59.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/5.357, allocations: 218.8 kB / 1.853 GB, free: 59.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/5.358, allocations: 0.5795 MB / 1.853 GB, free: 58.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007757/5.358, allocations: 352.1 kB / 1.854 GB, free: 58.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/5.358, allocations: 3.719 kB / 1.854 GB, free: 58.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001828/5.36, allocations: 0.8946 MB / 1.854 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/5.36, allocations: 10.41 kB / 1.854 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/5.36, allocations: 10.06 kB / 1.854 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/5.36, allocations: 19.23 kB / 1.854 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/5.361, allocations: 230.3 kB / 1.855 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/5.361, allocations: 23.36 kB / 1.855 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/5.363, allocations: 168.8 kB / 1.855 GB, free: 58.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/5.363, allocations: 49.11 kB / 1.855 GB, free: 58.77 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 () * 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.0002237/5.363, allocations: 138.3 kB / 1.855 GB, free: 58.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/5.364, allocations: 168.2 kB / 1.855 GB, free: 58.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/5.365, allocations: 0.7321 MB / 1.856 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/5.365, allocations: 6.312 kB / 1.856 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/5.365, allocations: 6.766 kB / 1.856 GB, free: 58.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009334/5.366, allocations: 0.6843 MB / 1.857 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/5.371, allocations: 2.158 MB / 1.859 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/5.371, allocations: 2.094 kB / 1.859 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007604/5.371, allocations: 184 kB / 1.859 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/5.371, allocations: 4.469 kB / 1.859 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/5.371, allocations: 9.734 kB / 1.859 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/5.372, allocations: 4.469 kB / 1.859 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/5.372, allocations: 2.188 kB / 1.859 GB, free: 57.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/5.374, allocations: 1.296 MB / 1.86 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/5.374, allocations: 372.8 kB / 1.861 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/5.375, allocations: 3.844 kB / 1.861 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/5.376, allocations: 109.7 kB / 1.861 GB, free: 57.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/5.376, allocations: 56.92 kB / 1.861 GB, free: 57.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/5.376, allocations: 34.62 kB / 1.861 GB, free: 57.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001364/5.377, allocations: 0.903 MB / 1.862 GB, free: 57.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/5.377, allocations: 3.062 kB / 1.862 GB, free: 57.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002487/5.38, allocations: 0.6915 MB / 1.862 GB, free: 57.06 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 () * 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.001616/5.381, allocations: 0.9713 MB / 1.863 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001087/5.382, allocations: 0.5956 MB / 1.864 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/5.382, allocations: 6.281 kB / 1.864 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/5.383, allocations: 296.5 kB / 1.864 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005114/5.388, allocations: 0.9525 MB / 1.865 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/5.393, allocations: 2.326 MB / 1.867 GB, free: 56.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/5.393, allocations: 1.448 MB / 1.869 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001884/5.395, allocations: 341.8 kB / 1.869 GB, free: 55.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/5.396, allocations: 133.5 kB / 1.869 GB, free: 55.39 MB / 0.6823 GB Notification: Performance of SimCode: time 1.393e-06/5.396, allocations: 0 / 1.869 GB, free: 55.39 MB / 0.6823 GB Notification: Performance of Templates: time 0.05274/5.448, allocations: 32.61 MB / 1.901 GB, free: 53.71 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)