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.00121/0.00121, allocations: 103.2 kB / 16.52 MB, free: 6.656 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.001269/0.001269, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7034/0.7034, allocations: 115.3 MB / 406.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.14 kB / 493.5 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4019, allocations: 76.17 MB / 0.5564 GB, free: 36.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07059/0.4726, allocations: 76.65 MB / 0.6312 GB, free: 7.863 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02942/0.502, allocations: 18.97 MB / 0.6497 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00581/0.5079, allocations: 99.38 kB / 0.6498 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004491/0.5125, allocations: 1.029 MB / 0.6508 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.5241, allocations: 3.373 MB / 0.6541 GB, free: 344 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006048/0.5301, allocations: 1.908 MB / 0.656 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01163/0.5418, allocations: 8.883 MB / 0.6647 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/0.5448, allocations: 1.731 MB / 0.6664 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004716/0.5495, allocations: 1.936 MB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003563/0.5531, allocations: 1.773 MB / 0.67 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005026/0.5536, allocations: 99.98 kB / 0.6701 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004524/0.5581, allocations: 1.461 MB / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006922/0.5589, allocations: 446.1 kB / 0.6719 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002672/0.5615, allocations: 1.146 MB / 0.6731 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004959/0.5665, allocations: 2.861 MB / 0.6759 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5666, allocations: 0 / 0.6759 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5666, allocations: 0 / 0.6759 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000123/0.5667, allocations: 0 / 0.6759 GB, free: 10.02 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.006617/0.5733, allocations: 2.719 MB / 0.6785 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5734, allocations: 11.97 kB / 0.6785 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.5743, allocations: 269.9 kB / 0.6788 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.5777, allocations: 1.97 MB / 0.6807 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.529e-05/0.5778, allocations: 106.7 kB / 0.6808 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.578, allocations: 147.8 kB / 0.6809 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.5807, allocations: 1.52 MB / 0.6824 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.5808, allocations: 11.94 kB / 0.6824 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.5809, allocations: 55.98 kB / 0.6825 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.581, allocations: 43.98 kB / 0.6825 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.5833, allocations: 1.126 MB / 0.6836 GB, free: 1.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.009921/0.5932, allocations: 7.571 MB / 0.691 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.5942, allocations: 472.5 kB / 0.6915 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.5949, allocations: 334.3 kB / 0.6918 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009293/0.5958, allocations: 1.152 MB / 0.6929 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.5959, allocations: 43.12 kB / 0.693 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.625e-06/0.5959, allocations: 4 kB / 0.693 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.002418/0.5983, allocations: 0.9652 MB / 0.6939 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.5984, allocations: 59.91 kB / 0.694 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.6007, allocations: 1.755 MB / 0.6957 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.6009, allocations: 37.7 kB / 0.6957 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008024/0.6017, allocations: 0.9317 MB / 0.6966 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.6019, allocations: 221 kB / 0.6968 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.6023, allocations: 230.6 kB / 0.6971 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6024, allocations: 357.9 kB / 0.6974 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/0.6031, allocations: 322.4 kB / 0.6977 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.6042, allocations: 0.6899 MB / 0.6984 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.6058, allocations: 1.012 MB / 0.6994 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.6058, allocations: 4 kB / 0.6994 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002531/0.6084, allocations: 1.214 MB / 0.7006 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.6084, allocations: 11.98 kB / 0.7006 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6085, allocations: 8 kB / 0.7006 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.6085, allocations: 16 kB / 0.7006 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000999/0.6095, allocations: 295.3 kB / 0.7009 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.6095, allocations: 19.94 kB / 0.7009 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.6111, allocations: 238.4 kB / 0.7011 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.6112, allocations: 55.98 kB / 0.7012 GB, free: 14.64 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.0007931/0.612, allocations: 438 kB / 0.7016 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/0.6124, allocations: 189.7 kB / 0.7018 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.6142, allocations: 0.8718 MB / 0.7026 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6142, allocations: 8 kB / 0.7026 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6142, allocations: 0 / 0.7026 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/0.6155, allocations: 0.7996 MB / 0.7034 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/0.6198, allocations: 2.416 MB / 0.7058 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6198, allocations: 7.938 kB / 0.7058 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/0.6206, allocations: 184 kB / 0.706 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.6206, allocations: 4 kB / 0.706 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.6207, allocations: 16 kB / 0.706 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.6207, allocations: 4 kB / 0.706 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6207, allocations: 4 kB / 0.706 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.6232, allocations: 1.343 MB / 0.7073 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/0.624, allocations: 370.4 kB / 0.7076 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.6242, allocations: 12 kB / 0.7077 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.6253, allocations: 115.7 kB / 0.7078 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.6254, allocations: 56.42 kB / 0.7078 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.6255, allocations: 39.97 kB / 0.7079 GB, free: 7.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00171/0.6272, allocations: 1.212 MB / 0.709 GB, free: 6.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6272, allocations: 0 / 0.709 GB, free: 6.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001815/0.629, allocations: 0.6357 MB / 0.7097 GB, free: 5.723 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.001161/0.6302, allocations: 0.6038 MB / 0.7103 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.6319, allocations: 0.8048 MB / 0.711 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6319, allocations: 0 / 0.711 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007398/0.6327, allocations: 359.4 kB / 0.7114 GB, free: 3.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005669/0.6383, allocations: 1.197 MB / 0.7126 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/0.6435, allocations: 3.779 MB / 0.7162 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008719/0.6444, allocations: 1.392 MB / 0.7176 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.6448, allocations: 147.4 kB / 0.7177 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.6448, allocations: 0 / 0.7177 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.2992/0.9441, allocations: 34.66 MB / 0.7516 GB, free: 164 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)