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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008509/0.0008509, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009318/0.0009318, allocations: 177.3 kB / 15.95 MB, free: 216 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.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8337/0.8337, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 8 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, 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.2877/0.4281, allocations: 64.39 MB / 0.6501 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.4454, allocations: 16.22 MB / 0.6659 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.448, allocations: 93.25 kB / 0.666 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002829/0.4509, allocations: 1.176 MB / 0.6672 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00875/0.4596, allocations: 3.522 MB / 0.6706 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006712/0.4664, allocations: 2.295 MB / 0.6728 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008068/0.4744, allocations: 3.867 MB / 0.6766 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.4776, allocations: 1.47 MB / 0.6781 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004223/0.4818, allocations: 1.644 MB / 0.6797 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.4848, allocations: 1.08 MB / 0.6807 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.4851, allocations: 78.64 kB / 0.6808 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.4887, allocations: 1.01 MB / 0.6818 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005421/0.4892, allocations: 374.8 kB / 0.6821 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009313/0.4902, allocations: 495 kB / 0.6826 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004059/0.4942, allocations: 2.646 MB / 0.6852 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4942, allocations: 1.312 kB / 0.6852 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4942, allocations: 0 / 0.6852 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.657e-05/0.4943, allocations: 4 kB / 0.6852 GB, free: 9.848 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.004404/0.4987, allocations: 2.314 MB / 0.6875 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4988, allocations: 8.656 kB / 0.6875 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007033/0.4995, allocations: 265.5 kB / 0.6877 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.5028, allocations: 1.788 MB / 0.6895 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.5028, allocations: 110.6 kB / 0.6896 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.503, allocations: 138.5 kB / 0.6897 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002703/0.5058, allocations: 1.518 MB / 0.6912 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.5058, allocations: 5.703 kB / 0.6912 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.5059, allocations: 58.12 kB / 0.6912 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.506, allocations: 37.83 kB / 0.6913 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.5081, allocations: 1.158 MB / 0.6924 GB, free: 6.031 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.007771/0.5159, allocations: 7.652 MB / 0.6999 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/0.5168, allocations: 493 kB / 0.7004 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007965/0.5176, allocations: 1.152 MB / 0.7015 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.5177, allocations: 39.22 kB / 0.7015 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.034e-06/0.5177, allocations: 4 kB / 0.7015 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.002079/0.5198, allocations: 1.025 MB / 0.7025 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.5198, allocations: 62.34 kB / 0.7026 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.5221, allocations: 1.827 MB / 0.7044 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.5221, allocations: 44.08 kB / 0.7044 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007229/0.5229, allocations: 0.9379 MB / 0.7053 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.5231, allocations: 217.3 kB / 0.7055 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.5231, allocations: 25.47 kB / 0.7056 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5233, allocations: 342.8 kB / 0.7059 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.524, allocations: 348.4 kB / 0.7062 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/0.5249, allocations: 0.7096 MB / 0.7069 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.5257, allocations: 458.3 kB / 0.7073 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.5257, allocations: 2.938 kB / 0.7073 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002139/0.5279, allocations: 1.251 MB / 0.7086 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5279, allocations: 8.875 kB / 0.7086 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.5279, allocations: 10.66 kB / 0.7086 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.5279, allocations: 20.33 kB / 0.7086 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.529, allocations: 313.9 kB / 0.7089 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.529, allocations: 26.42 kB / 0.7089 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.5306, allocations: 255.8 kB / 0.7092 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.5307, allocations: 53.08 kB / 0.7092 GB, free: 9.895 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.000874/0.5316, allocations: 439 kB / 0.7096 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.5319, allocations: 192.2 kB / 0.7098 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.5335, allocations: 0.9088 MB / 0.7107 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.5335, allocations: 5.25 kB / 0.7107 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5335, allocations: 3.953 kB / 0.7107 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/0.5348, allocations: 0.8329 MB / 0.7115 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/0.539, allocations: 2.519 MB / 0.714 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.539, allocations: 2.656 kB / 0.714 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.5398, allocations: 206.7 kB / 0.7142 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.5398, allocations: 4.25 kB / 0.7142 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.5398, allocations: 15.16 kB / 0.7142 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.5398, allocations: 8.531 kB / 0.7142 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5398, allocations: 2.688 kB / 0.7142 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.542, allocations: 1.547 MB / 0.7157 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008142/0.5428, allocations: 430.6 kB / 0.7161 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.543, allocations: 18.56 kB / 0.7162 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5441, allocations: 119.2 kB / 0.7163 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.5442, allocations: 58.59 kB / 0.7163 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.5442, allocations: 37.23 kB / 0.7164 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001774/0.546, allocations: 1.272 MB / 0.7176 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.546, allocations: 0 / 0.7176 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002028/0.5481, allocations: 0.6601 MB / 0.7183 GB, free: 4.293 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.0009997/0.5491, allocations: 0.6036 MB / 0.7188 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.5507, allocations: 0.8438 MB / 0.7197 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5507, allocations: 1 kB / 0.7197 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006849/0.5514, allocations: 383.4 kB / 0.72 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/0.5566, allocations: 1.187 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.004637/0.5613, allocations: 3.68 MB / 0.7248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/0.5622, allocations: 1.452 MB / 0.7262 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001457/0.5636, allocations: 383.8 kB / 0.7266 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.5639, allocations: 151.4 kB / 0.7267 GB, free: 11.96 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.5639, allocations: 0 / 0.7267 GB, free: 11.96 MB / 0.545 GB Notification: Performance of Templates: time 0.0585/0.6224, allocations: 39.87 MB / 0.7656 GB, free: 4.562 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: