Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 297.4 MB / 312.6 MB, free: 2.969 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 185.5 kB / 382.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 95.61 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003154, allocations: 8.594 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5684, allocations: 119.2 MB / 1.022 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03405/0.6025, allocations: 41.2 MB / 1.062 GB, free: 27.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.6163, allocations: 14.38 MB / 1.077 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.6187, allocations: 50.56 kB / 1.077 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.6206, allocations: 0.5225 MB / 1.077 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.6256, allocations: 1.729 MB / 1.079 GB, free: 13.95 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.6285, allocations: 1.084 MB / 1.08 GB, free: 13.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004403/0.6329, allocations: 4.507 MB / 1.084 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.6343, allocations: 0.8579 MB / 1.085 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.6366, allocations: 1.037 MB / 1.086 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.6378, allocations: 0.8611 MB / 1.087 GB, free: 10.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.6379, allocations: 37.25 kB / 1.087 GB, free: 10.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.6399, allocations: 0.7215 MB / 1.088 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.6401, allocations: 209.3 kB / 1.088 GB, free: 10.19 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005896/0.6407, allocations: 0.5713 MB / 1.088 GB, free: 9.848 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.6427, allocations: 1.836 MB / 1.09 GB, free: 9.297 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6427, allocations: 0 / 1.09 GB, free: 9.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6427, allocations: 0 / 1.09 GB, free: 9.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.6428, allocations: 0 / 1.09 GB, free: 9.297 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001841/0.6446, allocations: 1.3 MB / 1.091 GB, free: 8.402 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6447, allocations: 9.156 kB / 1.092 GB, free: 8.402 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.6449, allocations: 136 kB / 1.092 GB, free: 8.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.6463, allocations: 1.053 MB / 1.093 GB, free: 7.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.6464, allocations: 57.62 kB / 1.093 GB, free: 7.664 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-05/0.6465, allocations: 80.44 kB / 1.093 GB, free: 7.637 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6476, allocations: 0.7941 MB / 1.094 GB, free: 7.266 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.6476, allocations: 0 / 1.094 GB, free: 7.266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.6477, allocations: 26.81 kB / 1.094 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.6477, allocations: 28 kB / 1.094 GB, free: 7.238 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009604/0.6487, allocations: 0.5856 MB / 1.094 GB, free: 7.043 MB / 0.698 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.003053/0.6518, allocations: 3.561 MB / 1.098 GB, free: 4.445 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.6523, allocations: 265 kB / 1.098 GB, free: 4.348 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.6526, allocations: 186.7 kB / 1.098 GB, free: 4.285 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.6529, allocations: 0.6563 MB / 1.099 GB, free: 3.527 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.653, allocations: 37.56 kB / 1.099 GB, free: 3.484 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.653, allocations: 4 kB / 1.099 GB, free: 3.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001005/0.654, allocations: 0.5381 MB / 1.099 GB, free: 3.289 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.654, allocations: 54.25 kB / 1.099 GB, free: 3.227 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/0.6549, allocations: 0.9205 MB / 1.1 GB, free: 2.828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.655, allocations: 36.52 kB / 1.1 GB, free: 2.789 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.6552, allocations: 0.4899 MB / 1.101 GB, free: 2.395 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.6553, allocations: 112.4 kB / 1.101 GB, free: 2.305 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.6553, allocations: 10.88 kB / 1.101 GB, free: 2.297 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.6554, allocations: 330.7 kB / 1.101 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.6557, allocations: 175.5 kB / 1.101 GB, free: 1.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.6561, allocations: 355.9 kB / 1.102 GB, free: 1.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.6568, allocations: 0.5214 MB / 1.102 GB, free: 1.312 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6568, allocations: 3.438 kB / 1.102 GB, free: 1.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009042/0.6577, allocations: 0.6364 MB / 1.103 GB, free: 1.051 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6577, allocations: 6.062 kB / 1.103 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6577, allocations: 6.375 kB / 1.103 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6578, allocations: 6.438 kB / 1.103 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.6582, allocations: 135 kB / 1.103 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.6582, allocations: 13.41 kB / 1.103 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.6589, allocations: 111.6 kB / 1.103 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.6589, allocations: 30.91 kB / 1.103 GB, free: 0.9727 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.000308/0.6592, allocations: 272.8 kB / 1.103 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6593, allocations: 107.2 kB / 1.104 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.6602, allocations: 0.492 MB / 1.104 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.6602, allocations: 7.375 kB / 1.104 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6602, allocations: 4.062 kB / 1.104 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005817/0.6608, allocations: 473.7 kB / 1.104 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.6626, allocations: 1.381 MB / 1.106 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.6627, allocations: 3.281 kB / 1.106 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.663, allocations: 83.23 kB / 1.106 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.663, allocations: 0 / 1.106 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.663, allocations: 10.38 kB / 1.106 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.663, allocations: 3.125 kB / 1.106 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6631, allocations: 4.156 kB / 1.106 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.6642, allocations: 0.7964 MB / 1.107 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.6645, allocations: 248 kB / 1.107 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6646, allocations: 11.22 kB / 1.107 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.6652, allocations: 50.73 kB / 1.107 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.6653, allocations: 27.77 kB / 1.107 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.6653, allocations: 20.8 kB / 1.107 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007292/0.666, allocations: 0.6304 MB / 1.108 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6661, allocations: 4 kB / 1.108 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008854/0.6669, allocations: 341.4 kB / 1.108 GB, free: 14.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006859/0.6676, allocations: 387.7 kB / 1.108 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000805/0.6685, allocations: 442.3 kB / 1.109 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6685, allocations: 0 / 1.109 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.6688, allocations: 194.8 kB / 1.109 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.6715, allocations: 0.6069 MB / 1.11 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.674, allocations: 1.984 MB / 1.111 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.6746, allocations: 1.038 MB / 1.112 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008138/0.6754, allocations: 192.7 kB / 1.113 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.6756, allocations: 81.92 kB / 1.113 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.6756, allocations: 0 / 1.113 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.04043/0.7161, allocations: 20.28 MB / 1.133 GB, free: 10.17 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)