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.007232/0.007233, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001656/0.001656, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9499/0.9499, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.5856 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.456, allocations: 80.92 MB / 0.6647 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07316/0.5292, allocations: 77.14 MB / 0.74 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02691/0.5562, allocations: 18.85 MB / 0.7584 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004451/0.5607, allocations: 107.4 kB / 0.7585 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003556/0.5642, allocations: 1.246 MB / 0.7597 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.5748, allocations: 3.621 MB / 0.7633 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/0.5801, allocations: 2.088 MB / 0.7653 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009297/0.5894, allocations: 6.674 MB / 0.7718 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.5927, allocations: 2.104 MB / 0.7739 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/0.5982, allocations: 2.307 MB / 0.7761 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.6014, allocations: 1.759 MB / 0.7778 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005577/0.602, allocations: 200 kB / 0.778 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006135/0.6081, allocations: 1.622 MB / 0.7796 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008766/0.609, allocations: 0.5449 MB / 0.7801 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.6117, allocations: 1.248 MB / 0.7814 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00692/0.6186, allocations: 3.76 MB / 0.785 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6187, allocations: 4 kB / 0.785 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6187, allocations: 0 / 0.785 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.077e-05/0.6187, allocations: 0 / 0.785 GB, free: 5.965 MB / 0.6075 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.004747/0.6235, allocations: 2.798 MB / 0.7878 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6235, allocations: 8.031 kB / 0.7878 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006865/0.6242, allocations: 278.7 kB / 0.788 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/0.6273, allocations: 2.04 MB / 0.79 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.33e-05/0.6274, allocations: 106.7 kB / 0.7901 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.6276, allocations: 148 kB / 0.7903 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.6301, allocations: 1.516 MB / 0.7918 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.6302, allocations: 8 kB / 0.7918 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.6303, allocations: 56 kB / 0.7918 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.716e-05/0.6304, allocations: 43.88 kB / 0.7919 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.6326, allocations: 1.126 MB / 0.793 GB, free: 13.64 MB / 0.6231 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.007786/0.6404, allocations: 7.616 MB / 0.8004 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009641/0.6413, allocations: 490.1 kB / 0.8009 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.642, allocations: 334.2 kB / 0.8012 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008686/0.6429, allocations: 1.148 MB / 0.8023 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.6429, allocations: 47.12 kB / 0.8024 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.144e-06/0.6429, allocations: 0 / 0.8024 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.0022/0.6451, allocations: 0.9701 MB / 0.8033 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.6452, allocations: 59.97 kB / 0.8034 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.6473, allocations: 1.779 MB / 0.8051 GB, free: 320 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.6474, allocations: 41.7 kB / 0.8051 GB, free: 272 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007573/0.6482, allocations: 0.949 MB / 0.8061 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.6484, allocations: 234 kB / 0.8063 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.6487, allocations: 226.8 kB / 0.8065 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6488, allocations: 357.8 kB / 0.8068 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.6495, allocations: 326.4 kB / 0.8072 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009482/0.6504, allocations: 0.686 MB / 0.8078 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.652, allocations: 1.012 MB / 0.8088 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6521, allocations: 4 kB / 0.8088 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002179/0.6542, allocations: 1.231 MB / 0.81 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6543, allocations: 8 kB / 0.81 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6543, allocations: 12 kB / 0.81 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.6543, allocations: 16 kB / 0.8101 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6553, allocations: 291.5 kB / 0.8103 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.6554, allocations: 19.94 kB / 0.8104 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6565, allocations: 171 kB / 0.8105 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.6566, allocations: 55.98 kB / 0.8106 GB, free: 10.39 MB / 0.6387 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.0006142/0.6572, allocations: 429.4 kB / 0.811 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.6575, allocations: 202.7 kB / 0.8112 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.6593, allocations: 0.8727 MB / 0.812 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.6593, allocations: 8 kB / 0.812 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6593, allocations: 4 kB / 0.812 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/0.6606, allocations: 0.7955 MB / 0.8128 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/0.6644, allocations: 2.451 MB / 0.8152 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6644, allocations: 4 kB / 0.8152 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.6652, allocations: 180 kB / 0.8154 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.6652, allocations: 4 kB / 0.8154 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.6653, allocations: 19.94 kB / 0.8154 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.6653, allocations: 8 kB / 0.8154 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6653, allocations: 0 / 0.8154 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.6677, allocations: 1.345 MB / 0.8167 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/0.6683, allocations: 379.5 kB / 0.8171 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.6685, allocations: 12 kB / 0.8171 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/0.6695, allocations: 75.86 kB / 0.8172 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6696, allocations: 52.38 kB / 0.8172 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/0.6697, allocations: 35.97 kB / 0.8173 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0017/0.6714, allocations: 1.239 MB / 0.8185 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.714e-06/0.6714, allocations: 4 kB / 0.8185 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001585/0.673, allocations: 0.6587 MB / 0.8191 GB, free: 1.402 MB / 0.6387 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.001159/0.6741, allocations: 0.608 MB / 0.8197 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.676, allocations: 0.8115 MB / 0.8205 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.676, allocations: 1.188 kB / 0.8205 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.6767, allocations: 363.3 kB / 0.8208 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004757/0.6815, allocations: 1.188 MB / 0.822 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.6863, allocations: 3.12 MB / 0.8251 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/0.6872, allocations: 1.405 MB / 0.8264 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001216/0.6885, allocations: 383.3 kB / 0.8268 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.6888, allocations: 147.4 kB / 0.8269 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of SimCode: time 1.112e-06/0.6888, allocations: 0 / 0.8269 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of Templates: time 0.3981/1.087, allocations: 41.91 MB / 0.8679 GB, free: 184.4 MB / 0.6856 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)