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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008467, allocations: 102.5 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8245/0.8245, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 82.32 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2816/0.4251, allocations: 64.39 MB / 0.6501 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.4419, allocations: 16.21 MB / 0.6659 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002334/0.4442, allocations: 93.47 kB / 0.666 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.4467, allocations: 1.183 MB / 0.6672 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.4544, allocations: 3.523 MB / 0.6706 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006098/0.4605, allocations: 2.298 MB / 0.6728 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006261/0.4668, allocations: 3.86 MB / 0.6766 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.4689, allocations: 1.47 MB / 0.678 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002959/0.4718, allocations: 1.643 MB / 0.6797 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.4733, allocations: 1.085 MB / 0.6807 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.4735, allocations: 73.41 kB / 0.6808 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.4764, allocations: 1.011 MB / 0.6818 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.4768, allocations: 374.7 kB / 0.6821 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.4773, allocations: 0.4885 MB / 0.6826 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.4803, allocations: 2.642 MB / 0.6852 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4803, allocations: 3.938 kB / 0.6852 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4803, allocations: 0 / 0.6852 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.4803, allocations: 1.562 kB / 0.6852 GB, free: 9.859 MB / 0.5137 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.003953/0.4843, allocations: 2.311 MB / 0.6874 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.4843, allocations: 9.828 kB / 0.6875 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/0.4849, allocations: 266 kB / 0.6877 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.488, allocations: 1.79 MB / 0.6895 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.4881, allocations: 107.3 kB / 0.6896 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.4883, allocations: 143.4 kB / 0.6897 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.4909, allocations: 1.511 MB / 0.6912 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.491, allocations: 9.156 kB / 0.6912 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.4911, allocations: 59.02 kB / 0.6912 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.4912, allocations: 41.95 kB / 0.6913 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.4936, allocations: 1.158 MB / 0.6924 GB, free: 6.039 MB / 0.5137 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.007822/0.5014, allocations: 7.651 MB / 0.6999 GB, free: 220 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/0.5023, allocations: 492.6 kB / 0.7004 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/0.5032, allocations: 1.157 MB / 0.7015 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.5032, allocations: 39.38 kB / 0.7015 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.655e-06/0.5032, allocations: 1.375 kB / 0.7015 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.002352/0.5056, allocations: 1.028 MB / 0.7025 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.5056, allocations: 57.28 kB / 0.7026 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.508, allocations: 1.828 MB / 0.7044 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.508, allocations: 43.33 kB / 0.7044 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006902/0.5087, allocations: 0.9266 MB / 0.7053 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.5089, allocations: 226 kB / 0.7055 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.509, allocations: 24.53 kB / 0.7055 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5091, allocations: 352.1 kB / 0.7059 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.5098, allocations: 348 kB / 0.7062 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/0.5108, allocations: 0.6932 MB / 0.7069 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.5116, allocations: 466.9 kB / 0.7073 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5116, allocations: 2.375 kB / 0.7073 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002093/0.5137, allocations: 1.251 MB / 0.7086 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.5138, allocations: 8.656 kB / 0.7086 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5138, allocations: 11.77 kB / 0.7086 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.646e-05/0.5138, allocations: 21.77 kB / 0.7086 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5149, allocations: 320.4 kB / 0.7089 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.515, allocations: 22.98 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.5167, allocations: 255.6 kB / 0.7092 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.5168, allocations: 48.78 kB / 0.7092 GB, free: 9.922 MB / 0.5294 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 (135): * Single equations (assignments): 135 * 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.0007282/0.5176, allocations: 443.3 kB / 0.7096 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.5178, allocations: 191.5 kB / 0.7098 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.5194, allocations: 0.9053 MB / 0.7107 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.5194, allocations: 9.234 kB / 0.7107 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.5195, allocations: 3.953 kB / 0.7107 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/0.5208, allocations: 0.8326 MB / 0.7115 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.5247, allocations: 2.512 MB / 0.714 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5247, allocations: 5.484 kB / 0.714 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000743/0.5255, allocations: 207.6 kB / 0.7142 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5255, allocations: 8.984 kB / 0.7142 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.5256, allocations: 14.47 kB / 0.7142 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5256, allocations: 7.406 kB / 0.7142 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5256, allocations: 0 / 0.7142 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.5277, allocations: 1.553 MB / 0.7157 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006373/0.5284, allocations: 426.2 kB / 0.7161 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.5286, allocations: 15.12 kB / 0.7162 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.5296, allocations: 119.1 kB / 0.7163 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.5297, allocations: 56.08 kB / 0.7163 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/0.5298, allocations: 33.81 kB / 0.7164 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001497/0.5313, allocations: 1.277 MB / 0.7176 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5313, allocations: 0 / 0.7176 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001642/0.5329, allocations: 0.6606 MB / 0.7182 GB, free: 4.316 MB / 0.5294 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.0009086/0.5339, allocations: 0.6006 MB / 0.7188 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.5354, allocations: 0.8544 MB / 0.7197 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5354, allocations: 0 / 0.7197 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006606/0.536, allocations: 375.6 kB / 0.72 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/0.5408, allocations: 1.185 MB / 0.7212 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.5452, allocations: 3.692 MB / 0.7248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008919/0.5462, allocations: 1.444 MB / 0.7262 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001258/0.5474, allocations: 392.6 kB / 0.7266 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.5477, allocations: 151.4 kB / 0.7267 GB, free: 11.95 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.5477, allocations: 0 / 0.7267 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Templates: time 0.06066/0.6084, allocations: 39.87 MB / 0.7657 GB, free: 4.547 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: