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.001118/0.001118, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001641/0.001641, allocations: 191.3 kB / 17.87 MB, free: 5.293 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.349/1.349, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7999/0.7999, allocations: 122.8 MB / 414.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 67.89 kB / 0.4917 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4202, allocations: 77.92 MB / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07034/0.4906, allocations: 77.14 MB / 0.6432 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02896/0.5196, allocations: 18.88 MB / 0.6616 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004482/0.5241, allocations: 107.4 kB / 0.6617 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.5284, allocations: 1.246 MB / 0.6629 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.5392, allocations: 3.63 MB / 0.6665 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.5452, allocations: 2.079 MB / 0.6685 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009455/0.5546, allocations: 6.667 MB / 0.675 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003729/0.5584, allocations: 2.1 MB / 0.6771 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005564/0.564, allocations: 2.295 MB / 0.6793 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003218/0.5672, allocations: 1.746 MB / 0.681 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007332/0.568, allocations: 203.9 kB / 0.6812 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00475/0.5727, allocations: 1.618 MB / 0.6828 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009775/0.5737, allocations: 0.5371 MB / 0.6833 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002653/0.5764, allocations: 1.248 MB / 0.6845 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006851/0.5832, allocations: 3.7 MB / 0.6881 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5833, allocations: 0 / 0.6881 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5833, allocations: 0 / 0.6881 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001248/0.5834, allocations: 0 / 0.6881 GB, free: 15.29 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.005801/0.5892, allocations: 2.711 MB / 0.6908 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.5893, allocations: 12.62 kB / 0.6908 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.5901, allocations: 269.9 kB / 0.6911 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.5929, allocations: 1.903 MB / 0.6929 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.593, allocations: 106.7 kB / 0.693 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.5932, allocations: 140 kB / 0.6932 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/0.5957, allocations: 1.53 MB / 0.6946 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.5957, allocations: 0 / 0.6946 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.5959, allocations: 60 kB / 0.6947 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.5959, allocations: 36 kB / 0.6947 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.5981, allocations: 1.126 MB / 0.6958 GB, free: 7.207 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.007981/0.606, allocations: 7.665 MB / 0.7033 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.607, allocations: 472.6 kB / 0.7038 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.6076, allocations: 334.3 kB / 0.7041 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008615/0.6085, allocations: 1.145 MB / 0.7052 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.6086, allocations: 47.16 kB / 0.7053 GB, free: 12.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.524e-06/0.6086, allocations: 0 / 0.7053 GB, free: 12.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002182/0.6108, allocations: 0.9612 MB / 0.7062 GB, free: 11.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.6108, allocations: 59.97 kB / 0.7063 GB, free: 11.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.613, allocations: 1.787 MB / 0.708 GB, free: 9.844 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.613, allocations: 41.7 kB / 0.708 GB, free: 9.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007076/0.6138, allocations: 0.9355 MB / 0.7089 GB, free: 8.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.6139, allocations: 213 kB / 0.7092 GB, free: 8.641 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.6142, allocations: 234.6 kB / 0.7094 GB, free: 8.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6144, allocations: 353.8 kB / 0.7097 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006626/0.615, allocations: 334.3 kB / 0.71 GB, free: 7.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/0.616, allocations: 0.6938 MB / 0.7107 GB, free: 6.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.6175, allocations: 1.008 MB / 0.7117 GB, free: 5.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.6175, allocations: 0 / 0.7117 GB, free: 5.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002197/0.6197, allocations: 1.217 MB / 0.7129 GB, free: 4.504 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.6198, allocations: 12.88 kB / 0.7129 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.6198, allocations: 8 kB / 0.7129 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.6198, allocations: 20 kB / 0.7129 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/0.6208, allocations: 287.5 kB / 0.7132 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.6209, allocations: 19.94 kB / 0.7132 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.622, allocations: 170.4 kB / 0.7134 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.6221, allocations: 51.98 kB / 0.7134 GB, free: 3.945 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.0006676/0.6228, allocations: 433.4 kB / 0.7138 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.6231, allocations: 197.6 kB / 0.714 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.6249, allocations: 0.87 MB / 0.7149 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.6249, allocations: 8 kB / 0.7149 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6249, allocations: 4 kB / 0.7149 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/0.6262, allocations: 0.7879 MB / 0.7157 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/0.63, allocations: 2.451 MB / 0.7181 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.63, allocations: 3.938 kB / 0.7181 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.6308, allocations: 180 kB / 0.7182 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.6308, allocations: 4 kB / 0.7182 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.6308, allocations: 20 kB / 0.7183 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.6308, allocations: 7.938 kB / 0.7183 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6309, allocations: 4 kB / 0.7183 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.6332, allocations: 1.335 MB / 0.7196 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.6338, allocations: 362.5 kB / 0.7199 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.634, allocations: 16 kB / 0.7199 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.6349, allocations: 71.81 kB / 0.72 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.6351, allocations: 44.5 kB / 0.72 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.6351, allocations: 39.97 kB / 0.7201 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00162/0.6368, allocations: 1.239 MB / 0.7213 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6368, allocations: 3.938 kB / 0.7213 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001675/0.6384, allocations: 0.6667 MB / 0.7219 GB, free: 10.98 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.001095/0.6396, allocations: 0.5983 MB / 0.7225 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00195/0.6415, allocations: 0.8906 MB / 0.7234 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6415, allocations: 0 / 0.7234 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.6422, allocations: 359.4 kB / 0.7237 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0051/0.6473, allocations: 1.208 MB / 0.7249 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.652, allocations: 3.136 MB / 0.728 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009429/0.6529, allocations: 1.384 MB / 0.7293 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.6534, allocations: 155.4 kB / 0.7295 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.6534, allocations: 0 / 0.7295 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.3199/0.9733, allocations: 34.87 MB / 0.7635 GB, free: 150.2 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)