Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7587/0.7587, allocations: 143.8 MB / 159.1 MB, free: 6.504 MB / 122.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.0009771/0.0009771, allocations: 179.3 kB / 192 MB, free: 6.723 MB / 154.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.38/1.38, allocations: 225.7 MB / 450.4 MB, free: 5.012 MB / 330.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.0007697/0.0007695, allocations: 103.5 kB / 0.5211 GB, free: 1.68 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001804, allocations: 278.2 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004306, allocations: 15.12 kB / 0.6948 GB, free: 59.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1685, allocations: 82.46 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0695/0.238, allocations: 76.63 MB / 0.8501 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02805/0.2661, allocations: 25.7 MB / 0.8752 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.2696, allocations: 87.38 kB / 0.8753 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.2726, allocations: 1.022 MB / 0.8763 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.009537/0.2821, allocations: 3.352 MB / 0.8796 GB, free: 348 kB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.2878, allocations: 1.911 MB / 0.8815 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.3006, allocations: 8.863 MB / 0.8901 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003942/0.3046, allocations: 1.674 MB / 0.8918 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.3105, allocations: 1.933 MB / 0.8936 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004106/0.3146, allocations: 1.703 MB / 0.8953 GB, free: 172 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0008424/0.3155, allocations: 76 kB / 0.8954 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3759/0.6914, allocations: 1.361 MB / 0.8967 GB, free: 29.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004795/0.6919, allocations: 393.2 kB / 0.8971 GB, free: 29.68 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.6934, allocations: 1.119 MB / 0.8982 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00491/0.6983, allocations: 3.567 MB / 0.9017 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6983, allocations: 0 / 0.9017 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6983, allocations: 0 / 0.9017 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.802e-05/0.6984, allocations: 0 / 0.9017 GB, free: 29.55 MB / 0.5573 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.004042/0.7024, allocations: 2.286 MB / 0.9039 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7025, allocations: 10.83 kB / 0.9039 GB, free: 28.37 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.703, allocations: 262.6 kB / 0.9042 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.706, allocations: 1.947 MB / 0.9061 GB, free: 27.77 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-05/0.7061, allocations: 109.6 kB / 0.9062 GB, free: 27.76 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.7063, allocations: 145.6 kB / 0.9063 GB, free: 27.76 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.7091, allocations: 1.524 MB / 0.9078 GB, free: 27.54 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.7092, allocations: 3.562 kB / 0.9078 GB, free: 27.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.7093, allocations: 59.88 kB / 0.9078 GB, free: 27.54 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.7093, allocations: 37.27 kB / 0.9079 GB, free: 27.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.7114, allocations: 1.165 MB / 0.909 GB, free: 27.51 MB / 0.5573 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.007963/0.7194, allocations: 7.586 MB / 0.9164 GB, free: 23.26 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009485/0.7204, allocations: 497.8 kB / 0.9169 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.721, allocations: 352.7 kB / 0.9172 GB, free: 23.22 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000704/0.7217, allocations: 1.154 MB / 0.9184 GB, free: 21.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.7218, allocations: 51.84 kB / 0.9184 GB, free: 21.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=59): time 2.605e-06/0.7218, allocations: 0 / 0.9184 GB, free: 21.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=59): time 0.002342/0.7241, allocations: 1.025 MB / 0.9194 GB, free: 21.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.7242, allocations: 57.91 kB / 0.9195 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.7264, allocations: 1.72 MB / 0.9211 GB, free: 21.41 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/0.7265, allocations: 42.95 kB / 0.9212 GB, free: 21.38 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007217/0.7272, allocations: 0.9226 MB / 0.9221 GB, free: 21.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.7274, allocations: 212.8 kB / 0.9223 GB, free: 20.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.7275, allocations: 24.28 kB / 0.9223 GB, free: 20.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.7276, allocations: 349.5 kB / 0.9226 GB, free: 20.62 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/0.7282, allocations: 348.7 kB / 0.923 GB, free: 20.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000863/0.7291, allocations: 0.7073 MB / 0.9237 GB, free: 20.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.7307, allocations: 1.047 MB / 0.9247 GB, free: 19.81 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.7307, allocations: 6.938 kB / 0.9247 GB, free: 19.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002428/0.7331, allocations: 1.247 MB / 0.9259 GB, free: 19.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.7331, allocations: 10 kB / 0.9259 GB, free: 19.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.7332, allocations: 10.75 kB / 0.9259 GB, free: 19.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.7332, allocations: 19.62 kB / 0.926 GB, free: 19.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7342, allocations: 313.1 kB / 0.9263 GB, free: 19.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/0.7343, allocations: 27.88 kB / 0.9263 GB, free: 19.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.7359, allocations: 250.3 kB / 0.9265 GB, free: 19.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.736, allocations: 47.41 kB / 0.9266 GB, free: 19.57 MB / 0.5573 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.0008307/0.7368, allocations: 440.2 kB / 0.927 GB, free: 19.45 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.7372, allocations: 194.8 kB / 0.9272 GB, free: 19.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.739, allocations: 0.9107 MB / 0.9281 GB, free: 19.26 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.7391, allocations: 10.62 kB / 0.9281 GB, free: 19.26 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.7391, allocations: 0.7031 kB / 0.9281 GB, free: 19.26 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/0.7402, allocations: 0.8337 MB / 0.9289 GB, free: 18.99 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/0.7441, allocations: 2.465 MB / 0.9313 GB, free: 18.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.7442, allocations: 3.281 kB / 0.9313 GB, free: 18.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/0.7449, allocations: 212.5 kB / 0.9315 GB, free: 18.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.745, allocations: 5.625 kB / 0.9315 GB, free: 18.53 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.745, allocations: 18.02 kB / 0.9315 GB, free: 18.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.745, allocations: 16.19 kB / 0.9315 GB, free: 18.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.745, allocations: 3 kB / 0.9315 GB, free: 18.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.7472, allocations: 1.39 MB / 0.9329 GB, free: 18.19 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.748, allocations: 403.5 kB / 0.9333 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.7482, allocations: 10.19 kB / 0.9333 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.7492, allocations: 128.8 kB / 0.9334 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.7493, allocations: 54.12 kB / 0.9335 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.7494, allocations: 35.34 kB / 0.9335 GB, free: 17.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001551/0.751, allocations: 1.197 MB / 0.9347 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.751, allocations: 0 / 0.9347 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001964/0.7529, allocations: 0.633 MB / 0.9353 GB, free: 17.73 MB / 0.5573 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.00115/0.7541, allocations: 0.5999 MB / 0.9359 GB, free: 17.53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.7557, allocations: 0.8532 MB / 0.9367 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7557, allocations: 0 / 0.9367 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.7563, allocations: 374.4 kB / 0.9371 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/0.7618, allocations: 1.218 MB / 0.9383 GB, free: 17.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004997/0.7668, allocations: 3.801 MB / 0.942 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/0.7677, allocations: 1.401 MB / 0.9433 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001793/0.7695, allocations: 378.5 kB / 0.9437 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.7698, allocations: 153.7 kB / 0.9438 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/0.7698, allocations: 0 / 0.9438 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of Templates: time 0.06306/0.8329, allocations: 40.37 MB / 0.9833 GB, free: 4.199 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)