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.001675/0.001675, allocations: 106.6 kB / 16.41 MB, free: 6.488 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.001847/0.001847, allocations: 191 kB / 17.34 MB, free: 5.762 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7878/0.7878, allocations: 135.1 MB / 426.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 60.22 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.156, allocations: 80.93 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0768/0.2329, allocations: 77.14 MB / 0.7406 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4009/0.6338, allocations: 18.82 MB / 0.759 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004584/0.6384, allocations: 110.3 kB / 0.7591 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004613/0.6431, allocations: 1.256 MB / 0.7604 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.6552, allocations: 3.618 MB / 0.7639 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006416/0.6617, allocations: 2.088 MB / 0.7659 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01176/0.6734, allocations: 6.668 MB / 0.7724 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004071/0.6776, allocations: 2.1 MB / 0.7745 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006816/0.6844, allocations: 2.38 MB / 0.7768 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.6885, allocations: 1.763 MB / 0.7785 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005973/0.6891, allocations: 199.8 kB / 0.7787 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005456/0.6946, allocations: 1.618 MB / 0.7803 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008994/0.6955, allocations: 0.5393 MB / 0.7808 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002942/0.6985, allocations: 1.245 MB / 0.7821 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007878/0.7063, allocations: 3.754 MB / 0.7857 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7064, allocations: 7.938 kB / 0.7857 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7064, allocations: 1.188 kB / 0.7857 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.537e-05/0.7065, allocations: 0 / 0.7857 GB, free: 1.062 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.005679/0.7122, allocations: 2.712 MB / 0.7884 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.7122, allocations: 12.33 kB / 0.7884 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000898/0.7131, allocations: 259.2 kB / 0.7886 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/0.7167, allocations: 2.02 MB / 0.7906 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.7168, allocations: 107.3 kB / 0.7907 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.717, allocations: 147.9 kB / 0.7909 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.7198, allocations: 1.518 MB / 0.7923 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.7199, allocations: 0 / 0.7923 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.72, allocations: 57.44 kB / 0.7924 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.72, allocations: 48.41 kB / 0.7924 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.7221, allocations: 1.119 MB / 0.7935 GB, free: 13.56 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.008646/0.7308, allocations: 7.605 MB / 0.801 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.7318, allocations: 492.7 kB / 0.8014 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.7324, allocations: 333 kB / 0.8017 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008666/0.7332, allocations: 1.146 MB / 0.8029 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.7333, allocations: 44.94 kB / 0.8029 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.966e-06/0.7333, allocations: 0 / 0.8029 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002321/0.7356, allocations: 0.9589 MB / 0.8038 GB, free: 5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.7357, allocations: 63.88 kB / 0.8039 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.738, allocations: 1.788 MB / 0.8056 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.7381, allocations: 43.08 kB / 0.8057 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007486/0.7389, allocations: 0.9357 MB / 0.8066 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.7391, allocations: 216.1 kB / 0.8068 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.7394, allocations: 225.9 kB / 0.807 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7396, allocations: 346.1 kB / 0.8074 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.7402, allocations: 333 kB / 0.8077 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.7411, allocations: 0.6886 MB / 0.8083 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.7427, allocations: 1.013 MB / 0.8093 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.7427, allocations: 2.781 kB / 0.8093 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002367/0.7451, allocations: 1.213 MB / 0.8105 GB, free: 300 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.7451, allocations: 14.53 kB / 0.8105 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7451, allocations: 8.406 kB / 0.8105 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.7452, allocations: 20.84 kB / 0.8106 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/0.7461, allocations: 284.1 kB / 0.8108 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.7462, allocations: 22.84 kB / 0.8109 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.7477, allocations: 171.1 kB / 0.811 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.7478, allocations: 46.66 kB / 0.8111 GB, free: 92 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.0008932/0.7487, allocations: 447.7 kB / 0.8115 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.7491, allocations: 194.1 kB / 0.8117 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.7508, allocations: 0.8645 MB / 0.8125 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.7509, allocations: 12.27 kB / 0.8125 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7509, allocations: 0 / 0.8125 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/0.7521, allocations: 0.7986 MB / 0.8133 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004044/0.7562, allocations: 2.454 MB / 0.8157 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7562, allocations: 2.688 kB / 0.8157 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.757, allocations: 178.4 kB / 0.8159 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.296e-05/0.757, allocations: 8.438 kB / 0.8159 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.757, allocations: 23.83 kB / 0.8159 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.7571, allocations: 2.781 kB / 0.8159 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.7571, allocations: 7.844 kB / 0.8159 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.7595, allocations: 1.337 MB / 0.8172 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007896/0.7603, allocations: 367.5 kB / 0.8176 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/0.7608, allocations: 13.38 kB / 0.8176 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.7619, allocations: 65.39 kB / 0.8177 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7621, allocations: 49.88 kB / 0.8177 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.7621, allocations: 36.06 kB / 0.8177 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001979/0.7641, allocations: 1.245 MB / 0.819 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7641, allocations: 0 / 0.819 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002099/0.7662, allocations: 0.6532 MB / 0.8196 GB, free: 10.85 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.001257/0.7675, allocations: 0.6096 MB / 0.8202 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.7694, allocations: 0.8156 MB / 0.821 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7694, allocations: 3.938 kB / 0.821 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.7701, allocations: 360.4 kB / 0.8213 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006037/0.7762, allocations: 1.191 MB / 0.8225 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.7822, allocations: 3.086 MB / 0.8255 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.7835, allocations: 1.392 MB / 0.8269 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.7841, allocations: 155.4 kB / 0.827 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.7841, allocations: 0 / 0.827 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.05218/0.8363, allocations: 35.33 MB / 0.8615 GB, free: 448 kB / 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)