Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.713/1.713, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.0009142/0.0009142, allocations: 179.7 kB / 393.1 MB, free: 4.09 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.349/1.349, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008303/0.0008304, allocations: 107.3 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003858, allocations: 12 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5624, allocations: 121.3 MB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1359/0.6983, allocations: 136.8 MB / 1.174 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.6999, allocations: 1.698 MB / 1.176 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.7, allocations: 0 / 1.176 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.7003, allocations: 49.3 kB / 1.176 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000701/0.701, allocations: 287 kB / 1.176 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.7014, allocations: 151.6 kB / 1.177 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.7018, allocations: 229.9 kB / 1.177 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.7019, allocations: 50.08 kB / 1.177 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.702, allocations: 47.27 kB / 1.177 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.7021, allocations: 53.91 kB / 1.177 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.7021, allocations: 4 kB / 1.177 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005765/0.7027, allocations: 399.6 kB / 1.177 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.7027, allocations: 18.64 kB / 1.177 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.7028, allocations: 76.86 kB / 1.177 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.7032, allocations: 292.8 kB / 1.178 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7033, allocations: 3.938 kB / 1.178 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7033, allocations: 4 kB / 1.178 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.7033, allocations: 0 / 1.178 GB, free: 4.797 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006098/0.7039, allocations: 447.3 kB / 1.178 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7039, allocations: 12.03 kB / 1.178 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.7042, allocations: 43.11 kB / 1.178 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.7044, allocations: 201.3 kB / 1.178 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.7045, allocations: 12 kB / 1.178 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.7045, allocations: 12 kB / 1.178 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.7048, allocations: 123.8 kB / 1.179 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7048, allocations: 3.938 kB / 1.179 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.7048, allocations: 8 kB / 1.179 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.7048, allocations: 0 / 1.179 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.7051, allocations: 104.9 kB / 1.179 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.7058, allocations: 465.9 kB / 1.179 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.706, allocations: 96.59 kB / 1.179 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.7061, allocations: 47.77 kB / 1.179 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.7062, allocations: 0 / 1.179 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.7062, allocations: 34.56 kB / 1.179 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.7062, allocations: 0 / 1.179 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004388/0.7067, allocations: 161.9 kB / 1.179 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.7067, allocations: 51.41 kB / 1.179 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.7069, allocations: 188.7 kB / 1.18 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.7069, allocations: 29.7 kB / 1.18 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.707, allocations: 115.4 kB / 1.18 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.707, allocations: 23.14 kB / 1.18 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.707, allocations: 0 / 1.18 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7071, allocations: 330 kB / 1.18 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.7073, allocations: 38.8 kB / 1.18 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.7074, allocations: 38.42 kB / 1.18 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.7076, allocations: 82.94 kB / 1.18 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7076, allocations: 0 / 1.18 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002861/0.7079, allocations: 134.6 kB / 1.18 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7079, allocations: 7.906 kB / 1.18 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7079, allocations: 0 / 1.18 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.708, allocations: 0 / 1.18 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.7081, allocations: 25.89 kB / 1.18 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7081, allocations: 0 / 1.18 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.7082, allocations: 19.84 kB / 1.18 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.7082, allocations: 7.938 kB / 1.18 GB, free: 2 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 8.62e-05/0.7083, allocations: 124.8 kB / 1.181 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.7084, allocations: 11.91 kB / 1.181 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.7087, allocations: 135.1 kB / 1.181 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7087, allocations: 4 kB / 1.181 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7087, allocations: 3.938 kB / 1.181 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7087, allocations: 0 / 1.181 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.709, allocations: 226.9 kB / 1.181 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.709, allocations: 3.938 kB / 1.181 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.7092, allocations: 19.42 kB / 1.181 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.7092, allocations: 4 kB / 1.181 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.7092, allocations: 0 / 1.181 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7092, allocations: 0 / 1.181 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7092, allocations: 0 / 1.181 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.7095, allocations: 228.7 kB / 1.181 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.7096, allocations: 92.86 kB / 1.181 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.7096, allocations: 3.188 kB / 1.181 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.7097, allocations: 12 kB / 1.181 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.7098, allocations: 7.094 kB / 1.181 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.7098, allocations: 4 kB / 1.181 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001167/0.7099, allocations: 135.4 kB / 1.181 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7099, allocations: 0 / 1.181 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002315/0.7102, allocations: 24 kB / 1.181 GB, free: 0.9648 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000152/0.7103, allocations: 114.4 kB / 1.182 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.7106, allocations: 81.17 kB / 1.182 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7106, allocations: 0 / 1.182 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.7107, allocations: 50.12 kB / 1.182 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.7111, allocations: 28.09 kB / 1.182 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.7117, allocations: 304.8 kB / 1.182 GB, free: 424 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.712, allocations: 0.7101 MB / 1.183 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.857e-05/0.7121, allocations: 23.47 kB / 1.183 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.7121, allocations: 11.95 kB / 1.183 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of SimCode: time 2.9e-07/0.7122, allocations: 4 kB / 1.183 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of Templates: time 0.004489/0.7166, allocations: 1.465 MB / 1.184 GB, free: 14.82 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)