Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.0009683/0.0009683, allocations: 183 kB / 330.8 MB, free: 480 kB / 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 1.678/1.678, allocations: 225.7 MB / 0.6016 GB, free: 1.641 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.000776/0.0007764, allocations: 109.4 kB / 0.709 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 19.98 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1833, allocations: 109.2 MB / 0.9327 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.037/0.2203, allocations: 41.2 MB / 0.973 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.2355, allocations: 14.33 MB / 0.987 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.2373, allocations: 47.69 kB / 0.987 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.239, allocations: 0.5244 MB / 0.9875 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004791/0.2438, allocations: 1.727 MB / 0.9892 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.2474, allocations: 1.045 MB / 0.9902 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005637/0.2531, allocations: 4.491 MB / 0.9946 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.2547, allocations: 0.8422 MB / 0.9954 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.2573, allocations: 1.042 MB / 0.9965 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.2591, allocations: 0.8553 MB / 0.9973 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.2594, allocations: 36 kB / 0.9973 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.2618, allocations: 0.7325 MB / 0.9981 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.2622, allocations: 203 kB / 0.9982 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.2634, allocations: 0.5691 MB / 0.9988 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.4177/0.6811, allocations: 1.807 MB / 1.001 GB, free: 25.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.6812, allocations: 0.75 kB / 1.001 GB, free: 25.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.062e-06/0.6812, allocations: 1.641 kB / 1.001 GB, free: 25.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.069e-05/0.6812, allocations: 0 / 1.001 GB, free: 25.95 MB / 0.6355 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.00316/0.6844, allocations: 1.295 MB / 1.002 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.6845, allocations: 14.55 kB / 1.002 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.6848, allocations: 140 kB / 1.002 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.6868, allocations: 1.066 MB / 1.003 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.6868, allocations: 53.16 kB / 1.003 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.687, allocations: 79.53 kB / 1.003 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.6886, allocations: 0.7876 MB / 1.004 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.6886, allocations: 8.062 kB / 1.004 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.6887, allocations: 27.56 kB / 1.004 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/0.6887, allocations: 25.42 kB / 1.004 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.69, allocations: 0.5869 MB / 1.005 GB, free: 24.7 MB / 0.6355 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.004332/0.6944, allocations: 3.529 MB / 1.008 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/0.695, allocations: 276.3 kB / 1.008 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.6954, allocations: 189.9 kB / 1.008 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004094/0.6958, allocations: 0.6562 MB / 1.009 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.6959, allocations: 33 kB / 1.009 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 2.756e-06/0.6959, allocations: 5.031 kB / 1.009 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.001323/0.6972, allocations: 0.5449 MB / 1.01 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.6973, allocations: 55.39 kB / 1.01 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.6987, allocations: 0.9142 MB / 1.011 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.6987, allocations: 33.98 kB / 1.011 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.6991, allocations: 499.8 kB / 1.011 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.6992, allocations: 115.2 kB / 1.011 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.6992, allocations: 12.69 kB / 1.011 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.6993, allocations: 323.3 kB / 1.012 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.6997, allocations: 176.1 kB / 1.012 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004894/0.7002, allocations: 353.4 kB / 1.012 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.7011, allocations: 0.5314 MB / 1.013 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7011, allocations: 1.656 kB / 1.013 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001193/0.7023, allocations: 0.6346 MB / 1.013 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7023, allocations: 8.562 kB / 1.013 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.7023, allocations: 8 kB / 1.013 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.7024, allocations: 8 kB / 1.013 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.7029, allocations: 132.6 kB / 1.013 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.7029, allocations: 13.09 kB / 1.013 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.7037, allocations: 110.2 kB / 1.013 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.7038, allocations: 26.69 kB / 1.013 GB, free: 20.6 MB / 0.6355 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.0003818/0.7042, allocations: 278.6 kB / 1.014 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.7043, allocations: 101.8 kB / 1.014 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.7054, allocations: 0.4969 MB / 1.014 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.7055, allocations: 5.438 kB / 1.014 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7055, allocations: 9.625 kB / 1.014 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007823/0.7063, allocations: 474.3 kB / 1.015 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.7086, allocations: 1.365 MB / 1.016 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7086, allocations: 1.094 kB / 1.016 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.709, allocations: 80.36 kB / 1.016 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.709, allocations: 3.031 kB / 1.016 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.709, allocations: 8.938 kB / 1.016 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.7091, allocations: 7.281 kB / 1.016 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.7091, allocations: 6.953 kB / 1.016 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.7105, allocations: 0.7946 MB / 1.017 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.7108, allocations: 241.3 kB / 1.017 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.7109, allocations: 7.031 kB / 1.017 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.7115, allocations: 63.12 kB / 1.017 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.7116, allocations: 27.92 kB / 1.017 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.7117, allocations: 17.23 kB / 1.017 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008637/0.7125, allocations: 0.6424 MB / 1.018 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7125, allocations: 0 / 1.018 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001062/0.7136, allocations: 322.3 kB / 1.018 GB, free: 19.27 MB / 0.6355 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.0007392/0.7143, allocations: 395.7 kB / 1.019 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000859/0.7152, allocations: 432.8 kB / 1.019 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.7152, allocations: 4.188 kB / 1.019 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.7156, allocations: 199.5 kB / 1.019 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.7185, allocations: 0.6092 MB / 1.02 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.721, allocations: 1.987 MB / 1.022 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/0.7219, allocations: 1.035 MB / 1.023 GB, free: 33.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007505/0.7227, allocations: 184.3 kB / 1.023 GB, free: 33.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.7229, allocations: 78.7 kB / 1.023 GB, free: 33.16 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/0.7229, allocations: 0 / 1.023 GB, free: 33.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.03731/0.7602, allocations: 20.17 MB / 1.043 GB, free: 27.89 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)