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.0008188/0.0008188, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008705/0.0008706, allocations: 183.8 kB / 16.92 MB, free: 6.77 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.333/1.333, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9105/0.9105, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003333, allocations: 17.89 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 82.3 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.347/0.5021, allocations: 75.27 MB / 0.6621 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0235/0.5256, allocations: 18.73 MB / 0.6804 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004358/0.53, allocations: 98.47 kB / 0.6805 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003657/0.5337, allocations: 1.013 MB / 0.6815 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.5451, allocations: 3.372 MB / 0.6848 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005833/0.5509, allocations: 1.908 MB / 0.6866 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01387/0.5648, allocations: 8.879 MB / 0.6953 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003607/0.5685, allocations: 1.692 MB / 0.697 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/0.5741, allocations: 1.888 MB / 0.6988 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004504/0.5786, allocations: 1.702 MB / 0.7005 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006396/0.5793, allocations: 75.03 kB / 0.7005 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00582/0.5851, allocations: 1.435 MB / 0.7019 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009288/0.5861, allocations: 421 kB / 0.7023 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.5889, allocations: 1.114 MB / 0.7034 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.5936, allocations: 2.805 MB / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5936, allocations: 0 / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5936, allocations: 0 / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.086e-05/0.5937, allocations: 0 / 0.7062 GB, free: 13.5 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.005111/0.5988, allocations: 2.301 MB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5989, allocations: 9.312 kB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007839/0.5997, allocations: 267.1 kB / 0.7087 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.6034, allocations: 1.975 MB / 0.7106 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.6035, allocations: 105.1 kB / 0.7107 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.6037, allocations: 147.5 kB / 0.7109 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/0.6068, allocations: 1.533 MB / 0.7124 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/0.6069, allocations: 6.406 kB / 0.7124 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.607, allocations: 65.62 kB / 0.7124 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/0.6071, allocations: 40.34 kB / 0.7125 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.6095, allocations: 1.171 MB / 0.7136 GB, free: 8.547 MB / 0.5294 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.009465/0.6189, allocations: 7.587 MB / 0.721 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.62, allocations: 499.6 kB / 0.7215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/0.6206, allocations: 357.2 kB / 0.7218 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000945/0.6216, allocations: 1.15 MB / 0.723 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.6216, allocations: 48.11 kB / 0.723 GB, free: 15.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.705e-06/0.6217, allocations: 0 / 0.723 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002357/0.624, allocations: 1.026 MB / 0.724 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.6241, allocations: 55.31 kB / 0.7241 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.6262, allocations: 1.761 MB / 0.7258 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.505e-05/0.6263, allocations: 43.83 kB / 0.7258 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007813/0.6271, allocations: 0.9218 MB / 0.7267 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.6274, allocations: 221.7 kB / 0.7269 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.6275, allocations: 103.6 kB / 0.727 GB, free: 13.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6277, allocations: 351 kB / 0.7274 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.6283, allocations: 352.4 kB / 0.7277 GB, free: 12.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009404/0.6293, allocations: 0.7135 MB / 0.7284 GB, free: 12.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.6309, allocations: 1.051 MB / 0.7294 GB, free: 10.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6309, allocations: 4 kB / 0.7294 GB, free: 10.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002289/0.6332, allocations: 1.257 MB / 0.7307 GB, free: 9.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6333, allocations: 15.12 kB / 0.7307 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.6333, allocations: 12 kB / 0.7307 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.6333, allocations: 16 kB / 0.7307 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.6344, allocations: 319.5 kB / 0.731 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.6344, allocations: 19.94 kB / 0.731 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.6362, allocations: 250.4 kB / 0.7313 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.6363, allocations: 51.98 kB / 0.7313 GB, free: 8.945 MB / 0.545 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.000854/0.6371, allocations: 437.4 kB / 0.7317 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.6374, allocations: 197.6 kB / 0.7319 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.6393, allocations: 0.9136 MB / 0.7328 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.6393, allocations: 4 kB / 0.7328 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6393, allocations: 4 kB / 0.7328 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/0.6406, allocations: 0.8308 MB / 0.7336 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.6448, allocations: 2.486 MB / 0.736 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.6449, allocations: 256 / 0.736 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007981/0.6457, allocations: 215.7 kB / 0.7363 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.6457, allocations: 4 kB / 0.7363 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.6457, allocations: 19.98 kB / 0.7363 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.6457, allocations: 4 kB / 0.7363 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.6458, allocations: 11.92 kB / 0.7363 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.6482, allocations: 1.402 MB / 0.7377 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008808/0.649, allocations: 406.3 kB / 0.738 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/0.6495, allocations: 15.94 kB / 0.7381 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.6509, allocations: 142.6 kB / 0.7382 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.651, allocations: 40.5 kB / 0.7382 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.6511, allocations: 39.97 kB / 0.7383 GB, free: 1.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001918/0.653, allocations: 1.22 MB / 0.7395 GB, free: 368 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.653, allocations: 0 / 0.7395 GB, free: 368 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.002076/0.6551, allocations: 0.6356 MB / 0.7401 GB, free: 15.72 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.001162/0.6563, allocations: 0.5792 MB / 0.7407 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.658, allocations: 0.8516 MB / 0.7415 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.658, allocations: 4.125 kB / 0.7415 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000721/0.6587, allocations: 375.4 kB / 0.7418 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006454/0.6652, allocations: 1.212 MB / 0.743 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.6705, allocations: 3.852 MB / 0.7468 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/0.6715, allocations: 1.388 MB / 0.7481 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.672, allocations: 159.4 kB / 0.7483 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of SimCode: time 2.214e-06/0.6721, allocations: 0 / 0.7483 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of Templates: time 0.05051/0.7226, allocations: 34.39 MB / 0.7819 GB, free: 5.109 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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)