Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.026/2.026, allocations: 291.7 MB / 306.8 MB, free: 7.688 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.001231/0.00123, allocations: 184 kB / 375.4 MB, free: 5.133 MB / 298.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.446/1.446, allocations: 225.7 MB / 0.6538 GB, free: 13.64 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.001382/0.001382, allocations: 103.3 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004062, allocations: 12 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7514, allocations: 118.1 MB / 1.011 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1396/0.8912, allocations: 135.1 MB / 1.143 GB, free: 56 kB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.8928, allocations: 1.051 MB / 1.144 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.8929, allocations: 0 / 1.144 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.8932, allocations: 33.33 kB / 1.144 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0008017/0.894, allocations: 195.5 kB / 1.144 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.8945, allocations: 137.8 kB / 1.144 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.895, allocations: 228.9 kB / 1.144 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.8952, allocations: 57.05 kB / 1.144 GB, free: 15 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.8953, allocations: 34.47 kB / 1.145 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.8954, allocations: 53.36 kB / 1.145 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.8954, allocations: 3.125 kB / 1.145 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005339/0.8959, allocations: 277.5 kB / 1.145 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.896, allocations: 20.88 kB / 1.145 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.896, allocations: 46.83 kB / 1.145 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.8964, allocations: 205 kB / 1.145 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8964, allocations: 3.938 kB / 1.145 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.176e-06/0.8964, allocations: 3.469 kB / 1.145 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.8964, allocations: 4 kB / 1.145 GB, free: 14.77 MB / 0.7605 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.0007521/0.8972, allocations: 440.8 kB / 1.146 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.8972, allocations: 12.58 kB / 1.146 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.8975, allocations: 36.64 kB / 1.146 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.8978, allocations: 214.4 kB / 1.146 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.8978, allocations: 9.219 kB / 1.146 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.8978, allocations: 12.91 kB / 1.146 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.8981, allocations: 127 kB / 1.146 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8981, allocations: 1.5 kB / 1.146 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.8981, allocations: 0 / 1.146 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.8982, allocations: 2.938 kB / 1.146 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.8984, allocations: 106.7 kB / 1.146 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.8991, allocations: 450.4 kB / 1.146 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.8994, allocations: 98.88 kB / 1.147 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.8995, allocations: 53.75 kB / 1.147 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.8995, allocations: 2.844 kB / 1.147 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.8995, allocations: 34.56 kB / 1.147 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.8996, allocations: 0 / 1.147 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0004319/0.9, allocations: 161 kB / 1.147 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.9, allocations: 51.41 kB / 1.147 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.9002, allocations: 180.2 kB / 1.147 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.9002, allocations: 29.7 kB / 1.147 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.9003, allocations: 116.5 kB / 1.147 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.9004, allocations: 18.05 kB / 1.147 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.9004, allocations: 12.5 kB / 1.147 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9005, allocations: 325 kB / 1.148 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.9007, allocations: 35.97 kB / 1.148 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.812e-05/0.9008, allocations: 36.44 kB / 1.148 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.901, allocations: 93.61 kB / 1.148 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.901, allocations: 0 / 1.148 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002805/0.9013, allocations: 126 kB / 1.148 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.9013, allocations: 5.906 kB / 1.148 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9013, allocations: 4.266 kB / 1.148 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9014, allocations: 3 kB / 1.148 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.9015, allocations: 22.95 kB / 1.148 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9015, allocations: 0 / 1.148 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.9016, allocations: 20.62 kB / 1.148 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.9016, allocations: 15 kB / 1.148 GB, free: 12.65 MB / 0.7605 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 9.465e-05/0.9017, allocations: 116.1 kB / 1.148 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.9018, allocations: 10.12 kB / 1.148 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.9021, allocations: 139.1 kB / 1.148 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9021, allocations: 0 / 1.148 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.9021, allocations: 0 / 1.148 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.9021, allocations: 3.469 kB / 1.148 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.9024, allocations: 223.3 kB / 1.148 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9024, allocations: 0 / 1.148 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.9025, allocations: 23.88 kB / 1.148 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9025, allocations: 0 / 1.148 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.9025, allocations: 0 / 1.148 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.9025, allocations: 4 kB / 1.148 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.9025, allocations: 0 / 1.148 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.9028, allocations: 221.3 kB / 1.149 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.9029, allocations: 95.23 kB / 1.149 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.9029, allocations: 7.094 kB / 1.149 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.9031, allocations: 9.703 kB / 1.149 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.9031, allocations: 4.594 kB / 1.149 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.9031, allocations: 3.422 kB / 1.149 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001094/0.9032, allocations: 139.1 kB / 1.149 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.923e-06/0.9032, allocations: 0 / 1.149 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002277/0.9035, allocations: 29.61 kB / 1.149 GB, free: 11.86 MB / 0.7605 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.0001775/0.9037, allocations: 114.7 kB / 1.149 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.9039, allocations: 89.12 kB / 1.149 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.904, allocations: 4 kB / 1.149 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.9041, allocations: 44.86 kB / 1.149 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.9045, allocations: 32.92 kB / 1.149 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.9051, allocations: 309.7 kB / 1.149 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.9054, allocations: 0.7083 MB / 1.15 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.887e-05/0.9055, allocations: 15.92 kB / 1.15 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.9056, allocations: 12 kB / 1.15 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of SimCode: time 2.21e-07/0.9056, allocations: 0 / 1.15 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.004002/0.9096, allocations: 1.416 MB / 1.152 GB, free: 10.72 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)