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.001112/0.001112, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7125/0.7125, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.437/1.437, allocations: 222.9 MB / 403.4 MB, free: 7.078 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.001091/0.001091, allocations: 99.05 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009925/0.0009926, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1522, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4053/0.5574, allocations: 76.64 MB / 0.715 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02861/0.5861, allocations: 18.94 MB / 0.7335 GB, free: 7.629 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005734/0.5919, allocations: 102.4 kB / 0.7336 GB, free: 7.586 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.596, allocations: 1.023 MB / 0.7346 GB, free: 6.996 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01318/0.6093, allocations: 3.37 MB / 0.7379 GB, free: 4.996 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006539/0.6158, allocations: 1.898 MB / 0.7398 GB, free: 3.879 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.628, allocations: 8.911 MB / 0.7485 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.6313, allocations: 1.743 MB / 0.7502 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005107/0.6365, allocations: 1.963 MB / 0.7521 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.6404, allocations: 1.773 MB / 0.7538 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005513/0.6409, allocations: 97.72 kB / 0.7539 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005412/0.6464, allocations: 1.461 MB / 0.7553 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000945/0.6473, allocations: 455.1 kB / 0.7558 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.003193/0.6505, allocations: 1.14 MB / 0.7569 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.007582/0.6581, allocations: 3.65 MB / 0.7604 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6582, allocations: 4 kB / 0.7604 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6582, allocations: 0 / 0.7604 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.131e-05/0.6583, allocations: 0 / 0.7604 GB, free: 8.258 MB / 0.4948 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.005975/0.6643, allocations: 2.712 MB / 0.7631 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6643, allocations: 8.031 kB / 0.7631 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007557/0.6651, allocations: 266 kB / 0.7634 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/0.6685, allocations: 1.98 MB / 0.7653 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.6686, allocations: 106.7 kB / 0.7654 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.6688, allocations: 140 kB / 0.7655 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.6714, allocations: 1.532 MB / 0.767 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.6714, allocations: 3.938 kB / 0.767 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.6715, allocations: 63.94 kB / 0.7671 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.6716, allocations: 39.98 kB / 0.7671 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.6737, allocations: 1.122 MB / 0.7682 GB, free: 96 kB / 0.4948 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.009089/0.6828, allocations: 7.567 MB / 0.7756 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.684, allocations: 476.6 kB / 0.7761 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.6846, allocations: 330.9 kB / 0.7764 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.6858, allocations: 1.152 MB / 0.7775 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/0.6858, allocations: 43.12 kB / 0.7775 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 4.178e-06/0.6858, allocations: 0 / 0.7775 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.002473/0.6883, allocations: 0.9651 MB / 0.7785 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.6884, allocations: 55.97 kB / 0.7785 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.6906, allocations: 1.759 MB / 0.7803 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.6907, allocations: 45.7 kB / 0.7803 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007346/0.6915, allocations: 0.9239 MB / 0.7812 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.6917, allocations: 224.9 kB / 0.7814 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.692, allocations: 230.7 kB / 0.7816 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6922, allocations: 345.9 kB / 0.782 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/0.6928, allocations: 338.3 kB / 0.7823 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009229/0.6938, allocations: 0.686 MB / 0.783 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.6953, allocations: 1.014 MB / 0.784 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6953, allocations: 4 kB / 0.784 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002297/0.6976, allocations: 1.213 MB / 0.7851 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.6977, allocations: 8 kB / 0.7851 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.6977, allocations: 12.84 kB / 0.7852 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.6977, allocations: 16 kB / 0.7852 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009735/0.6987, allocations: 287.6 kB / 0.7855 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/0.6987, allocations: 26.11 kB / 0.7855 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.7003, allocations: 246.3 kB / 0.7857 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.7003, allocations: 48 kB / 0.7858 GB, free: 12.91 MB / 0.5261 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006968/0.7011, allocations: 446.6 kB / 0.7862 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.7013, allocations: 193.7 kB / 0.7864 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.703, allocations: 0.8649 MB / 0.7872 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.703, allocations: 7.984 kB / 0.7872 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7031, allocations: 0 / 0.7872 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/0.7044, allocations: 0.7995 MB / 0.788 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.7082, allocations: 2.435 MB / 0.7904 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7082, allocations: 0 / 0.7904 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.709, allocations: 184 kB / 0.7906 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.709, allocations: 4 kB / 0.7906 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.709, allocations: 19.98 kB / 0.7906 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/0.7091, allocations: 4 kB / 0.7906 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7091, allocations: 4 kB / 0.7906 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009745/0.7188, allocations: 6.157 MB / 0.7966 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.7194, allocations: 370.5 kB / 0.7969 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.7196, allocations: 16 kB / 0.797 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.7207, allocations: 115.7 kB / 0.7971 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.7208, allocations: 52.48 kB / 0.7971 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.7209, allocations: 31.97 kB / 0.7972 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001496/0.7224, allocations: 1.228 MB / 0.7984 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7224, allocations: 0 / 0.7984 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002398/0.7248, allocations: 0.8935 MB / 0.7992 GB, free: 14.73 MB / 0.5417 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/0.7259, allocations: 0.5775 MB / 0.7998 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.7276, allocations: 0.8158 MB / 0.8006 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7276, allocations: 0 / 0.8006 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.7283, allocations: 352.2 kB / 0.8009 GB, free: 13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/0.734, allocations: 1.207 MB / 0.8021 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.7394, allocations: 4.164 MB / 0.8062 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008925/0.7403, allocations: 1.421 MB / 0.8076 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00179/0.7421, allocations: 381.6 kB / 0.8079 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.7424, allocations: 159.3 kB / 0.8081 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of SimCode: time 8.41e-07/0.7424, allocations: 3.938 kB / 0.8081 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of Templates: time 0.06997/0.8124, allocations: 41.53 MB / 0.8486 GB, free: 12.46 MB / 0.5886 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)