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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000825/0.0008251, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009152/0.0009153, allocations: 174.8 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7073/0.7073, allocations: 115.5 MB / 407.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002907, allocations: 12.75 kB / 495.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 77.53 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3226/0.4531, allocations: 71.12 MB / 0.6288 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02488/0.478, allocations: 17.71 MB / 0.6461 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00344/0.4815, allocations: 98.25 kB / 0.6462 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.4842, allocations: 0.8748 MB / 0.647 GB, free: 9.457 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00897/0.4932, allocations: 2.841 MB / 0.6498 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.4976, allocations: 1.496 MB / 0.6513 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00888/0.5065, allocations: 7.583 MB / 0.6587 GB, free: 1.504 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.509, allocations: 1.454 MB / 0.6601 GB, free: 28 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.5128, allocations: 1.866 MB / 0.6619 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.5153, allocations: 1.587 MB / 0.6635 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.5156, allocations: 76 kB / 0.6635 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.5187, allocations: 0.8962 MB / 0.6644 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.5192, allocations: 390.2 kB / 0.6648 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007548/0.52, allocations: 496.5 kB / 0.6653 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.5231, allocations: 2.679 MB / 0.6679 GB, free: 8.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5231, allocations: 4 kB / 0.6679 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5231, allocations: 0 / 0.6679 GB, free: 8.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.821e-05/0.5232, allocations: 0 / 0.6679 GB, free: 8.023 MB / 494.1 MB 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.003878/0.527, allocations: 2.314 MB / 0.6701 GB, free: 5.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5271, allocations: 11.97 kB / 0.6701 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000638/0.5277, allocations: 269 kB / 0.6704 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.5307, allocations: 1.91 MB / 0.6723 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.5308, allocations: 102.7 kB / 0.6724 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.531, allocations: 140 kB / 0.6725 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.5338, allocations: 1.528 MB / 0.674 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.5338, allocations: 0 / 0.674 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.5339, allocations: 60 kB / 0.674 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.534, allocations: 39.94 kB / 0.6741 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.5363, allocations: 1.162 MB / 0.6752 GB, free: 308 kB / 494.1 MB 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.008116/0.5444, allocations: 7.587 MB / 0.6826 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.5454, allocations: 0.4927 MB / 0.6831 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.546, allocations: 354.3 kB / 0.6834 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008296/0.5469, allocations: 1.152 MB / 0.6846 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.5469, allocations: 47.11 kB / 0.6846 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=59): time 2.514e-06/0.5469, allocations: 0 / 0.6846 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59): time 0.002167/0.5491, allocations: 1.02 MB / 0.6856 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.5492, allocations: 63.91 kB / 0.6857 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.5513, allocations: 1.736 MB / 0.6874 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.5514, allocations: 41.7 kB / 0.6874 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/0.5522, allocations: 0.9278 MB / 0.6883 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.5524, allocations: 224.9 kB / 0.6885 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.5524, allocations: 20 kB / 0.6885 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5526, allocations: 357.9 kB / 0.6889 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.5533, allocations: 346.4 kB / 0.6892 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000949/0.5543, allocations: 0.7017 MB / 0.6899 GB, free: 172 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008398/0.5551, allocations: 462.7 kB / 0.6903 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.5551, allocations: 4 kB / 0.6904 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002179/0.5573, allocations: 1.252 MB / 0.6916 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5573, allocations: 12 kB / 0.6916 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5574, allocations: 12.83 kB / 0.6916 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.5574, allocations: 16 kB / 0.6916 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.5584, allocations: 319.6 kB / 0.6919 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.613e-05/0.5585, allocations: 23.92 kB / 0.6919 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.5598, allocations: 246.4 kB / 0.6922 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.5599, allocations: 48 kB / 0.6922 GB, free: 13.79 MB / 0.5137 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.000683/0.5606, allocations: 446.9 kB / 0.6926 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.5609, allocations: 197.6 kB / 0.6928 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.5626, allocations: 0.9129 MB / 0.6937 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.5626, allocations: 7.984 kB / 0.6937 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5627, allocations: 3.938 kB / 0.6937 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/0.564, allocations: 0.8308 MB / 0.6946 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.5679, allocations: 2.478 MB / 0.697 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5679, allocations: 0 / 0.697 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.5687, allocations: 212 kB / 0.6972 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.5687, allocations: 4 kB / 0.6972 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.5688, allocations: 19.98 kB / 0.6972 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.5688, allocations: 7.938 kB / 0.6972 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5688, allocations: 4 kB / 0.6972 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.5711, allocations: 1.398 MB / 0.6986 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000617/0.5717, allocations: 402.3 kB / 0.699 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.5719, allocations: 16 kB / 0.699 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.573, allocations: 119.7 kB / 0.6991 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5731, allocations: 60.44 kB / 0.6991 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.5732, allocations: 35.97 kB / 0.6992 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001646/0.5748, allocations: 1.196 MB / 0.7003 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5748, allocations: 0 / 0.7003 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001596/0.5764, allocations: 0.6317 MB / 0.701 GB, free: 4.613 MB / 0.5137 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.0009349/0.5774, allocations: 0.5605 MB / 0.7015 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.579, allocations: 0.8432 MB / 0.7023 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.5791, allocations: 7.875 kB / 0.7023 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007091/0.5798, allocations: 380.2 kB / 0.7027 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004997/0.5848, allocations: 1.202 MB / 0.7039 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.5897, allocations: 3.696 MB / 0.7075 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009512/0.5907, allocations: 1.401 MB / 0.7089 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001486/0.5921, allocations: 371.8 kB / 0.7092 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.5925, allocations: 147.4 kB / 0.7094 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.5925, allocations: 3.938 kB / 0.7094 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.06201/0.6545, allocations: 38.59 MB / 0.747 GB, free: 5.832 MB / 0.5606 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)