Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001232/0.001232, allocations: 96.19 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 176.4 kB / 16.57 MB, free: 6.391 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.305/1.305, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.66/0.66, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 8.906 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3266/0.4549, allocations: 64.4 MB / 0.6197 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03576/0.4907, allocations: 16.25 MB / 0.6356 GB, free: 3.668 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005047/0.4958, allocations: 89.31 kB / 0.6357 GB, free: 3.629 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006066/0.5019, allocations: 1.176 MB / 0.6368 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.5181, allocations: 3.537 MB / 0.6403 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0105/0.5287, allocations: 2.303 MB / 0.6425 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.5391, allocations: 3.872 MB / 0.6463 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003611/0.5427, allocations: 1.467 MB / 0.6477 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004915/0.5477, allocations: 1.645 MB / 0.6494 GB, free: 9.734 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.5506, allocations: 1.076 MB / 0.6504 GB, free: 9.113 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003627/0.551, allocations: 73.94 kB / 0.6505 GB, free: 9.113 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/0.5561, allocations: 1.011 MB / 0.6515 GB, free: 8.738 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006997/0.5569, allocations: 377.6 kB / 0.6518 GB, free: 8.469 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009785/0.5579, allocations: 492.1 kB / 0.6523 GB, free: 8.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004174/0.562, allocations: 2.644 MB / 0.6549 GB, free: 5.574 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5621, allocations: 4 kB / 0.6549 GB, free: 5.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5621, allocations: 4 kB / 0.6549 GB, free: 5.566 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001364/0.5622, allocations: 0 / 0.6549 GB, free: 5.566 MB / 478.1 MB 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.005401/0.5676, allocations: 2.318 MB / 0.6571 GB, free: 3.184 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5677, allocations: 8.031 kB / 0.6571 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/0.5687, allocations: 261.1 kB / 0.6574 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003353/0.572, allocations: 1.779 MB / 0.6591 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.483e-05/0.5722, allocations: 118.6 kB / 0.6592 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.5724, allocations: 139.9 kB / 0.6594 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.575, allocations: 1.518 MB / 0.6609 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.575, allocations: 11.92 kB / 0.6609 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.5751, allocations: 59.94 kB / 0.6609 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.5752, allocations: 40 kB / 0.661 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.5774, allocations: 1.158 MB / 0.6621 GB, free: 13.97 MB / 494.1 MB 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.008197/0.5856, allocations: 7.65 MB / 0.6696 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.5866, allocations: 0.4925 MB / 0.6701 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.5873, allocations: 1.145 MB / 0.6712 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5874, allocations: 39.12 kB / 0.6712 GB, free: 3.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=59): time 2.315e-06/0.5874, allocations: 4 kB / 0.6712 GB, free: 3.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=59): time 0.002212/0.5896, allocations: 1.024 MB / 0.6722 GB, free: 2.758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.5897, allocations: 59.97 kB / 0.6723 GB, free: 2.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.5919, allocations: 1.83 MB / 0.6741 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/0.592, allocations: 41.7 kB / 0.6741 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.5927, allocations: 0.9318 MB / 0.675 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.5929, allocations: 217 kB / 0.6752 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.593, allocations: 20 kB / 0.6752 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5931, allocations: 345.9 kB / 0.6756 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007047/0.5938, allocations: 346.4 kB / 0.6759 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009082/0.5947, allocations: 0.7056 MB / 0.6766 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008315/0.5956, allocations: 470.7 kB / 0.677 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5956, allocations: 4 kB / 0.677 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002376/0.598, allocations: 1.249 MB / 0.6783 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.598, allocations: 12 kB / 0.6783 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.598, allocations: 8 kB / 0.6783 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.5981, allocations: 20 kB / 0.6783 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5992, allocations: 312.1 kB / 0.6786 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.674e-05/0.5992, allocations: 31.86 kB / 0.6786 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.6008, allocations: 251.5 kB / 0.6789 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/0.6009, allocations: 52 kB / 0.6789 GB, free: 11.67 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007062/0.6017, allocations: 445.3 kB / 0.6793 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.6019, allocations: 189.7 kB / 0.6795 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.6038, allocations: 0.9048 MB / 0.6804 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.6038, allocations: 8 kB / 0.6804 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6038, allocations: 4 kB / 0.6804 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/0.6051, allocations: 0.8347 MB / 0.6812 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.6092, allocations: 2.525 MB / 0.6837 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6092, allocations: 0 / 0.6837 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/0.61, allocations: 204 kB / 0.6839 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.61, allocations: 4 kB / 0.6839 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.6101, allocations: 27.92 kB / 0.6839 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.6101, allocations: 4 kB / 0.6839 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6101, allocations: 7.984 kB / 0.6839 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.6125, allocations: 1.541 MB / 0.6854 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/0.6133, allocations: 430.3 kB / 0.6858 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.6135, allocations: 15.98 kB / 0.6859 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.6146, allocations: 119.8 kB / 0.686 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6147, allocations: 48.45 kB / 0.686 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/0.6148, allocations: 39.97 kB / 0.6861 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001659/0.6165, allocations: 1.263 MB / 0.6873 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.994e-06/0.6165, allocations: 0 / 0.6873 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001748/0.6182, allocations: 0.6746 MB / 0.6879 GB, free: 2.121 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.6193, allocations: 0.603 MB / 0.6885 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.621, allocations: 0.8477 MB / 0.6894 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.621, allocations: 0 / 0.6894 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.6218, allocations: 379.6 kB / 0.6897 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005738/0.6275, allocations: 1.2 MB / 0.6909 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.6327, allocations: 3.68 MB / 0.6945 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.6338, allocations: 1.448 MB / 0.6959 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001692/0.6355, allocations: 379.3 kB / 0.6963 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.6359, allocations: 155.3 kB / 0.6964 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.6359, allocations: 4 kB / 0.6964 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of Templates: time 0.06131/0.6972, allocations: 39.86 MB / 0.7353 GB, free: 1.988 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)