Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.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.001063/0.001063, allocations: 190 kB / 382.3 MB, free: 14.83 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.465/1.465, allocations: 225.7 MB / 0.6617 GB, free: 7.207 MB / 490.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.0008442/0.0008444, allocations: 96.39 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 11.98 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7672, allocations: 119.2 MB / 1.022 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1576/0.9249, allocations: 136.8 MB / 1.156 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.9269, allocations: 1.705 MB / 1.158 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.9272, allocations: 2.344 kB / 1.158 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.9276, allocations: 44.5 kB / 1.158 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.9286, allocations: 279.8 kB / 1.158 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.9291, allocations: 144.1 kB / 1.158 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.9297, allocations: 241.7 kB / 1.158 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.9298, allocations: 55.95 kB / 1.158 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.9299, allocations: 40.23 kB / 1.158 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.9301, allocations: 58.86 kB / 1.158 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.9301, allocations: 3.25 kB / 1.158 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007214/0.9308, allocations: 398.1 kB / 1.159 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.9309, allocations: 16.64 kB / 1.159 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.854e-05/0.931, allocations: 76.59 kB / 1.159 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.9315, allocations: 299.9 kB / 1.159 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9315, allocations: 0 / 1.159 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9315, allocations: 1.062 kB / 1.159 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.9316, allocations: 0 / 1.159 GB, free: 6.012 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.0007452/0.9323, allocations: 454.6 kB / 1.16 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.9324, allocations: 8.531 kB / 1.16 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.9327, allocations: 35.52 kB / 1.16 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.933, allocations: 212.6 kB / 1.16 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.933, allocations: 8.281 kB / 1.16 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.933, allocations: 18.19 kB / 1.16 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.9333, allocations: 120.8 kB / 1.16 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9333, allocations: 0 / 1.16 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.9334, allocations: 1.031 kB / 1.16 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.9334, allocations: 2.25 kB / 1.16 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.9337, allocations: 106.3 kB / 1.16 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.9344, allocations: 465.6 kB / 1.16 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.9347, allocations: 96.23 kB / 1.161 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.9348, allocations: 42.72 kB / 1.161 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.9348, allocations: 9.016 kB / 1.161 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.9349, allocations: 31.53 kB / 1.161 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.9349, allocations: 0 / 1.161 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000478/0.9354, allocations: 157.7 kB / 1.161 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.9354, allocations: 56.75 kB / 1.161 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.9356, allocations: 179.7 kB / 1.161 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.9356, allocations: 29.7 kB / 1.161 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.9357, allocations: 113.9 kB / 1.161 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.9357, allocations: 21.38 kB / 1.161 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.9358, allocations: 1.281 kB / 1.161 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.9359, allocations: 329.1 kB / 1.162 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.936, allocations: 36.41 kB / 1.162 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.9361, allocations: 43.02 kB / 1.162 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.9364, allocations: 85.48 kB / 1.162 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9364, allocations: 0 / 1.162 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002911/0.9367, allocations: 129.2 kB / 1.162 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.9367, allocations: 17.41 kB / 1.162 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9367, allocations: 0 / 1.162 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.9367, allocations: 1.312 kB / 1.162 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.9369, allocations: 19.72 kB / 1.162 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9369, allocations: 3.188 kB / 1.162 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.937, allocations: 19.73 kB / 1.162 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.937, allocations: 9.375 kB / 1.162 GB, free: 3.883 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 0.0001012/0.9371, allocations: 122.4 kB / 1.162 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.9372, allocations: 16.11 kB / 1.162 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.9375, allocations: 128.8 kB / 1.162 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9376, allocations: 1 kB / 1.162 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9376, allocations: 4 kB / 1.162 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.9376, allocations: 1.094 kB / 1.162 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.9378, allocations: 223.4 kB / 1.162 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.9378, allocations: 3.938 kB / 1.162 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.9379, allocations: 22.42 kB / 1.162 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.938, allocations: 4.578 kB / 1.162 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.938, allocations: 0 / 1.162 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.938, allocations: 1.156 kB / 1.162 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.938, allocations: 1.484 kB / 1.162 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.9384, allocations: 225.3 kB / 1.163 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.9384, allocations: 92.27 kB / 1.163 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.9385, allocations: 0.9688 kB / 1.163 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.9386, allocations: 13.62 kB / 1.163 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.9386, allocations: 6.812 kB / 1.163 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.9387, allocations: 1.219 kB / 1.163 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001341/0.9388, allocations: 142.1 kB / 1.163 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9388, allocations: 0 / 1.163 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002467/0.9391, allocations: 23.09 kB / 1.163 GB, free: 3.082 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.0001907/0.9393, allocations: 117.5 kB / 1.163 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.9396, allocations: 89.31 kB / 1.163 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.9396, allocations: 1.156 kB / 1.163 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.9397, allocations: 45.09 kB / 1.163 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.9402, allocations: 30.17 kB / 1.163 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.9408, allocations: 300.8 kB / 1.163 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.9411, allocations: 0.7132 MB / 1.164 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.277e-05/0.9412, allocations: 14.69 kB / 1.164 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.9412, allocations: 16.97 kB / 1.164 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.9412, allocations: 0 / 1.164 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.004818/0.9461, allocations: 1.452 MB / 1.166 GB, free: 1.906 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)