Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") 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.589/1.589, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.001009/0.001009, allocations: 179.4 kB / 330.8 MB, free: 500 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.631/1.631, allocations: 225.7 MB / 0.6016 GB, free: 1.527 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.0008356/0.0008355, allocations: 103.6 kB / 0.709 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 14.94 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2043, allocations: 109.2 MB / 0.9328 GB, free: 6.223 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5608/0.7652, allocations: 136.8 MB / 1.066 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.7668, allocations: 1.693 MB / 1.068 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.7669, allocations: 2.531 kB / 1.068 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.7672, allocations: 43.53 kB / 1.068 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0007056/0.768, allocations: 284.1 kB / 1.068 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.7684, allocations: 148.3 kB / 1.068 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.7689, allocations: 239.7 kB / 1.069 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.769, allocations: 53.77 kB / 1.069 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.7691, allocations: 34.27 kB / 1.069 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.7691, allocations: 56.03 kB / 1.069 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.7692, allocations: 7.406 kB / 1.069 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/0.7698, allocations: 397.5 kB / 1.069 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.7698, allocations: 17.5 kB / 1.069 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.7699, allocations: 75.22 kB / 1.069 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.7704, allocations: 300.1 kB / 1.07 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7704, allocations: 1.375 kB / 1.07 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7704, allocations: 0.9375 kB / 1.07 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.7704, allocations: 0 / 1.07 GB, free: 10.34 MB / 0.6511 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.0006324/0.771, allocations: 455.1 kB / 1.07 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7711, allocations: 13.67 kB / 1.07 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.7713, allocations: 36.62 kB / 1.07 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.7716, allocations: 211 kB / 1.07 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.7716, allocations: 7.719 kB / 1.07 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.7716, allocations: 19.47 kB / 1.07 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.7719, allocations: 123.9 kB / 1.07 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7719, allocations: 0.9062 kB / 1.07 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.7719, allocations: 9.062 kB / 1.07 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.772, allocations: 3.25 kB / 1.07 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.7723, allocations: 102.3 kB / 1.071 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.773, allocations: 461.5 kB / 1.071 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.7732, allocations: 96.64 kB / 1.071 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.7733, allocations: 41 kB / 1.071 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.7734, allocations: 4 kB / 1.071 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.7734, allocations: 36.16 kB / 1.071 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.7734, allocations: 0 / 1.071 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0004571/0.7739, allocations: 155.6 kB / 1.071 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.7739, allocations: 56.72 kB / 1.071 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.7741, allocations: 183 kB / 1.072 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.7741, allocations: 27.08 kB / 1.072 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.7742, allocations: 108.2 kB / 1.072 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.7742, allocations: 26.08 kB / 1.072 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.7742, allocations: 0 / 1.072 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7743, allocations: 329.9 kB / 1.072 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.7745, allocations: 44.89 kB / 1.072 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.7746, allocations: 34.42 kB / 1.072 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.7748, allocations: 86.86 kB / 1.072 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7748, allocations: 0 / 1.072 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002881/0.7751, allocations: 126.7 kB / 1.072 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.7752, allocations: 14.03 kB / 1.072 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7752, allocations: 0.5469 kB / 1.072 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7752, allocations: 3.938 kB / 1.072 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.7753, allocations: 25.75 kB / 1.072 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7753, allocations: 0 / 1.072 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.7754, allocations: 13.81 kB / 1.072 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.7755, allocations: 2.594 kB / 1.072 GB, free: 8.215 MB / 0.6511 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 9.802e-05/0.7756, allocations: 130.9 kB / 1.072 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.7756, allocations: 13.69 kB / 1.072 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.776, allocations: 136.5 kB / 1.073 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.776, allocations: 3.781 kB / 1.073 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.776, allocations: 0 / 1.073 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.776, allocations: 4 kB / 1.073 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.7762, allocations: 223.4 kB / 1.073 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7762, allocations: 0 / 1.073 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.7764, allocations: 19.92 kB / 1.073 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7764, allocations: 0 / 1.073 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.7764, allocations: 1.406 kB / 1.073 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7764, allocations: 0 / 1.073 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7764, allocations: 0.9688 kB / 1.073 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.7767, allocations: 237.6 kB / 1.073 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.7768, allocations: 87.42 kB / 1.073 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.7768, allocations: 3.766 kB / 1.073 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7769, allocations: 17 kB / 1.073 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.777, allocations: 7.422 kB / 1.073 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.777, allocations: 3.188 kB / 1.073 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001125/0.7771, allocations: 136.8 kB / 1.073 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7771, allocations: 0 / 1.073 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002299/0.7774, allocations: 26.81 kB / 1.073 GB, free: 7.395 MB / 0.6511 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.0001486/0.7775, allocations: 113.1 kB / 1.073 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002813/0.7778, allocations: 93.03 kB / 1.074 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7778, allocations: 0 / 1.074 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.7779, allocations: 46.36 kB / 1.074 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.7783, allocations: 35.25 kB / 1.074 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.7789, allocations: 304 kB / 1.074 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.7792, allocations: 0.7063 MB / 1.075 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.648e-05/0.7793, allocations: 11.92 kB / 1.075 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.7793, allocations: 13 kB / 1.075 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of SimCode: time 3e-07/0.7793, allocations: 0 / 1.075 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of Templates: time 0.003895/0.7832, allocations: 1.457 MB / 1.076 GB, free: 5.996 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)