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.00136/0.00136, allocations: 106.5 kB / 17.04 MB, free: 6.062 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.001185/0.001185, allocations: 196 kB / 17.98 MB, free: 5.148 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7181/0.7181, allocations: 115.1 MB / 407 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3487, allocations: 76.13 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06263/0.4113, allocations: 77.15 MB / 0.6329 GB, free: 7.242 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02526/0.4366, allocations: 18.88 MB / 0.6513 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003583/0.4403, allocations: 111.3 kB / 0.6514 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.4434, allocations: 1.242 MB / 0.6527 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009052/0.4524, allocations: 3.63 MB / 0.6562 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.4576, allocations: 2.096 MB / 0.6583 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009508/0.4671, allocations: 6.679 MB / 0.6648 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.4702, allocations: 2.09 MB / 0.6668 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004974/0.4752, allocations: 2.303 MB / 0.6691 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.4779, allocations: 1.749 MB / 0.6708 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.4783, allocations: 207.9 kB / 0.671 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.4824, allocations: 1.622 MB / 0.6726 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.4832, allocations: 0.5332 MB / 0.6731 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.4848, allocations: 1.256 MB / 0.6743 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005346/0.4902, allocations: 3.744 MB / 0.678 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4902, allocations: 0 / 0.678 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4902, allocations: 0 / 0.678 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.869e-05/0.4903, allocations: 0 / 0.678 GB, free: 8.973 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.004297/0.4946, allocations: 2.719 MB / 0.6806 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4946, allocations: 8.031 kB / 0.6806 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006806/0.4953, allocations: 273.9 kB / 0.6809 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.4987, allocations: 2.024 MB / 0.6829 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/0.4988, allocations: 106.7 kB / 0.683 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.499, allocations: 144 kB / 0.6831 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.5014, allocations: 1.52 MB / 0.6846 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.5015, allocations: 0 / 0.6846 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.5016, allocations: 63.98 kB / 0.6846 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.5016, allocations: 39.98 kB / 0.6847 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.5037, allocations: 1.122 MB / 0.6858 GB, free: 0.7656 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.007863/0.5116, allocations: 7.606 MB / 0.6932 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/0.5125, allocations: 472.6 kB / 0.6937 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.5131, allocations: 338.2 kB / 0.694 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000812/0.5139, allocations: 1.156 MB / 0.6951 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.514, allocations: 47.16 kB / 0.6952 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.695e-06/0.514, allocations: 0 / 0.6952 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.002096/0.5161, allocations: 0.9612 MB / 0.6961 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.5162, allocations: 55.97 kB / 0.6961 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.5183, allocations: 1.779 MB / 0.6979 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.5184, allocations: 45.7 kB / 0.6979 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007236/0.5191, allocations: 0.9356 MB / 0.6988 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.5193, allocations: 216.9 kB / 0.699 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.5196, allocations: 230.7 kB / 0.6993 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5198, allocations: 345.9 kB / 0.6996 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/0.5204, allocations: 334.3 kB / 0.6999 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/0.5213, allocations: 0.6938 MB / 0.7006 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.5229, allocations: 1.005 MB / 0.7016 GB, free: 15.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.5229, allocations: 4 kB / 0.7016 GB, free: 15.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00214/0.525, allocations: 1.221 MB / 0.7028 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.5251, allocations: 10.03 kB / 0.7028 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5251, allocations: 15.94 kB / 0.7028 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.5251, allocations: 16 kB / 0.7028 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009999/0.5261, allocations: 292.1 kB / 0.7031 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.5262, allocations: 19.94 kB / 0.7031 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.5273, allocations: 162.4 kB / 0.7033 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.5274, allocations: 51.98 kB / 0.7033 GB, free: 13.57 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.0006431/0.528, allocations: 441.3 kB / 0.7037 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.5283, allocations: 193.7 kB / 0.7039 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.53, allocations: 0.8631 MB / 0.7048 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5301, allocations: 4 kB / 0.7048 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5301, allocations: 0 / 0.7048 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/0.5314, allocations: 0.7957 MB / 0.7055 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.5353, allocations: 2.455 MB / 0.7079 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/0.5354, allocations: 7.938 kB / 0.7079 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.5361, allocations: 176 kB / 0.7081 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.5361, allocations: 4 kB / 0.7081 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.5362, allocations: 16 kB / 0.7081 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.5362, allocations: 7.938 kB / 0.7081 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5362, allocations: 8 kB / 0.7082 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.5385, allocations: 1.34 MB / 0.7095 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006522/0.5392, allocations: 362.5 kB / 0.7098 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.5394, allocations: 16 kB / 0.7098 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009287/0.5403, allocations: 67.84 kB / 0.7099 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5404, allocations: 52.5 kB / 0.7099 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/0.5405, allocations: 39.91 kB / 0.71 GB, free: 6.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001697/0.5422, allocations: 1.235 MB / 0.7112 GB, free: 5.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5422, allocations: 0 / 0.7112 GB, free: 5.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002067/0.5443, allocations: 0.6629 MB / 0.7118 GB, free: 4.621 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.001144/0.5455, allocations: 0.6021 MB / 0.7124 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.5471, allocations: 0.8165 MB / 0.7132 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5472, allocations: 8.062 kB / 0.7132 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.5478, allocations: 354.9 kB / 0.7136 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/0.5524, allocations: 1.202 MB / 0.7147 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.5571, allocations: 3.058 MB / 0.7177 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009423/0.5581, allocations: 1.409 MB / 0.7191 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001172/0.5592, allocations: 379.4 kB / 0.7195 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/0.5595, allocations: 151.4 kB / 0.7196 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.5596, allocations: 0 / 0.7196 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.2985/0.8581, allocations: 41.63 MB / 0.7603 GB, free: 153.3 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)