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.001469/0.001469, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001979/0.001979, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9848/0.9848, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 64.55 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1757, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3996/0.5753, allocations: 76.64 MB / 0.6585 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02419/0.5996, allocations: 18.93 MB / 0.677 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004669/0.6043, allocations: 99.06 kB / 0.6771 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004008/0.6084, allocations: 1.03 MB / 0.6781 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.6191, allocations: 3.367 MB / 0.6814 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006485/0.6256, allocations: 1.895 MB / 0.6833 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01416/0.6398, allocations: 8.884 MB / 0.692 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0041/0.6439, allocations: 1.732 MB / 0.6936 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005916/0.6499, allocations: 1.934 MB / 0.6955 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/0.6544, allocations: 1.775 MB / 0.6973 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007438/0.6551, allocations: 96.66 kB / 0.6974 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005464/0.6606, allocations: 1.462 MB / 0.6988 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.6617, allocations: 458.2 kB / 0.6992 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.6644, allocations: 1.146 MB / 0.7003 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006247/0.6706, allocations: 3.645 MB / 0.7039 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6706, allocations: 0 / 0.7039 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6707, allocations: 1.031 kB / 0.7039 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.31e-05/0.6707, allocations: 0 / 0.7039 GB, free: 12.39 MB / 0.5294 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.005286/0.676, allocations: 2.715 MB / 0.7066 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6761, allocations: 9.531 kB / 0.7066 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008357/0.6769, allocations: 268.4 kB / 0.7068 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.6803, allocations: 1.975 MB / 0.7087 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.206e-05/0.6804, allocations: 104.2 kB / 0.7088 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.6807, allocations: 139.5 kB / 0.709 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.6837, allocations: 1.527 MB / 0.7105 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.6838, allocations: 14.09 kB / 0.7105 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.6839, allocations: 63.45 kB / 0.7105 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.684, allocations: 39.09 kB / 0.7106 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.6868, allocations: 1.124 MB / 0.7117 GB, free: 7.203 MB / 0.5294 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.009383/0.6962, allocations: 7.567 MB / 0.7191 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.6971, allocations: 476.3 kB / 0.7195 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.6978, allocations: 337.4 kB / 0.7198 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008164/0.6986, allocations: 1.145 MB / 0.721 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6986, allocations: 40.5 kB / 0.721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.365e-06/0.6986, allocations: 0 / 0.721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.00224/0.7009, allocations: 0.9669 MB / 0.7219 GB, free: 14.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.7009, allocations: 64.31 kB / 0.722 GB, free: 14.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.703, allocations: 1.759 MB / 0.7237 GB, free: 13.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.7031, allocations: 38.67 kB / 0.7238 GB, free: 13.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/0.7039, allocations: 0.9272 MB / 0.7247 GB, free: 12.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.7041, allocations: 224.9 kB / 0.7249 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.7044, allocations: 226.7 kB / 0.7251 GB, free: 11.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7045, allocations: 353.9 kB / 0.7254 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.7052, allocations: 330.4 kB / 0.7258 GB, free: 10.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009484/0.7061, allocations: 0.686 MB / 0.7264 GB, free: 10.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.7077, allocations: 1.016 MB / 0.7274 GB, free: 9.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.7077, allocations: 4 kB / 0.7274 GB, free: 9 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002295/0.71, allocations: 1.21 MB / 0.7286 GB, free: 7.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.7101, allocations: 8.125 kB / 0.7286 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.7101, allocations: 12 kB / 0.7286 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.7101, allocations: 19.94 kB / 0.7286 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.7111, allocations: 287.6 kB / 0.7289 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/0.7112, allocations: 27.86 kB / 0.7289 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.7131, allocations: 242.4 kB / 0.7292 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/0.7132, allocations: 48 kB / 0.7292 GB, free: 7.148 MB / 0.545 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.000832/0.714, allocations: 445.4 kB / 0.7296 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.7144, allocations: 189.7 kB / 0.7298 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.7162, allocations: 0.8709 MB / 0.7307 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.7162, allocations: 15.92 kB / 0.7307 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7163, allocations: 0 / 0.7307 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/0.7176, allocations: 0.7879 MB / 0.7315 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004564/0.7222, allocations: 2.435 MB / 0.7338 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.7222, allocations: 4 kB / 0.7338 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.723, allocations: 184 kB / 0.734 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.723, allocations: 7.938 kB / 0.734 GB, free: 2.086 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.723, allocations: 19.98 kB / 0.734 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.723, allocations: 4 kB / 0.734 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.723, allocations: 0 / 0.734 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.7255, allocations: 1.335 MB / 0.7353 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/0.7264, allocations: 370.4 kB / 0.7357 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.7267, allocations: 15.98 kB / 0.7357 GB, free: 292 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.7279, allocations: 109.7 kB / 0.7358 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.728, allocations: 56.44 kB / 0.7359 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/0.7281, allocations: 35.97 kB / 0.7359 GB, free: 92 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001886/0.73, allocations: 1.224 MB / 0.7371 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.73, allocations: 0 / 0.7371 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002152/0.7322, allocations: 0.6317 MB / 0.7377 GB, free: 14.21 MB / 0.5606 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.001236/0.7334, allocations: 0.5905 MB / 0.7383 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.7353, allocations: 0.8117 MB / 0.7391 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.7353, allocations: 0 / 0.7391 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.736, allocations: 356.4 kB / 0.7394 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007067/0.7431, allocations: 1.205 MB / 0.7406 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/0.7495, allocations: 3.739 MB / 0.7443 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.7508, allocations: 1.401 MB / 0.7456 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002267/0.7531, allocations: 384.7 kB / 0.746 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/0.7537, allocations: 143.4 kB / 0.7461 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of SimCode: time 1.223e-06/0.7537, allocations: 3.938 kB / 0.7461 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of Templates: time 0.0679/0.8216, allocations: 39.84 MB / 0.785 GB, free: 14.15 MB / 0.6075 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)