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.0007834/0.0007834, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005274/0.005275, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7768/0.7768, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 8.75 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4389, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07507/0.514, allocations: 75.29 MB / 0.6572 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02873/0.5428, allocations: 18.72 MB / 0.6755 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004891/0.5478, allocations: 103.3 kB / 0.6756 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.5516, allocations: 1.026 MB / 0.6766 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.5629, allocations: 3.359 MB / 0.6799 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005234/0.5681, allocations: 1.906 MB / 0.6817 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.5792, allocations: 8.881 MB / 0.6904 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.5825, allocations: 1.692 MB / 0.692 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004977/0.5875, allocations: 1.886 MB / 0.6939 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.5911, allocations: 1.707 MB / 0.6956 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006032/0.5917, allocations: 72 kB / 0.6956 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005157/0.5969, allocations: 1.438 MB / 0.697 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.598, allocations: 418 kB / 0.6974 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002682/0.6007, allocations: 1.117 MB / 0.6985 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007036/0.6078, allocations: 3.57 MB / 0.702 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6078, allocations: 0 / 0.702 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6079, allocations: 4 kB / 0.702 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001514/0.608, allocations: 0 / 0.702 GB, free: 6.906 MB / 0.5294 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.005862/0.6139, allocations: 2.299 MB / 0.7042 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.6139, allocations: 8.031 kB / 0.7043 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.6149, allocations: 269.5 kB / 0.7045 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.6189, allocations: 1.976 MB / 0.7064 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.619, allocations: 102.7 kB / 0.7065 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.6193, allocations: 147.9 kB / 0.7067 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.6225, allocations: 1.544 MB / 0.7082 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.6225, allocations: 3.938 kB / 0.7082 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.6227, allocations: 63.98 kB / 0.7083 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.6227, allocations: 39.98 kB / 0.7083 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.6253, allocations: 1.173 MB / 0.7094 GB, free: 15.09 MB / 0.545 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.00959/0.6349, allocations: 7.583 MB / 0.7168 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.6359, allocations: 0.4942 MB / 0.7173 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.6366, allocations: 352.9 kB / 0.7177 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008983/0.6375, allocations: 1.156 MB / 0.7188 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.6376, allocations: 43.12 kB / 0.7188 GB, free: 4.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 3.015e-06/0.6376, allocations: 3.938 kB / 0.7188 GB, free: 4.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002463/0.6401, allocations: 1.028 MB / 0.7198 GB, free: 3.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.6401, allocations: 59.97 kB / 0.7199 GB, free: 3.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003002/0.6431, allocations: 1.755 MB / 0.7216 GB, free: 1.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.6433, allocations: 41.7 kB / 0.7217 GB, free: 1.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008808/0.6442, allocations: 0.9277 MB / 0.7226 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.6444, allocations: 217 kB / 0.7228 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.6445, allocations: 97.66 kB / 0.7229 GB, free: 428 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6447, allocations: 357.9 kB / 0.7232 GB, free: 64 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007697/0.6455, allocations: 350.4 kB / 0.7235 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.6465, allocations: 0.7056 MB / 0.7242 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.6483, allocations: 1.055 MB / 0.7253 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.6484, allocations: 4 kB / 0.7253 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002563/0.6509, allocations: 1.256 MB / 0.7265 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.651, allocations: 12.86 kB / 0.7265 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.651, allocations: 12 kB / 0.7265 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.651, allocations: 20 kB / 0.7265 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.6521, allocations: 315.6 kB / 0.7268 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.958e-05/0.6521, allocations: 23.88 kB / 0.7269 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.6538, allocations: 246.4 kB / 0.7271 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.654, allocations: 55.92 kB / 0.7271 GB, free: 11.73 MB / 0.5606 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.0008183/0.6548, allocations: 438.2 kB / 0.7276 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.6552, allocations: 189.7 kB / 0.7277 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.6572, allocations: 0.911 MB / 0.7286 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.6572, allocations: 8 kB / 0.7286 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6572, allocations: 3.938 kB / 0.7286 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/0.6587, allocations: 0.8347 MB / 0.7295 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/0.6642, allocations: 2.486 MB / 0.7319 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.6642, allocations: 4 kB / 0.7319 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008121/0.665, allocations: 216 kB / 0.7321 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.665, allocations: 4 kB / 0.7321 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.6651, allocations: 16 kB / 0.7321 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.6651, allocations: 7.938 kB / 0.7321 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6651, allocations: 0 / 0.7321 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/0.668, allocations: 1.402 MB / 0.7335 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009428/0.6689, allocations: 402.3 kB / 0.7339 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/0.6693, allocations: 19.98 kB / 0.7339 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.6707, allocations: 126.6 kB / 0.734 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.6709, allocations: 56.38 kB / 0.7341 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/0.6709, allocations: 35.97 kB / 0.7341 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002147/0.6731, allocations: 1.216 MB / 0.7353 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6731, allocations: 4 kB / 0.7353 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00221/0.6753, allocations: 0.6356 MB / 0.7359 GB, free: 2.512 MB / 0.5606 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.001516/0.6768, allocations: 0.585 MB / 0.7365 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.6789, allocations: 0.8477 MB / 0.7373 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6789, allocations: 0 / 0.7373 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.6797, allocations: 383.6 kB / 0.7377 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00721/0.6869, allocations: 1.207 MB / 0.7389 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/0.6929, allocations: 3.829 MB / 0.7426 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.6943, allocations: 1.405 MB / 0.744 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001774/0.6961, allocations: 377.5 kB / 0.7443 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.6965, allocations: 159.3 kB / 0.7445 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of SimCode: time 2.264e-06/0.6965, allocations: 0 / 0.7445 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of Templates: time 0.07627/0.7728, allocations: 40.1 MB / 0.7836 GB, free: 2.109 MB / 0.6075 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)