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.004527/0.004527, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.00108/0.00108, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9633/0.9633, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4153, allocations: 80.91 MB / 0.6647 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0741/0.4894, allocations: 77.15 MB / 0.74 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02657/0.5161, allocations: 18.85 MB / 0.7584 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003964/0.5201, allocations: 111.3 kB / 0.7585 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003724/0.5239, allocations: 1.285 MB / 0.7598 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.5348, allocations: 3.797 MB / 0.7635 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005773/0.5406, allocations: 2.091 MB / 0.7655 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.5513, allocations: 6.694 MB / 0.772 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004004/0.5553, allocations: 2.098 MB / 0.7741 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006622/0.562, allocations: 2.382 MB / 0.7764 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003609/0.5656, allocations: 1.764 MB / 0.7781 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007909/0.5664, allocations: 200 kB / 0.7783 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006592/0.573, allocations: 1.626 MB / 0.7799 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.5743, allocations: 0.5332 MB / 0.7804 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00294/0.5772, allocations: 1.248 MB / 0.7817 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007788/0.585, allocations: 3.753 MB / 0.7853 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5851, allocations: 0 / 0.7853 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5851, allocations: 0 / 0.7853 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001298/0.5852, allocations: 0 / 0.7853 GB, free: 5.68 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.006562/0.5918, allocations: 2.711 MB / 0.788 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.5918, allocations: 16.03 kB / 0.788 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009711/0.5928, allocations: 265.4 kB / 0.7882 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/0.597, allocations: 2.019 MB / 0.7902 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.893e-05/0.5971, allocations: 106.7 kB / 0.7903 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.5973, allocations: 143.9 kB / 0.7905 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002818/0.6001, allocations: 1.524 MB / 0.7919 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.6002, allocations: 3.938 kB / 0.7919 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.6003, allocations: 63.98 kB / 0.792 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/0.6004, allocations: 39.94 kB / 0.792 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.6026, allocations: 1.126 MB / 0.7931 GB, free: 13.47 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.009064/0.6117, allocations: 7.583 MB / 0.8006 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.6127, allocations: 490.1 kB / 0.801 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.6134, allocations: 330.3 kB / 0.8013 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009021/0.6143, allocations: 1.156 MB / 0.8025 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6143, allocations: 39.12 kB / 0.8025 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.454e-06/0.6143, allocations: 0 / 0.8025 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002431/0.6168, allocations: 0.969 MB / 0.8034 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6168, allocations: 55.97 kB / 0.8035 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.6193, allocations: 1.783 MB / 0.8052 GB, free: 176 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.6194, allocations: 45.7 kB / 0.8053 GB, free: 124 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/0.6203, allocations: 0.9317 MB / 0.8062 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.6205, allocations: 220.9 kB / 0.8064 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.6208, allocations: 226.7 kB / 0.8066 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.621, allocations: 345.9 kB / 0.807 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.6217, allocations: 330.4 kB / 0.8073 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.6227, allocations: 0.686 MB / 0.8079 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.6244, allocations: 1.016 MB / 0.8089 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.6244, allocations: 8 kB / 0.8089 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002536/0.627, allocations: 1.214 MB / 0.8101 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.627, allocations: 8 kB / 0.8101 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.6271, allocations: 12 kB / 0.8101 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.6271, allocations: 15.94 kB / 0.8102 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.6282, allocations: 300.2 kB / 0.8104 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.6282, allocations: 23.94 kB / 0.8105 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.6296, allocations: 162.4 kB / 0.8106 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.6297, allocations: 55.97 kB / 0.8107 GB, free: 10.29 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.0008157/0.6305, allocations: 445.3 kB / 0.8111 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.631, allocations: 189.7 kB / 0.8113 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.633, allocations: 0.8611 MB / 0.8121 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.633, allocations: 8 kB / 0.8121 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.633, allocations: 0 / 0.8121 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/0.6344, allocations: 0.8034 MB / 0.8129 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005063/0.6395, allocations: 2.447 MB / 0.8153 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6395, allocations: 256 / 0.8153 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.6404, allocations: 187.7 kB / 0.8155 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.6404, allocations: 4 kB / 0.8155 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.6404, allocations: 16 kB / 0.8155 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.6405, allocations: 4 kB / 0.8155 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6405, allocations: 4 kB / 0.8155 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.6432, allocations: 1.34 MB / 0.8168 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007386/0.644, allocations: 362.5 kB / 0.8172 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/0.6443, allocations: 16 kB / 0.8172 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.6456, allocations: 63.91 kB / 0.8172 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6457, allocations: 60.38 kB / 0.8173 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.6458, allocations: 31.97 kB / 0.8173 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002231/0.648, allocations: 1.239 MB / 0.8185 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.648, allocations: 0 / 0.8185 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002249/0.6503, allocations: 0.6551 MB / 0.8192 GB, free: 1.336 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.001545/0.6518, allocations: 0.6127 MB / 0.8198 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.6538, allocations: 0.8165 MB / 0.8206 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6538, allocations: 4.062 kB / 0.8206 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.6546, allocations: 354.9 kB / 0.8209 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005981/0.6606, allocations: 1.196 MB / 0.8221 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.6662, allocations: 3.054 MB / 0.8251 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.6674, allocations: 1.412 MB / 0.8264 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001634/0.6691, allocations: 376.3 kB / 0.8268 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/0.6695, allocations: 151.3 kB / 0.8269 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/0.6695, allocations: 0 / 0.8269 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of Templates: time 0.4239/1.093, 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)