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.001466/0.001466, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001605/0.001605, allocations: 187 kB / 17.34 MB, free: 5.734 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8083/0.8083, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 64.31 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1543, allocations: 80.2 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07001/0.2243, allocations: 77.15 MB / 0.7357 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4271/0.6514, allocations: 18.83 MB / 0.7541 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004941/0.6564, allocations: 110.5 kB / 0.7542 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004803/0.6613, allocations: 1.25 MB / 0.7554 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.6747, allocations: 3.623 MB / 0.7589 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007072/0.6818, allocations: 2.093 MB / 0.761 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01386/0.6956, allocations: 6.665 MB / 0.7675 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00431/0.7, allocations: 2.102 MB / 0.7695 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008238/0.7083, allocations: 2.369 MB / 0.7719 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004967/0.7133, allocations: 1.763 MB / 0.7736 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008022/0.7141, allocations: 199.6 kB / 0.7738 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006444/0.7205, allocations: 1.62 MB / 0.7753 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009957/0.7216, allocations: 0.5382 MB / 0.7759 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003077/0.7246, allocations: 1.247 MB / 0.7771 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008339/0.733, allocations: 3.756 MB / 0.7808 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.7331, allocations: 4 kB / 0.7808 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.205e-06/0.7331, allocations: 0 / 0.7808 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.609e-05/0.7331, allocations: 1.375 kB / 0.7808 GB, free: 1.164 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.005795/0.7389, allocations: 2.717 MB / 0.7834 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.739, allocations: 9.656 kB / 0.7834 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000961/0.74, allocations: 261.8 kB / 0.7837 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.7437, allocations: 2.017 MB / 0.7856 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.7438, allocations: 110.7 kB / 0.7858 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.744, allocations: 150.6 kB / 0.7859 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.7468, allocations: 1.517 MB / 0.7874 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.7468, allocations: 2.406 kB / 0.7874 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.7469, allocations: 56.66 kB / 0.7874 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/0.747, allocations: 47.33 kB / 0.7875 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.7492, allocations: 1.117 MB / 0.7886 GB, free: 14.98 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.009217/0.7584, allocations: 7.601 MB / 0.796 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/0.7594, allocations: 481.5 kB / 0.7965 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.76, allocations: 336.7 kB / 0.7968 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009118/0.7609, allocations: 1.153 MB / 0.7979 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.333e-05/0.761, allocations: 48.66 kB / 0.7979 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.905e-06/0.761, allocations: 0 / 0.7979 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002435/0.7634, allocations: 0.9606 MB / 0.7989 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.7635, allocations: 57.56 kB / 0.7989 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.7658, allocations: 1.786 MB / 0.8007 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.766, allocations: 44.8 kB / 0.8007 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007616/0.7667, allocations: 0.929 MB / 0.8016 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.767, allocations: 222.9 kB / 0.8018 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.7673, allocations: 227.1 kB / 0.8021 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7674, allocations: 350.1 kB / 0.8024 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.7681, allocations: 328.7 kB / 0.8027 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009329/0.769, allocations: 0.6857 MB / 0.8034 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.7706, allocations: 1.013 MB / 0.8044 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.7706, allocations: 6.875 kB / 0.8044 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002492/0.7731, allocations: 1.214 MB / 0.8056 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.7731, allocations: 13.53 kB / 0.8056 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.7732, allocations: 13.39 kB / 0.8056 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.7732, allocations: 20.94 kB / 0.8056 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009449/0.7741, allocations: 284.9 kB / 0.8059 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.7742, allocations: 20.84 kB / 0.8059 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.7758, allocations: 169.7 kB / 0.8061 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/0.7759, allocations: 51.33 kB / 0.8061 GB, free: 3.102 MB / 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.0008556/0.7767, allocations: 439.5 kB / 0.8065 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/0.7772, allocations: 188.8 kB / 0.8067 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.779, allocations: 0.8672 MB / 0.8076 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.779, allocations: 6.969 kB / 0.8076 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.779, allocations: 0 / 0.8076 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/0.7803, allocations: 0.7976 MB / 0.8083 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.7849, allocations: 2.453 MB / 0.8107 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.785, allocations: 2.719 kB / 0.8107 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/0.7857, allocations: 174.4 kB / 0.8109 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.7857, allocations: 4.344 kB / 0.8109 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.7858, allocations: 20.31 kB / 0.8109 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.7858, allocations: 8.562 kB / 0.8109 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.7858, allocations: 6.016 kB / 0.8109 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.7884, allocations: 1.341 MB / 0.8123 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/0.7894, allocations: 362.6 kB / 0.8126 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.7898, allocations: 13.47 kB / 0.8126 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7908, allocations: 74.88 kB / 0.8127 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7909, allocations: 46.97 kB / 0.8127 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/0.791, allocations: 35 kB / 0.8128 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001756/0.7928, allocations: 1.242 MB / 0.814 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7928, allocations: 0 / 0.814 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002261/0.795, allocations: 0.6557 MB / 0.8146 GB, free: 13.91 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.001338/0.7964, allocations: 0.6095 MB / 0.8152 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.7982, allocations: 0.8206 MB / 0.816 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.7982, allocations: 0 / 0.816 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.7989, allocations: 353.1 kB / 0.8163 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00591/0.8049, allocations: 1.205 MB / 0.8175 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.81, allocations: 3.087 MB / 0.8205 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008691/0.8109, allocations: 1.388 MB / 0.8219 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.8114, allocations: 159.4 kB / 0.822 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of SimCode: time 1.193e-06/0.8114, allocations: 0 / 0.822 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of Templates: time 0.05055/0.862, allocations: 35.34 MB / 0.8566 GB, free: 4.449 MB / 0.6387 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)