Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.364/2.364, allocations: 254.9 MB / 269.9 MB, free: 9.629 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.001352/0.001352, allocations: 185 kB / 329.5 MB, free: 1.156 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.465/2.465, allocations: 225.6 MB / 0.6001 GB, free: 480 kB / 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.001022/0.001022, allocations: 106.3 kB / 0.7074 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006823/0.0006825, allocations: 21.06 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2377, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8715/1.109, allocations: 135.1 MB / 1.063 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.001872/1.111, allocations: 1.051 MB / 1.064 GB, free: 1.559 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/1.111, allocations: 1.438 kB / 1.064 GB, free: 1.559 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0002854/1.112, allocations: 35.98 kB / 1.064 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.000918/1.113, allocations: 194.2 kB / 1.064 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/1.113, allocations: 139.6 kB / 1.064 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.000647/1.114, allocations: 217.3 kB / 1.064 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/1.114, allocations: 63.89 kB / 1.064 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/1.114, allocations: 36.69 kB / 1.064 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/1.114, allocations: 48.91 kB / 1.064 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/1.114, allocations: 2.812 kB / 1.064 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009986/1.115, allocations: 287 kB / 1.065 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/1.116, allocations: 16.78 kB / 1.065 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/1.116, allocations: 47.33 kB / 1.065 GB, free: 17.34 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/1.116, allocations: 205.6 kB / 1.065 GB, free: 17.32 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.116, allocations: 0 / 1.065 GB, free: 17.32 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.923e-06/1.116, allocations: 1.75 kB / 1.065 GB, free: 17.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.116, allocations: 0 / 1.065 GB, free: 17.32 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008362/1.117, allocations: 447.6 kB / 1.065 GB, free: 16.92 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.117, allocations: 9.594 kB / 1.065 GB, free: 16.92 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/1.118, allocations: 41.27 kB / 1.065 GB, free: 16.91 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/1.118, allocations: 204.3 kB / 1.066 GB, free: 16.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/1.118, allocations: 18.03 kB / 1.066 GB, free: 16.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/1.118, allocations: 12.44 kB / 1.066 GB, free: 16.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/1.119, allocations: 120.5 kB / 1.066 GB, free: 16.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.119, allocations: 9.688 kB / 1.066 GB, free: 16.65 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.119, allocations: 4.594 kB / 1.066 GB, free: 16.65 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.119, allocations: 2.594 kB / 1.066 GB, free: 16.65 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/1.119, allocations: 99.27 kB / 1.066 GB, free: 16.65 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/1.12, allocations: 463.8 kB / 1.066 GB, free: 16.35 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/1.121, allocations: 93.91 kB / 1.066 GB, free: 16.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/1.121, allocations: 40.23 kB / 1.066 GB, free: 16.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/1.121, allocations: 4.734 kB / 1.066 GB, free: 16.32 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.121, allocations: 33.14 kB / 1.067 GB, free: 16.28 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/1.121, allocations: 0 / 1.067 GB, free: 16.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0007544/1.122, allocations: 164.8 kB / 1.067 GB, free: 16.23 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/1.122, allocations: 52.75 kB / 1.067 GB, free: 16.17 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/1.122, allocations: 187.4 kB / 1.067 GB, free: 16.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/1.122, allocations: 25.7 kB / 1.067 GB, free: 16.03 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/1.122, allocations: 114.9 kB / 1.067 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/1.122, allocations: 24.62 kB / 1.067 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/1.122, allocations: 0 / 1.067 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.122, allocations: 327.6 kB / 1.067 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/1.123, allocations: 34.33 kB / 1.067 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/1.123, allocations: 43.03 kB / 1.067 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/1.123, allocations: 41.44 kB / 1.067 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.123, allocations: 0 / 1.067 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005396/1.124, allocations: 132.7 kB / 1.068 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.124, allocations: 5.703 kB / 1.068 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.124, allocations: 0 / 1.068 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.124, allocations: 1.031 kB / 1.068 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/1.124, allocations: 20.22 kB / 1.068 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.124, allocations: 0.75 kB / 1.068 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/1.124, allocations: 18.5 kB / 1.068 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/1.124, allocations: 4.969 kB / 1.068 GB, free: 15.55 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.124, allocations: 123.6 kB / 1.068 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/1.124, allocations: 13.59 kB / 1.068 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/1.125, allocations: 141.4 kB / 1.068 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.125, allocations: 5.75 kB / 1.068 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.125, allocations: 0 / 1.068 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.125, allocations: 1.906 kB / 1.068 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/1.125, allocations: 219.5 kB / 1.068 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.125, allocations: 1.094 kB / 1.068 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/1.126, allocations: 18.2 kB / 1.068 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.126, allocations: 1.062 kB / 1.068 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.126, allocations: 7.266 kB / 1.068 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.126, allocations: 0.9375 kB / 1.068 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.126, allocations: 3.938 kB / 1.068 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/1.126, allocations: 231.3 kB / 1.068 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/1.126, allocations: 89.23 kB / 1.068 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/1.126, allocations: 1.062 kB / 1.068 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/1.126, allocations: 17.62 kB / 1.068 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/1.127, allocations: 4.469 kB / 1.068 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.127, allocations: 3.766 kB / 1.068 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001804/1.127, allocations: 136.1 kB / 1.069 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.81e-07/1.127, allocations: 1.125 kB / 1.069 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003373/1.127, allocations: 25.38 kB / 1.069 GB, free: 14.86 MB / 0.6667 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 (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.0001989/1.127, allocations: 109.9 kB / 1.069 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000479/1.128, allocations: 96.81 kB / 1.069 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.128, allocations: 0 / 1.069 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/1.128, allocations: 41.58 kB / 1.069 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/1.129, allocations: 31.5 kB / 1.069 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/1.129, allocations: 313.2 kB / 1.069 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.13, allocations: 0.7123 MB / 1.07 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001351/1.13, allocations: 12.7 kB / 1.07 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/1.13, allocations: 13.34 kB / 1.07 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of SimCode: time 1.513e-06/1.13, allocations: 0 / 1.07 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of Templates: time 0.006344/1.136, allocations: 1.426 MB / 1.071 GB, free: 13.72 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)