Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002168/0.002168, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7767/0.7767, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 87.77 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.008e-05, allocations: 7.719 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1547, allocations: 82.31 MB / 0.6404 GB, free: 7.816 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/1.544, allocations: 388 MB / 1.019 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.545, allocations: 86.23 kB / 1.019 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.135/4.68, allocations: 0.8099 GB / 1.829 GB, free: 77.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/4.68, allocations: 0 / 1.829 GB, free: 77.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000245/4.68, allocations: 60.42 kB / 1.829 GB, free: 77.12 MB / 0.698 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.00427/4.684, allocations: 2.165 MB / 1.831 GB, free: 76.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/4.684, allocations: 6.438 kB / 1.831 GB, free: 76.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006832/4.685, allocations: 269 kB / 1.832 GB, free: 76.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04572/4.731, allocations: 24.72 MB / 1.856 GB, free: 74.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/4.731, allocations: 106.6 kB / 1.856 GB, free: 74.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/4.731, allocations: 142.6 kB / 1.856 GB, free: 74.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/4.734, allocations: 1.4 MB / 1.857 GB, free: 74.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/4.734, allocations: 8.938 kB / 1.857 GB, free: 74.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/4.734, allocations: 56.88 kB / 1.858 GB, free: 74.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/4.734, allocations: 43 kB / 1.858 GB, free: 74.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/4.735, allocations: 0.9474 MB / 1.859 GB, free: 74.69 MB / 0.698 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.007401/4.743, allocations: 7.568 MB / 1.866 GB, free: 70.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/4.743, allocations: 444.3 kB / 1.866 GB, free: 70.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/4.744, allocations: 290.6 kB / 1.867 GB, free: 70.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007125/4.744, allocations: 1.164 MB / 1.868 GB, free: 69.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/4.744, allocations: 41.28 kB / 1.868 GB, free: 69.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.846e-06/4.744, allocations: 0 / 1.868 GB, free: 69.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.001099/4.746, allocations: 0.6521 MB / 1.868 GB, free: 68.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/4.746, allocations: 58.25 kB / 1.868 GB, free: 68.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/4.747, allocations: 1.526 MB / 1.87 GB, free: 68.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/4.747, allocations: 42.45 kB / 1.87 GB, free: 68.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006119/4.748, allocations: 0.9466 MB / 1.871 GB, free: 68.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/4.748, allocations: 211.6 kB / 1.871 GB, free: 68.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/4.748, allocations: 19.06 kB / 1.871 GB, free: 68.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/4.748, allocations: 345 kB / 1.871 GB, free: 67.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/4.749, allocations: 235.9 kB / 1.872 GB, free: 67.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/4.749, allocations: 0.6017 MB / 1.872 GB, free: 67.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/4.75, allocations: 349.4 kB / 1.873 GB, free: 67.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/4.75, allocations: 3.781 kB / 1.873 GB, free: 67.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001262/4.751, allocations: 0.9827 MB / 1.874 GB, free: 67.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/4.751, allocations: 13.73 kB / 1.874 GB, free: 67.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/4.751, allocations: 13.94 kB / 1.874 GB, free: 67.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/4.751, allocations: 14.44 kB / 1.874 GB, free: 67.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/4.752, allocations: 229.6 kB / 1.874 GB, free: 67.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/4.752, allocations: 24.12 kB / 1.874 GB, free: 67.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/4.753, allocations: 232.5 kB / 1.874 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/4.753, allocations: 53.02 kB / 1.874 GB, free: 67.21 MB / 0.698 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.000156/4.754, allocations: 171.3 kB / 1.874 GB, free: 67.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/4.754, allocations: 193.2 kB / 1.874 GB, free: 67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/4.755, allocations: 0.7921 MB / 1.875 GB, free: 66.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/4.755, allocations: 3.469 kB / 1.875 GB, free: 66.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/4.755, allocations: 3.469 kB / 1.875 GB, free: 66.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006844/4.756, allocations: 0.7112 MB / 1.876 GB, free: 66.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/4.759, allocations: 2.376 MB / 1.878 GB, free: 66.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/4.759, allocations: 0 / 1.878 GB, free: 66.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/4.759, allocations: 180.1 kB / 1.878 GB, free: 66.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/4.759, allocations: 6.375 kB / 1.878 GB, free: 66.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/4.759, allocations: 19.48 kB / 1.878 GB, free: 66.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/4.759, allocations: 6.812 kB / 1.878 GB, free: 66.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/4.76, allocations: 1.969 kB / 1.878 GB, free: 66.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/4.761, allocations: 1.395 MB / 1.88 GB, free: 65.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/4.762, allocations: 399.8 kB / 1.88 GB, free: 65.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/4.762, allocations: 22.55 kB / 1.88 GB, free: 65.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/4.763, allocations: 128.6 kB / 1.88 GB, free: 65.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/4.763, allocations: 56.12 kB / 1.88 GB, free: 65.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/4.763, allocations: 36.92 kB / 1.88 GB, free: 65.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00152/4.765, allocations: 1.205 MB / 1.882 GB, free: 65.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.765, allocations: 0 / 1.882 GB, free: 65.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002019/4.767, allocations: 0.7005 MB / 1.882 GB, free: 65.21 MB / 0.698 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.001543/4.768, allocations: 0.9507 MB / 1.883 GB, free: 64.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001029/4.769, allocations: 0.6535 MB / 1.884 GB, free: 64.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/4.769, allocations: 3.406 kB / 1.884 GB, free: 64.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/4.77, allocations: 318.1 kB / 1.884 GB, free: 64.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00598/4.776, allocations: 1.238 MB / 1.885 GB, free: 64.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/4.781, allocations: 2.414 MB / 1.888 GB, free: 64.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/4.782, allocations: 1.449 MB / 1.889 GB, free: 63.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002697/4.785, allocations: 389.6 kB / 1.89 GB, free: 63.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/4.786, allocations: 153 kB / 1.89 GB, free: 63.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.615e-06/4.786, allocations: 3.125 kB / 1.89 GB, free: 63.45 MB / 0.698 GB Notification: Performance of Templates: time 0.07353/4.859, allocations: 44.48 MB / 1.933 GB, free: 60.61 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)