Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") 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.676/1.676, allocations: 297.4 MB / 312.6 MB, free: 2.922 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.001352/0.001352, allocations: 194 kB / 382.3 MB, free: 14.81 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.373/1.373, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0008386/0.0008388, allocations: 92.17 kB / 0.7789 GB, free: 46.72 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 8 kB / 0.9058 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5415, allocations: 119.2 MB / 1.022 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7891/1.331, allocations: 332.1 MB / 1.347 GB, free: 39.86 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.03111/1.362, allocations: 36.98 MB / 1.383 GB, free: 29.36 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003394/1.365, allocations: 82.09 kB / 1.383 GB, free: 29.36 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00425/1.369, allocations: 1.759 MB / 1.384 GB, free: 29.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/1.381, allocations: 4.667 MB / 1.389 GB, free: 29.1 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.008122/1.389, allocations: 3.356 MB / 1.392 GB, free: 28.96 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.01063/1.399, allocations: 9.597 MB / 1.402 GB, free: 28.94 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/1.403, allocations: 2.346 MB / 1.404 GB, free: 28.59 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/1.417, allocations: 4.774 MB / 1.409 GB, free: 28.48 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005683/1.422, allocations: 2.375 MB / 1.411 GB, free: 28.45 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0008387/1.423, allocations: 131.4 kB / 1.411 GB, free: 28.45 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/1.434, allocations: 5.516 MB / 1.416 GB, free: 28.41 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001548/1.436, allocations: 0.8793 MB / 1.417 GB, free: 28.41 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.002859/1.439, allocations: 1.567 MB / 1.419 GB, free: 28.38 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/1.449, allocations: 5.838 MB / 1.425 GB, free: 28.01 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/1.449, allocations: 4 kB / 1.425 GB, free: 28 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.973e-06/1.449, allocations: 0 / 1.425 GB, free: 28 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.547e-05/1.449, allocations: 1.031 kB / 1.425 GB, free: 28 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.007035/1.456, allocations: 3.062 MB / 1.428 GB, free: 26.06 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/1.456, allocations: 9.625 kB / 1.428 GB, free: 26.06 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009218/1.465, allocations: 1.582 MB / 1.429 GB, free: 25.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004194/1.47, allocations: 1.979 MB / 1.431 GB, free: 24.56 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/1.471, allocations: 432.5 kB / 1.431 GB, free: 24.46 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/1.471, allocations: 231.6 kB / 1.432 GB, free: 24.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005505/1.477, allocations: 3.089 MB / 1.435 GB, free: 23.47 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/1.477, allocations: 5.031 kB / 1.435 GB, free: 23.47 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/1.477, allocations: 88.97 kB / 1.435 GB, free: 23.47 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-05/1.477, allocations: 90.12 kB / 1.435 GB, free: 23.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006302/1.484, allocations: 3.205 MB / 1.438 GB, free: 22.86 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/1.502, allocations: 14.3 MB / 1.452 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/1.505, allocations: 1.684 MB / 1.454 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/1.507, allocations: 0.7932 MB / 1.454 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/1.507, allocations: 339.3 kB / 1.455 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/1.507, allocations: 56.52 kB / 1.455 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001201/1.508, allocations: 196.8 kB / 1.455 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 3.336e-06/1.508, allocations: 0 / 1.455 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.004647/1.513, allocations: 2.406 MB / 1.457 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/1.513, allocations: 64.84 kB / 1.457 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/1.517, allocations: 2.533 MB / 1.46 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002314/1.517, allocations: 56.77 kB / 1.46 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000726/1.518, allocations: 1.268 MB / 1.461 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/1.518, allocations: 392.3 kB / 1.462 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/1.518, allocations: 40.94 kB / 1.462 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.518, allocations: 377.4 kB / 1.462 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003422/1.522, allocations: 0.9917 MB / 1.463 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/1.525, allocations: 1.64 MB / 1.464 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004632/1.53, allocations: 2.329 MB / 1.467 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/1.53, allocations: 3.344 kB / 1.467 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006434/1.537, allocations: 2.88 MB / 1.47 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.537, allocations: 0.548 MB / 1.47 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/1.537, allocations: 13.19 kB / 1.47 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.025e-05/1.537, allocations: 26.72 kB / 1.47 GB, free: 6.41 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/1.54, allocations: 0.5949 MB / 1.471 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/1.541, allocations: 2.387 MB / 1.473 GB, free: 3.918 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/1.545, allocations: 453.7 kB / 1.473 GB, free: 3.758 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/1.545, allocations: 96.78 kB / 1.474 GB, free: 3.746 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/1.545, allocations: 3.375 kB / 1.474 GB, free: 3.746 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005323/1.55, allocations: 2.637 MB / 1.476 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.55, allocations: 16 kB / 1.476 GB, free: 3.133 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.55, allocations: 23.94 kB / 1.476 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/1.552, allocations: 0.5419 MB / 1.477 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/1.552, allocations: 31.78 kB / 1.477 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/1.556, allocations: 374.3 kB / 1.477 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.556, allocations: 96.7 kB / 1.477 GB, free: 2.168 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001062/1.557, allocations: 0.6246 MB / 1.478 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/1.557, allocations: 260.8 kB / 1.478 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/1.561, allocations: 1.883 MB / 1.48 GB, free: 188 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.561, allocations: 11.98 kB / 1.48 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.561, allocations: 4 kB / 1.48 GB, free: 172 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.561, allocations: 3.984 kB / 1.48 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007799/1.569, allocations: 4.519 MB / 1.484 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.569, allocations: 4 kB / 1.484 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/1.57, allocations: 318.7 kB / 1.485 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/1.57, allocations: 12 kB / 1.485 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/1.571, allocations: 28.48 kB / 1.485 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/1.572, allocations: 2.375 MB / 1.487 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.572, allocations: 10.62 kB / 1.487 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/1.576, allocations: 2.003 MB / 1.489 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.577, allocations: 0.5467 MB / 1.489 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/1.578, allocations: 27.19 kB / 1.49 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/1.58, allocations: 290 kB / 1.49 GB, free: 7.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.58, allocations: 80.3 kB / 1.49 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.581, allocations: 60.89 kB / 1.49 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003068/1.584, allocations: 1.746 MB / 1.492 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.3e-07/1.584, allocations: 4 kB / 1.492 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004045/1.588, allocations: 1.297 MB / 1.493 GB, free: 5.117 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007501/1.589, allocations: 399 kB / 1.493 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008458/1.597, allocations: 3.706 MB / 1.497 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.597, allocations: 0 / 1.497 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.599, allocations: 0.8233 MB / 1.498 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008284/1.607, allocations: 1.311 MB / 1.499 GB, free: 292 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008216/1.615, allocations: 5.257 MB / 1.504 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.617, allocations: 1.707 MB / 1.506 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003906/1.621, allocations: 0.7845 MB / 1.507 GB, free: 8.895 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007885/1.621, allocations: 221.1 kB / 1.507 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of SimCode: time 7.11e-07/1.621, allocations: 2.531 kB / 1.507 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of Templates: time 0.08241/1.704, allocations: 50.65 MB / 1.556 GB, free: 6.785 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)