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.0008179/0.0008181, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.001007/0.001007, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.363/1.363, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7296/0.7296, allocations: 115.5 MB / 408.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004411, allocations: 16 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4379, allocations: 77.52 MB / 0.5606 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06804/0.5059, allocations: 75.28 MB / 0.6341 GB, free: 7.969 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02791/0.5339, allocations: 18.77 MB / 0.6524 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004573/0.5385, allocations: 95.38 kB / 0.6525 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.5423, allocations: 1.026 MB / 0.6535 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.553, allocations: 3.37 MB / 0.6568 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005651/0.5587, allocations: 1.91 MB / 0.6587 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01222/0.5709, allocations: 8.881 MB / 0.6673 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.5743, allocations: 1.698 MB / 0.669 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004814/0.5792, allocations: 1.89 MB / 0.6708 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.5826, allocations: 1.683 MB / 0.6725 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.5831, allocations: 80 kB / 0.6726 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004741/0.5878, allocations: 1.446 MB / 0.674 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006543/0.5885, allocations: 410.1 kB / 0.6744 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.5906, allocations: 1.117 MB / 0.6755 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.595, allocations: 2.804 MB / 0.6782 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.595, allocations: 4 kB / 0.6782 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.425e-06/0.595, allocations: 0 / 0.6782 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.086e-05/0.5951, allocations: 0 / 0.6782 GB, free: 10.66 MB / 0.5137 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.004384/0.5995, allocations: 2.302 MB / 0.6804 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5995, allocations: 15.97 kB / 0.6805 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007183/0.6002, allocations: 266 kB / 0.6807 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/0.6037, allocations: 1.965 MB / 0.6826 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.6038, allocations: 114.7 kB / 0.6827 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.6041, allocations: 136 kB / 0.6829 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.6069, allocations: 1.544 MB / 0.6844 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.607, allocations: 7.844 kB / 0.6844 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.6071, allocations: 67.92 kB / 0.6845 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.6072, allocations: 36 kB / 0.6845 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.6095, allocations: 1.169 MB / 0.6856 GB, free: 2.852 MB / 0.5137 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.00916/0.6187, allocations: 7.587 MB / 0.693 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.6198, allocations: 0.4888 MB / 0.6935 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/0.6205, allocations: 350.2 kB / 0.6939 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009423/0.6214, allocations: 1.156 MB / 0.695 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.6215, allocations: 43.12 kB / 0.695 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.645e-06/0.6215, allocations: 0 / 0.695 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.00242/0.6239, allocations: 1.032 MB / 0.696 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.624, allocations: 55.97 kB / 0.6961 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.6263, allocations: 1.752 MB / 0.6978 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.44e-05/0.6264, allocations: 45.7 kB / 0.6978 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007864/0.6272, allocations: 0.9239 MB / 0.6987 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.6275, allocations: 228.9 kB / 0.699 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.6276, allocations: 93.67 kB / 0.699 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6277, allocations: 353.9 kB / 0.6994 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.6285, allocations: 350.4 kB / 0.6997 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.6295, allocations: 0.7095 MB / 0.7004 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.6312, allocations: 1.055 MB / 0.7014 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.6312, allocations: 4 kB / 0.7014 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002543/0.6338, allocations: 1.256 MB / 0.7027 GB, free: 164 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.6338, allocations: 8 kB / 0.7027 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.6338, allocations: 12.88 kB / 0.7027 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.6339, allocations: 12 kB / 0.7027 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.635, allocations: 323.6 kB / 0.703 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/0.635, allocations: 27.86 kB / 0.703 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.6367, allocations: 250.4 kB / 0.7033 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.6368, allocations: 55.94 kB / 0.7033 GB, free: 15.48 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.0008369/0.6376, allocations: 438.2 kB / 0.7037 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.638, allocations: 193.7 kB / 0.7039 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.64, allocations: 0.9114 MB / 0.7048 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.64, allocations: 4 kB / 0.7048 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.64, allocations: 0 / 0.7048 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/0.6414, allocations: 0.8464 MB / 0.7057 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004404/0.6458, allocations: 2.482 MB / 0.7081 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6459, allocations: 7.922 kB / 0.7081 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/0.6467, allocations: 212 kB / 0.7083 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.6467, allocations: 4 kB / 0.7083 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.6468, allocations: 16 kB / 0.7083 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.6468, allocations: 7.984 kB / 0.7083 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6468, allocations: 4 kB / 0.7083 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.6494, allocations: 1.398 MB / 0.7097 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/0.6503, allocations: 410.2 kB / 0.7101 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.6506, allocations: 12 kB / 0.7101 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6519, allocations: 127.7 kB / 0.7102 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.652, allocations: 52.44 kB / 0.7103 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.6521, allocations: 35.97 kB / 0.7103 GB, free: 8.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001803/0.6539, allocations: 1.216 MB / 0.7115 GB, free: 6.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6539, allocations: 0 / 0.7115 GB, free: 6.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001952/0.6559, allocations: 0.6395 MB / 0.7121 GB, free: 6.27 MB / 0.545 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.001229/0.6571, allocations: 0.5901 MB / 0.7127 GB, free: 5.684 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.659, allocations: 0.8508 MB / 0.7135 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.659, allocations: 1 kB / 0.7135 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007604/0.6597, allocations: 379.4 kB / 0.7139 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006874/0.6666, allocations: 1.22 MB / 0.7151 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.6726, allocations: 3.853 MB / 0.7188 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.6738, allocations: 1.384 MB / 0.7202 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/0.6744, allocations: 159.4 kB / 0.7203 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.6744, allocations: 0 / 0.7203 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.338/1.012, allocations: 34.36 MB / 0.7539 GB, free: 162.5 MB / 0.5762 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)