Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.184/2.184, allocations: 254.9 MB / 269.9 MB, free: 9.648 MB / 218.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.001369/0.001368, allocations: 192.6 kB / 329.5 MB, free: 1.172 MB / 250.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 2.38/2.38, allocations: 225.6 MB / 0.6001 GB, free: 2.285 MB / 426.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.0009726/0.0009721, allocations: 97.61 kB / 0.7074 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004722, allocations: 11.22 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1959, allocations: 109.1 MB / 0.9308 GB, free: 25.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1013/0.2973, allocations: 71.11 MB / 1 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03671/0.334, allocations: 17.48 MB / 1.017 GB, free: 360 kB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003919/0.338, allocations: 87.38 kB / 1.017 GB, free: 272 kB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.6777/1.016, allocations: 0.8709 MB / 1.018 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/1.028, allocations: 2.822 MB / 1.021 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006945/1.035, allocations: 1.456 MB / 1.022 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01586/1.051, allocations: 7.596 MB / 1.03 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004311/1.055, allocations: 1.534 MB / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005932/1.061, allocations: 1.859 MB / 1.033 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004551/1.066, allocations: 1.599 MB / 1.035 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0008636/1.067, allocations: 74.38 kB / 1.035 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005771/1.073, allocations: 0.8884 MB / 1.036 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/1.074, allocations: 392.5 kB / 1.036 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001958/1.076, allocations: 491.3 kB / 1.036 GB, free: 26.96 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005792/1.082, allocations: 2.636 MB / 1.039 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.082, allocations: 3.922 kB / 1.039 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.626e-06/1.082, allocations: 0 / 1.039 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001147/1.082, allocations: 3.938 kB / 1.039 GB, free: 26.75 MB / 0.6667 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.006908/1.089, allocations: 2.304 MB / 1.041 GB, free: 25.52 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.089, allocations: 10.88 kB / 1.041 GB, free: 25.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/1.09, allocations: 262 kB / 1.042 GB, free: 25.39 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005951/1.096, allocations: 1.872 MB / 1.043 GB, free: 24.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/1.096, allocations: 111.3 kB / 1.043 GB, free: 24.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/1.097, allocations: 150.4 kB / 1.044 GB, free: 24.92 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005348/1.102, allocations: 1.516 MB / 1.045 GB, free: 24.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/1.102, allocations: 6.641 kB / 1.045 GB, free: 24.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/1.102, allocations: 55.31 kB / 1.045 GB, free: 24.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.939e-05/1.103, allocations: 45.31 kB / 1.045 GB, free: 24.67 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004661/1.107, allocations: 1.153 MB / 1.046 GB, free: 24.64 MB / 0.6667 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.01374/1.121, allocations: 7.567 MB / 1.054 GB, free: 20.29 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.123, allocations: 0.4921 MB / 1.054 GB, free: 20.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/1.124, allocations: 352.8 kB / 1.055 GB, free: 20.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.125, allocations: 1.161 MB / 1.056 GB, free: 18.91 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.125, allocations: 38.19 kB / 1.056 GB, free: 18.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 3.296e-06/1.125, allocations: 2.734 kB / 1.056 GB, free: 18.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.003836/1.129, allocations: 1.022 MB / 1.057 GB, free: 18.72 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/1.129, allocations: 58.56 kB / 1.057 GB, free: 18.66 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/1.132, allocations: 1.723 MB / 1.058 GB, free: 18.43 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002157/1.132, allocations: 49.27 kB / 1.059 GB, free: 18.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/1.133, allocations: 0.9175 MB / 1.059 GB, free: 18.07 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/1.134, allocations: 214.9 kB / 1.06 GB, free: 17.94 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/1.134, allocations: 20.44 kB / 1.06 GB, free: 17.94 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.134, allocations: 351.9 kB / 1.06 GB, free: 17.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/1.135, allocations: 347.5 kB / 1.06 GB, free: 17.63 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.136, allocations: 0.706 MB / 1.061 GB, free: 17.21 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/1.138, allocations: 465.2 kB / 1.061 GB, free: 17.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.138, allocations: 3.375 kB / 1.061 GB, free: 17.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003613/1.141, allocations: 1.257 MB / 1.063 GB, free: 16.96 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.141, allocations: 11.59 kB / 1.063 GB, free: 16.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.141, allocations: 9.844 kB / 1.063 GB, free: 16.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/1.142, allocations: 16.34 kB / 1.063 GB, free: 16.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.143, allocations: 312.7 kB / 1.063 GB, free: 16.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/1.143, allocations: 23 kB / 1.063 GB, free: 16.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/1.146, allocations: 248.3 kB / 1.063 GB, free: 16.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.146, allocations: 50.92 kB / 1.063 GB, free: 16.85 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001094/1.148, allocations: 436.8 kB / 1.064 GB, free: 16.71 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004587/1.148, allocations: 200.1 kB / 1.064 GB, free: 16.61 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/1.151, allocations: 0.8992 MB / 1.065 GB, free: 16.51 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/1.151, allocations: 8.484 kB / 1.065 GB, free: 16.51 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.151, allocations: 0.625 kB / 1.065 GB, free: 16.51 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/1.153, allocations: 0.8359 MB / 1.066 GB, free: 16.24 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/1.16, allocations: 2.47 MB / 1.068 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.16, allocations: 6.438 kB / 1.068 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.162, allocations: 203 kB / 1.068 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.162, allocations: 4.875 kB / 1.068 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/1.162, allocations: 20.52 kB / 1.068 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/1.162, allocations: 13.25 kB / 1.068 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.162, allocations: 1.438 kB / 1.068 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/1.166, allocations: 1.389 MB / 1.07 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/1.168, allocations: 390.4 kB / 1.07 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004809/1.168, allocations: 15.75 kB / 1.07 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002268/1.17, allocations: 130.2 kB / 1.07 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.171, allocations: 47.19 kB / 1.07 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.171, allocations: 31.75 kB / 1.07 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002826/1.174, allocations: 1.188 MB / 1.071 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.41e-07/1.174, allocations: 0 / 1.071 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00315/1.177, allocations: 0.6321 MB / 1.072 GB, free: 14.82 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/1.178, allocations: 0.5711 MB / 1.073 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002968/1.181, allocations: 0.8469 MB / 1.073 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.181, allocations: 1.188 kB / 1.073 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.183, allocations: 383.4 kB / 1.074 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/1.194, allocations: 1.21 MB / 1.075 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007306/1.202, allocations: 3.67 MB / 1.079 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.203, allocations: 1.406 MB / 1.08 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002637/1.205, allocations: 381.6 kB / 1.08 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/1.206, allocations: 144.1 kB / 1.08 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of SimCode: time 1.302e-06/1.206, allocations: 4 kB / 1.08 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of Templates: time 0.1055/1.312, allocations: 38.55 MB / 1.118 GB, free: 11.59 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)