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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001354/0.001354, allocations: 104.5 kB / 16.41 MB, free: 6.398 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.001233/0.001233, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7911/0.7911, allocations: 132.2 MB / 423.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.78 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 80.22 MB / 0.6603 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06796/0.2216, allocations: 77.13 MB / 0.7357 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4467/0.6684, allocations: 18.84 MB / 0.7541 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004569/0.673, allocations: 112.4 kB / 0.7542 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003982/0.677, allocations: 1.25 MB / 0.7554 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.6885, allocations: 3.618 MB / 0.7589 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006458/0.695, allocations: 2.097 MB / 0.761 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01252/0.7075, allocations: 6.664 MB / 0.7675 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004059/0.7116, allocations: 2.098 MB / 0.7695 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007308/0.719, allocations: 2.38 MB / 0.7719 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004393/0.7234, allocations: 1.757 MB / 0.7736 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007786/0.7242, allocations: 199.7 kB / 0.7738 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005687/0.7299, allocations: 1.62 MB / 0.7753 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009759/0.7309, allocations: 0.5376 MB / 0.7759 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002973/0.7339, allocations: 1.248 MB / 0.7771 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007736/0.7416, allocations: 3.75 MB / 0.7808 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7417, allocations: 5.375 kB / 0.7808 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.007e-06/0.7417, allocations: 0 / 0.7808 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.325e-05/0.7418, allocations: 0 / 0.7808 GB, free: 1.137 MB / 0.5762 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.005637/0.7474, allocations: 2.717 MB / 0.7834 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.7475, allocations: 9.75 kB / 0.7834 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.7485, allocations: 262.6 kB / 0.7837 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003976/0.7525, allocations: 2.02 MB / 0.7856 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.7526, allocations: 110.9 kB / 0.7857 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.7528, allocations: 154.5 kB / 0.7859 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/0.7556, allocations: 1.512 MB / 0.7874 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.7557, allocations: 7.078 kB / 0.7874 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.7558, allocations: 59.66 kB / 0.7874 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.7558, allocations: 38.47 kB / 0.7875 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.758, allocations: 1.124 MB / 0.7886 GB, free: 14.95 MB / 0.5919 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.008846/0.7668, allocations: 7.602 MB / 0.796 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.7678, allocations: 479.9 kB / 0.7965 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.7684, allocations: 338 kB / 0.7968 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008436/0.7693, allocations: 1.152 MB / 0.7979 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.7693, allocations: 44.97 kB / 0.7979 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.725e-06/0.7693, allocations: 0 / 0.7979 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002428/0.7718, allocations: 0.9566 MB / 0.7989 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.7718, allocations: 63.55 kB / 0.7989 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.7742, allocations: 1.783 MB / 0.8007 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.7744, allocations: 42.36 kB / 0.8007 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007444/0.7751, allocations: 0.9306 MB / 0.8016 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.7754, allocations: 221.9 kB / 0.8018 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.7756, allocations: 227.5 kB / 0.8021 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7758, allocations: 346.2 kB / 0.8024 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006717/0.7764, allocations: 336.6 kB / 0.8027 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.7774, allocations: 0.6859 MB / 0.8034 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.779, allocations: 1.013 MB / 0.8044 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.779, allocations: 2.531 kB / 0.8044 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002525/0.7816, allocations: 1.219 MB / 0.8056 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.7816, allocations: 9.719 kB / 0.8056 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.7816, allocations: 13.62 kB / 0.8056 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.7817, allocations: 19.66 kB / 0.8056 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/0.7827, allocations: 285.5 kB / 0.8059 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.21e-05/0.7827, allocations: 23.36 kB / 0.8059 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.7844, allocations: 169.2 kB / 0.8061 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.7845, allocations: 53.8 kB / 0.8061 GB, free: 3.082 MB / 0.5919 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.0009175/0.7855, allocations: 433.8 kB / 0.8065 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005853/0.7861, allocations: 191.7 kB / 0.8067 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.7881, allocations: 0.8698 MB / 0.8076 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.7881, allocations: 8.688 kB / 0.8076 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7881, allocations: 0 / 0.8076 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/0.7895, allocations: 0.7936 MB / 0.8083 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/0.7949, allocations: 2.458 MB / 0.8107 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.7949, allocations: 2.625 kB / 0.8107 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007867/0.7957, allocations: 173.5 kB / 0.8109 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.7957, allocations: 5.75 kB / 0.8109 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.7958, allocations: 18.94 kB / 0.8109 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.7958, allocations: 8.5 kB / 0.8109 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.7958, allocations: 2.438 kB / 0.8109 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.7986, allocations: 1.341 MB / 0.8122 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.7997, allocations: 363.4 kB / 0.8126 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006799/0.8004, allocations: 13.34 kB / 0.8126 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.802, allocations: 70.89 kB / 0.8127 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.8021, allocations: 49.14 kB / 0.8127 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.8023, allocations: 29.92 kB / 0.8128 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002467/0.8047, allocations: 1.248 MB / 0.814 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8047, allocations: 0 / 0.814 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002753/0.8075, allocations: 0.6569 MB / 0.8146 GB, free: 13.88 MB / 0.6075 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.001561/0.8091, allocations: 0.6041 MB / 0.8152 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.8111, allocations: 0.8138 MB / 0.816 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.8111, allocations: 2.594 kB / 0.816 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.8118, allocations: 356.8 kB / 0.8163 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006573/0.8184, allocations: 1.206 MB / 0.8175 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00626/0.8247, allocations: 3.086 MB / 0.8205 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.826, allocations: 1.388 MB / 0.8219 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.8266, allocations: 159.4 kB / 0.822 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/0.8266, allocations: 0 / 0.822 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of Templates: time 0.05258/0.8792, allocations: 35.06 MB / 0.8563 GB, free: 4.699 MB / 0.6387 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)