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.001187/0.001187, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001077/0.001077, allocations: 191.4 kB / 17.34 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8116/0.8116, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.42 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1629, allocations: 80.91 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08272/0.2456, allocations: 77.15 MB / 0.7406 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4187/0.6644, allocations: 18.83 MB / 0.759 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004738/0.6692, allocations: 110.2 kB / 0.7591 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.6737, allocations: 1.255 MB / 0.7604 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01234/0.6861, allocations: 3.614 MB / 0.7639 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006572/0.6927, allocations: 2.094 MB / 0.7659 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.7049, allocations: 6.663 MB / 0.7724 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004153/0.7091, allocations: 2.106 MB / 0.7745 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006837/0.716, allocations: 2.375 MB / 0.7768 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00428/0.7203, allocations: 1.758 MB / 0.7785 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008287/0.7212, allocations: 198.8 kB / 0.7787 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005837/0.727, allocations: 1.621 MB / 0.7803 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.7282, allocations: 0.5364 MB / 0.7808 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00356/0.7318, allocations: 1.253 MB / 0.7821 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007706/0.7395, allocations: 3.752 MB / 0.7857 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.7396, allocations: 0 / 0.7857 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7396, allocations: 1.125 kB / 0.7857 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.409e-05/0.7397, allocations: 0 / 0.7857 GB, free: 1.039 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.005885/0.7456, allocations: 2.713 MB / 0.7884 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7456, allocations: 10.05 kB / 0.7884 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.7466, allocations: 264.9 kB / 0.7886 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004004/0.7507, allocations: 2.027 MB / 0.7906 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/0.7508, allocations: 105.4 kB / 0.7907 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.7511, allocations: 142.7 kB / 0.7909 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/0.754, allocations: 1.524 MB / 0.7923 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/0.7541, allocations: 0 / 0.7923 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.7542, allocations: 57.34 kB / 0.7924 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.7543, allocations: 40.11 kB / 0.7924 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.7565, allocations: 1.125 MB / 0.7935 GB, free: 13.52 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.01054/0.7671, allocations: 7.61 MB / 0.801 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.7682, allocations: 479.4 kB / 0.8014 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006286/0.7688, allocations: 332.5 kB / 0.8017 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/0.7698, allocations: 1.154 MB / 0.8029 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.747e-05/0.7699, allocations: 47.59 kB / 0.8029 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 3.176e-06/0.7699, allocations: 0 / 0.8029 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002705/0.7726, allocations: 0.9624 MB / 0.8039 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.7726, allocations: 55.88 kB / 0.8039 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/0.7759, allocations: 1.784 MB / 0.8056 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.7761, allocations: 42.58 kB / 0.8057 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009026/0.777, allocations: 0.9325 MB / 0.8066 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.7773, allocations: 216.9 kB / 0.8068 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.7777, allocations: 229.3 kB / 0.807 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7779, allocations: 350.2 kB / 0.8074 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007233/0.7786, allocations: 326 kB / 0.8077 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009977/0.7796, allocations: 0.6939 MB / 0.8083 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.7814, allocations: 1.005 MB / 0.8093 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.7814, allocations: 5 kB / 0.8093 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002746/0.7841, allocations: 1.218 MB / 0.8105 GB, free: 252 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.7842, allocations: 7.781 kB / 0.8105 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.7842, allocations: 14.78 kB / 0.8105 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.7843, allocations: 23.86 kB / 0.8106 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.7853, allocations: 284.2 kB / 0.8108 GB, free: 168 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/0.7853, allocations: 24.38 kB / 0.8109 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.7869, allocations: 163.3 kB / 0.811 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.787, allocations: 57.2 kB / 0.8111 GB, free: 32 kB / 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.0009614/0.788, allocations: 438.6 kB / 0.8115 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006353/0.7886, allocations: 198 kB / 0.8117 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.7907, allocations: 0.8666 MB / 0.8125 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.7907, allocations: 11.38 kB / 0.8125 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7907, allocations: 0 / 0.8125 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/0.7921, allocations: 0.7946 MB / 0.8133 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005071/0.7971, allocations: 2.45 MB / 0.8157 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.7972, allocations: 3.125 kB / 0.8157 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.7979, allocations: 177.6 kB / 0.8159 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.798, allocations: 5.625 kB / 0.8159 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.798, allocations: 14.28 kB / 0.8159 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.798, allocations: 9.719 kB / 0.8159 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7981, allocations: 2.219 kB / 0.8159 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.8007, allocations: 1.341 MB / 0.8172 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000901/0.8016, allocations: 363.4 kB / 0.8176 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005119/0.8021, allocations: 21.88 kB / 0.8176 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.8035, allocations: 61.53 kB / 0.8176 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.8036, allocations: 46.5 kB / 0.8177 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.206e-05/0.8037, allocations: 35.62 kB / 0.8177 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002074/0.8058, allocations: 1.246 MB / 0.8189 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8058, allocations: 0 / 0.8189 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002312/0.8081, allocations: 0.6546 MB / 0.8196 GB, free: 10.79 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.00145/0.8096, allocations: 0.6202 MB / 0.8202 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.8115, allocations: 0.8202 MB / 0.821 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.8115, allocations: 4 kB / 0.821 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007383/0.8122, allocations: 355.4 kB / 0.8213 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006426/0.8187, allocations: 1.201 MB / 0.8225 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005748/0.8244, allocations: 3.091 MB / 0.8255 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.8257, allocations: 1.388 MB / 0.8269 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/0.8263, allocations: 155.4 kB / 0.827 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.8263, allocations: 0 / 0.827 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of Templates: time 0.05115/0.8775, allocations: 35.06 MB / 0.8613 GB, free: 0.6367 MB / 0.6387 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)