Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7979/0.7979, allocations: 143.8 MB / 159.1 MB, free: 6.52 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.0009486/0.0009487, allocations: 171.3 kB / 192 MB, free: 6.734 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.454/1.454, allocations: 225.7 MB / 450.4 MB, free: 4.953 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.0008788/0.0008787, allocations: 103.3 kB / 0.5211 GB, free: 1.613 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.001737/0.001737, allocations: 278.5 kB / 0.6025 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004405, allocations: 13.88 kB / 0.6948 GB, free: 59.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1777, allocations: 82.45 MB / 0.7753 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03969/0.2174, allocations: 41.19 MB / 0.8155 GB, free: 4.492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.2353, allocations: 14.41 MB / 0.8296 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.2374, allocations: 51.62 kB / 0.8296 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.2396, allocations: 0.5322 MB / 0.8302 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005784/0.2454, allocations: 1.738 MB / 0.8319 GB, free: 2.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.2489, allocations: 1.08 MB / 0.8329 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.006111/0.255, allocations: 4.495 MB / 0.8373 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.257, allocations: 0.8654 MB / 0.8382 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.26, allocations: 1.042 MB / 0.8392 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.2619, allocations: 0.867 MB / 0.84 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.2623, allocations: 36 kB / 0.8401 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.2649, allocations: 0.7287 MB / 0.8408 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004798/0.2654, allocations: 199 kB / 0.841 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.2667, allocations: 0.5807 MB / 0.8415 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.2705, allocations: 1.826 MB / 0.8433 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.2706, allocations: 4 kB / 0.8433 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.116e-06/0.2706, allocations: 0 / 0.8433 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.204e-05/0.2706, allocations: 0 / 0.8433 GB, free: 6.887 MB / 0.5105 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.002633/0.2733, allocations: 1.293 MB / 0.8446 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2733, allocations: 16.02 kB / 0.8446 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.2737, allocations: 131.4 kB / 0.8447 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.2754, allocations: 1.064 MB / 0.8458 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.2755, allocations: 57.98 kB / 0.8458 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/0.2756, allocations: 68 kB / 0.8459 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.277, allocations: 0.7905 MB / 0.8466 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.277, allocations: 11.94 kB / 0.8467 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.908e-05/0.2771, allocations: 28 kB / 0.8467 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.2771, allocations: 20 kB / 0.8467 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.2783, allocations: 0.5944 MB / 0.8473 GB, free: 2.688 MB / 0.5105 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.004238/0.2825, allocations: 3.544 MB / 0.8507 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.2831, allocations: 270.4 kB / 0.851 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.2834, allocations: 188.7 kB / 0.8512 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/0.284, allocations: 0.6609 MB / 0.8518 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.284, allocations: 38.56 kB / 0.8519 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.284, allocations: 3.938 kB / 0.8519 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.001236/0.2852, allocations: 0.5334 MB / 0.8524 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.2853, allocations: 59.41 kB / 0.8524 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.2865, allocations: 0.9175 MB / 0.8533 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.2866, allocations: 33.7 kB / 0.8534 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.287, allocations: 495.6 kB / 0.8538 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.2871, allocations: 118.4 kB / 0.854 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.2871, allocations: 8 kB / 0.854 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2873, allocations: 333.9 kB / 0.8543 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.2877, allocations: 177 kB / 0.8545 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.2881, allocations: 359 kB / 0.8548 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.289, allocations: 0.5188 MB / 0.8553 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.289, allocations: 8 kB / 0.8553 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001148/0.2901, allocations: 0.6253 MB / 0.8559 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2902, allocations: 12.12 kB / 0.8559 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2902, allocations: 4 kB / 0.8559 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2902, allocations: 8 kB / 0.8559 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.2907, allocations: 127.8 kB / 0.8561 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.2907, allocations: 15.92 kB / 0.8561 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/0.2915, allocations: 119.2 kB / 0.8562 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.2916, allocations: 35.92 kB / 0.8562 GB, free: 8.918 MB / 0.5261 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.0004575/0.292, allocations: 265.7 kB / 0.8565 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.2922, allocations: 98.78 kB / 0.8566 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2932, allocations: 0.4971 MB / 0.8571 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.2932, allocations: 4 kB / 0.8571 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2932, allocations: 0 / 0.8571 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007307/0.294, allocations: 477.2 kB / 0.8575 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.2962, allocations: 1.376 MB / 0.8589 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2963, allocations: 3.938 kB / 0.8589 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.2966, allocations: 88.03 kB / 0.8589 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.2967, allocations: 4 kB / 0.859 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.2967, allocations: 8 kB / 0.859 GB, free: 6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.2967, allocations: 7.938 kB / 0.859 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2967, allocations: 0 / 0.859 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.298, allocations: 0.7941 MB / 0.8597 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.2985, allocations: 247.6 kB / 0.86 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.2987, allocations: 8 kB / 0.86 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/0.2993, allocations: 52 kB / 0.86 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.2994, allocations: 27.97 kB / 0.8601 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.2995, allocations: 19.98 kB / 0.8601 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001162/0.3006, allocations: 0.6391 MB / 0.8607 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3007, allocations: 3.938 kB / 0.8607 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001288/0.3019, allocations: 327.4 kB / 0.861 GB, free: 3.828 MB / 0.5261 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.001092/0.3031, allocations: 397.8 kB / 0.8614 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.3041, allocations: 437.1 kB / 0.8618 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3041, allocations: 0 / 0.8618 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.3046, allocations: 202.1 kB / 0.862 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/0.308, allocations: 0.6069 MB / 0.8626 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.3115, allocations: 1.977 MB / 0.8645 GB, free: 196 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.3123, allocations: 1.04 MB / 0.8656 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001033/0.3133, allocations: 196.5 kB / 0.8657 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3136, allocations: 83.41 kB / 0.8658 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of SimCode: time 8.82e-07/0.3136, allocations: 4 kB / 0.8658 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.03525/0.3489, allocations: 20.29 MB / 0.8856 GB, free: 10.86 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)