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.001058/0.001058, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001083/0.001083, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7952/0.7952, allocations: 126.4 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.89 kB / 0.4953 GB, free: 3.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3275, allocations: 78.78 MB / 0.5723 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06605/0.3935, allocations: 77.27 MB / 0.6477 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02766/0.4213, allocations: 18.9 MB / 0.6662 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004686/0.426, allocations: 111.3 kB / 0.6663 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003878/0.4299, allocations: 1.238 MB / 0.6675 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.4412, allocations: 3.626 MB / 0.671 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005349/0.4466, allocations: 2.073 MB / 0.6731 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008495/0.4551, allocations: 6.688 MB / 0.6796 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003418/0.4585, allocations: 2.092 MB / 0.6816 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006069/0.4646, allocations: 2.582 MB / 0.6842 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.4677, allocations: 1.73 MB / 0.6858 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006514/0.4683, allocations: 200 kB / 0.686 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005018/0.4734, allocations: 1.603 MB / 0.6876 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008379/0.4742, allocations: 0.5371 MB / 0.6881 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002282/0.4765, allocations: 1.248 MB / 0.6893 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005998/0.4825, allocations: 3.712 MB / 0.693 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4826, allocations: 0 / 0.693 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4826, allocations: 4 kB / 0.693 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.625e-05/0.4826, allocations: 0 / 0.693 GB, free: 10.3 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.004469/0.4871, allocations: 2.715 MB / 0.6956 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4872, allocations: 11.97 kB / 0.6956 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007008/0.4879, allocations: 273.5 kB / 0.6959 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/0.4908, allocations: 1.898 MB / 0.6978 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.4908, allocations: 110.7 kB / 0.6979 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.491, allocations: 140 kB / 0.698 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.4935, allocations: 1.516 MB / 0.6995 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.4936, allocations: 8 kB / 0.6995 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.4937, allocations: 59.98 kB / 0.6995 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.4938, allocations: 40 kB / 0.6996 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.496, allocations: 1.134 MB / 0.7007 GB, free: 2.199 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.008482/0.5045, allocations: 7.966 MB / 0.7085 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.5055, allocations: 480.5 kB / 0.7089 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006367/0.5061, allocations: 332.2 kB / 0.7092 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008439/0.507, allocations: 1.152 MB / 0.7104 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.507, allocations: 47.11 kB / 0.7104 GB, free: 7.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.214e-06/0.507, allocations: 0 / 0.7104 GB, free: 7.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002308/0.5093, allocations: 0.9612 MB / 0.7113 GB, free: 6.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.5094, allocations: 59.97 kB / 0.7114 GB, free: 6.277 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.5116, allocations: 1.783 MB / 0.7131 GB, free: 4.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.5117, allocations: 41.7 kB / 0.7132 GB, free: 4.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007835/0.5125, allocations: 0.9316 MB / 0.7141 GB, free: 3.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.5128, allocations: 221 kB / 0.7143 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.513, allocations: 238.5 kB / 0.7145 GB, free: 3.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5132, allocations: 349.8 kB / 0.7149 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.5138, allocations: 330.4 kB / 0.7152 GB, free: 2.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009195/0.5148, allocations: 0.686 MB / 0.7158 GB, free: 1.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.5163, allocations: 1.012 MB / 0.7168 GB, free: 356 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5164, allocations: 4 kB / 0.7168 GB, free: 352 kB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002268/0.5186, allocations: 1.214 MB / 0.718 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5187, allocations: 8 kB / 0.718 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.5187, allocations: 12 kB / 0.718 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.5187, allocations: 19.98 kB / 0.7181 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009884/0.5197, allocations: 287.8 kB / 0.7183 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.5197, allocations: 23.94 kB / 0.7184 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5209, allocations: 158.4 kB / 0.7185 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/0.521, allocations: 63.92 kB / 0.7186 GB, free: 14.56 MB / 0.5606 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.0006301/0.5216, allocations: 430.3 kB / 0.719 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.5219, allocations: 193.7 kB / 0.7192 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.5236, allocations: 0.8765 MB / 0.72 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.5237, allocations: 4 kB / 0.72 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5237, allocations: 0 / 0.72 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/0.525, allocations: 0.8034 MB / 0.7208 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.5287, allocations: 2.443 MB / 0.7232 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5288, allocations: 8.25 kB / 0.7232 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/0.5295, allocations: 175.8 kB / 0.7234 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5295, allocations: 4 kB / 0.7234 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.5296, allocations: 16 kB / 0.7234 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.5296, allocations: 11.94 kB / 0.7234 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5296, allocations: 4 kB / 0.7234 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.532, allocations: 1.339 MB / 0.7247 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/0.5325, allocations: 366.5 kB / 0.7251 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.5328, allocations: 15.98 kB / 0.7251 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009593/0.5337, allocations: 71.77 kB / 0.7252 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5339, allocations: 52.44 kB / 0.7252 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.5339, allocations: 35.97 kB / 0.7252 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001607/0.5355, allocations: 1.239 MB / 0.7264 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5355, allocations: 0 / 0.7264 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001614/0.5372, allocations: 0.6512 MB / 0.7271 GB, free: 5.609 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.001049/0.5382, allocations: 0.6071 MB / 0.7277 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.5402, allocations: 0.8944 MB / 0.7285 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5402, allocations: 0 / 0.7285 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006848/0.5409, allocations: 358.9 kB / 0.7289 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/0.5462, allocations: 1.198 MB / 0.7301 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.5512, allocations: 3.105 MB / 0.7331 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.5523, allocations: 1.409 MB / 0.7345 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001561/0.5538, allocations: 382.8 kB / 0.7348 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.5541, allocations: 143.4 kB / 0.735 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.5541, allocations: 3.938 kB / 0.735 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.2944/0.8486, allocations: 41.76 MB / 0.7758 GB, free: 148.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)