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.001332/0.001332, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00172/0.00172, allocations: 190.5 kB / 16.25 MB, free: 6.633 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: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9273/0.9273, allocations: 135.6 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 64.47 kB / 0.5054 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1569, allocations: 81.02 MB / 0.5845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3119/0.4688, allocations: 76.47 MB / 0.6592 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02711/0.496, allocations: 18.73 MB / 0.6775 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00423/0.5003, allocations: 99.66 kB / 0.6776 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004647/0.505, allocations: 1.081 MB / 0.6786 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.5169, allocations: 3.386 MB / 0.6819 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006609/0.5235, allocations: 1.919 MB / 0.6838 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0123/0.5358, allocations: 6.696 MB / 0.6903 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005236/0.5411, allocations: 2.08 MB / 0.6924 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00792/0.5491, allocations: 2.342 MB / 0.6947 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/0.5532, allocations: 1.817 MB / 0.6964 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009305/0.5542, allocations: 198.3 kB / 0.6966 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006293/0.5605, allocations: 1.648 MB / 0.6982 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.5618, allocations: 0.5417 MB / 0.6988 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003708/0.5656, allocations: 1.249 MB / 0.7 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00834/0.5739, allocations: 3.733 MB / 0.7036 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.574, allocations: 9.094 kB / 0.7036 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.574, allocations: 3.938 kB / 0.7036 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001203/0.5741, allocations: 0 / 0.7036 GB, free: 10.98 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.006805/0.5809, allocations: 2.71 MB / 0.7063 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.581, allocations: 11.81 kB / 0.7063 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.5819, allocations: 267.2 kB / 0.7066 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.5855, allocations: 1.973 MB / 0.7085 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/0.5856, allocations: 105.2 kB / 0.7086 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.5858, allocations: 144.2 kB / 0.7087 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.5887, allocations: 1.522 MB / 0.7102 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.5887, allocations: 5.125 kB / 0.7102 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.5889, allocations: 57.72 kB / 0.7103 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/0.5889, allocations: 40.89 kB / 0.7103 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.5912, allocations: 1.121 MB / 0.7114 GB, free: 6.582 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.01015/0.6014, allocations: 7.57 MB / 0.7188 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.6024, allocations: 484.5 kB / 0.7193 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006449/0.6031, allocations: 333.1 kB / 0.7196 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.6042, allocations: 1.151 MB / 0.7207 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.6042, allocations: 43.25 kB / 0.7207 GB, free: 13.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 3.176e-06/0.6043, allocations: 0 / 0.7207 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002606/0.6069, allocations: 0.9656 MB / 0.7217 GB, free: 13.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.6069, allocations: 57.59 kB / 0.7217 GB, free: 13.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.6093, allocations: 1.755 MB / 0.7234 GB, free: 12.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.6094, allocations: 42.86 kB / 0.7235 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008499/0.6102, allocations: 0.9255 MB / 0.7244 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.6105, allocations: 225.9 kB / 0.7246 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.6109, allocations: 227.8 kB / 0.7248 GB, free: 11.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000236/0.6111, allocations: 353 kB / 0.7252 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/0.6119, allocations: 327.2 kB / 0.7255 GB, free: 10.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.6129, allocations: 0.692 MB / 0.7261 GB, free: 10.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.6147, allocations: 1.012 MB / 0.7271 GB, free: 9.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.6147, allocations: 4 kB / 0.7271 GB, free: 9.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002519/0.6172, allocations: 1.218 MB / 0.7283 GB, free: 7.863 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.6172, allocations: 8 kB / 0.7283 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.6173, allocations: 12 kB / 0.7283 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.6173, allocations: 19.98 kB / 0.7284 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.6183, allocations: 287.8 kB / 0.7286 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/0.6184, allocations: 23.94 kB / 0.7287 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.6203, allocations: 234.4 kB / 0.7289 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-05/0.6204, allocations: 55.92 kB / 0.7289 GB, free: 7.234 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.00094/0.6214, allocations: 441.3 kB / 0.7294 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/0.6218, allocations: 193.7 kB / 0.7295 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.6237, allocations: 0.8687 MB / 0.7304 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.6237, allocations: 8 kB / 0.7304 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.6238, allocations: 0 / 0.7304 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/0.6252, allocations: 0.7995 MB / 0.7312 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004577/0.6298, allocations: 2.432 MB / 0.7336 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6298, allocations: 4.031 kB / 0.7336 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.6306, allocations: 179.7 kB / 0.7337 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.6306, allocations: 4 kB / 0.7337 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.6306, allocations: 23.98 kB / 0.7338 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/0.6307, allocations: 4 kB / 0.7338 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.6307, allocations: 8 kB / 0.7338 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.6332, allocations: 1.339 MB / 0.7351 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008616/0.6341, allocations: 362.5 kB / 0.7354 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.6343, allocations: 16 kB / 0.7354 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.6355, allocations: 115.7 kB / 0.7355 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.6356, allocations: 48.44 kB / 0.7356 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.324e-05/0.6357, allocations: 35.97 kB / 0.7356 GB, free: 176 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002188/0.6379, allocations: 1.22 MB / 0.7368 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6379, allocations: 0 / 0.7368 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002992/0.6409, allocations: 0.6395 MB / 0.7374 GB, free: 14.29 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.001647/0.6426, allocations: 0.5871 MB / 0.738 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.6449, allocations: 0.8901 MB / 0.7389 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6449, allocations: 0.625 kB / 0.7389 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.6457, allocations: 358.9 kB / 0.7392 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005843/0.6515, allocations: 1.215 MB / 0.7404 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005762/0.6573, allocations: 3.738 MB / 0.7441 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.6585, allocations: 1.401 MB / 0.7454 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001762/0.6602, allocations: 388.2 kB / 0.7458 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.6606, allocations: 151.4 kB / 0.7459 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.6606, allocations: 0 / 0.7459 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of Templates: time 0.07017/0.7308, allocations: 40.74 MB / 0.7857 GB, free: 13.32 MB / 0.6075 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)