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.001036/0.001036, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001145/0.001146, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7836/0.7836, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001168, allocations: 72.52 kB / 0.5011 GB, free: 9.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1672, allocations: 80.2 MB / 0.5794 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3449/0.5121, allocations: 76.65 MB / 0.6543 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02331/0.5355, allocations: 18.93 MB / 0.6728 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004694/0.5402, allocations: 99.22 kB / 0.6729 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.5437, allocations: 1.028 MB / 0.6739 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.5547, allocations: 3.364 MB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006247/0.561, allocations: 1.894 MB / 0.679 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01344/0.5744, allocations: 8.881 MB / 0.6877 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004177/0.5786, allocations: 1.744 MB / 0.6894 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007117/0.5858, allocations: 1.938 MB / 0.6913 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005212/0.591, allocations: 1.771 MB / 0.693 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.5921, allocations: 97.16 kB / 0.6931 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006604/0.5987, allocations: 1.464 MB / 0.6945 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.6001, allocations: 449.9 kB / 0.6949 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003873/0.604, allocations: 1.152 MB / 0.6961 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009643/0.6136, allocations: 3.641 MB / 0.6996 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6136, allocations: 0 / 0.6996 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6137, allocations: 0 / 0.6996 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001632/0.6138, allocations: 0 / 0.6996 GB, free: 1.516 MB / 0.5137 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.008874/0.6227, allocations: 2.715 MB / 0.7023 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.6228, allocations: 9.594 kB / 0.7023 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.6241, allocations: 266.4 kB / 0.7025 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004856/0.629, allocations: 1.978 MB / 0.7045 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.6291, allocations: 113.8 kB / 0.7046 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/0.6295, allocations: 147.3 kB / 0.7047 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/0.6328, allocations: 1.515 MB / 0.7062 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.6329, allocations: 5.5 kB / 0.7062 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.633, allocations: 57.91 kB / 0.7063 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/0.6331, allocations: 39.8 kB / 0.7063 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.6356, allocations: 1.125 MB / 0.7074 GB, free: 12.64 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.01087/0.6465, allocations: 7.57 MB / 0.7148 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.6479, allocations: 483.7 kB / 0.7152 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.6487, allocations: 331.2 kB / 0.7156 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.6498, allocations: 1.151 MB / 0.7167 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.6499, allocations: 39.25 kB / 0.7167 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 3.246e-06/0.6499, allocations: 0 / 0.7167 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.0029/0.6528, allocations: 0.9641 MB / 0.7177 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.6529, allocations: 63.31 kB / 0.7177 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/0.6563, allocations: 1.755 MB / 0.7194 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.6565, allocations: 43.33 kB / 0.7195 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.6576, allocations: 0.9335 MB / 0.7204 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.6579, allocations: 218.5 kB / 0.7206 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.6583, allocations: 226.9 kB / 0.7208 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6584, allocations: 348.6 kB / 0.7211 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/0.6591, allocations: 335.1 kB / 0.7215 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.6602, allocations: 0.6925 MB / 0.7221 GB, free: 192 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.6621, allocations: 1.007 MB / 0.7231 GB, free: 15.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.6622, allocations: 0 / 0.7231 GB, free: 15.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002606/0.6648, allocations: 1.214 MB / 0.7243 GB, free: 13.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.6648, allocations: 15.94 kB / 0.7243 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.6648, allocations: 12.06 kB / 0.7243 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.6649, allocations: 16 kB / 0.7244 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.6659, allocations: 295.5 kB / 0.7246 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/0.666, allocations: 19.94 kB / 0.7247 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.668, allocations: 242.4 kB / 0.7249 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6681, allocations: 51.98 kB / 0.7249 GB, free: 13.29 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.0008729/0.669, allocations: 434.2 kB / 0.7254 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/0.6696, allocations: 193.7 kB / 0.7255 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.6716, allocations: 0.8756 MB / 0.7264 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.6716, allocations: 8 kB / 0.7264 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6716, allocations: 0 / 0.7264 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.673, allocations: 0.7879 MB / 0.7272 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005413/0.6785, allocations: 2.435 MB / 0.7295 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.6785, allocations: 4 kB / 0.7296 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.6794, allocations: 184 kB / 0.7297 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.6794, allocations: 4 kB / 0.7297 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.6794, allocations: 19.98 kB / 0.7297 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.6795, allocations: 4 kB / 0.7298 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6795, allocations: 7.938 kB / 0.7298 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.6823, allocations: 1.331 MB / 0.7311 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.6834, allocations: 366.5 kB / 0.7314 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/0.684, allocations: 23.94 kB / 0.7314 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.6856, allocations: 109.4 kB / 0.7315 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6858, allocations: 52.5 kB / 0.7316 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-05/0.6859, allocations: 31.97 kB / 0.7316 GB, free: 6.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002443/0.6883, allocations: 1.22 MB / 0.7328 GB, free: 4.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6883, allocations: 4 kB / 0.7328 GB, free: 4.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00264/0.691, allocations: 0.6395 MB / 0.7334 GB, free: 4.352 MB / 0.545 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.001593/0.6926, allocations: 0.5823 MB / 0.734 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002241/0.6948, allocations: 0.8078 MB / 0.7348 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6949, allocations: 0 / 0.7348 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008422/0.6957, allocations: 360.4 kB / 0.7351 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007038/0.7028, allocations: 1.203 MB / 0.7363 GB, free: 1.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006765/0.7096, allocations: 3.747 MB / 0.74 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.7109, allocations: 1.405 MB / 0.7413 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001926/0.7129, allocations: 378.6 kB / 0.7417 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.7133, allocations: 147.3 kB / 0.7418 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of SimCode: time 3.126e-06/0.7133, allocations: 0 / 0.7418 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.06775/0.7811, allocations: 39.87 MB / 0.7808 GB, free: 4.328 MB / 0.5919 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)