Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.694/1.694, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001076/0.001076, allocations: 179.4 kB / 393.1 MB, free: 4.07 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.589/1.589, allocations: 225.7 MB / 0.6743 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009092, allocations: 95.16 kB / 0.7935 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6191/0.6194, allocations: 121.3 MB / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8271/1.447, allocations: 332.1 MB / 1.365 GB, free: 29.16 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.03085/1.478, allocations: 37.17 MB / 1.401 GB, free: 18.57 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/1.481, allocations: 83.03 kB / 1.402 GB, free: 18.57 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.004803/1.486, allocations: 1.756 MB / 1.403 GB, free: 18.54 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/1.499, allocations: 4.66 MB / 1.408 GB, free: 18.3 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.009108/1.508, allocations: 3.363 MB / 1.411 GB, free: 18.14 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01401/1.522, allocations: 9.592 MB / 1.42 GB, free: 18.11 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004385/1.526, allocations: 2.354 MB / 1.423 GB, free: 17.75 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/1.541, allocations: 4.771 MB / 1.427 GB, free: 17.64 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/1.546, allocations: 2.37 MB / 1.43 GB, free: 17.62 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0006861/1.547, allocations: 128.6 kB / 1.43 GB, free: 17.62 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009946/1.557, allocations: 5.521 MB / 1.435 GB, free: 17.14 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001242/1.558, allocations: 0.8835 MB / 1.436 GB, free: 16.88 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002593/1.561, allocations: 1.568 MB / 1.438 GB, free: 16.75 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.009147/1.57, allocations: 5.838 MB / 1.443 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.57, allocations: 0 / 1.443 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.954e-06/1.57, allocations: 0 / 1.443 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.411e-05/1.57, allocations: 0 / 1.443 GB, free: 14.26 MB / 0.8855 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.01108/1.581, allocations: 3.061 MB / 1.446 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.581, allocations: 9.156 kB / 1.446 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/1.597, allocations: 1.576 MB / 1.448 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006924/1.604, allocations: 1.983 MB / 1.45 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002133/1.606, allocations: 443.2 kB / 1.45 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/1.607, allocations: 224.3 kB / 1.45 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/1.619, allocations: 3.092 MB / 1.453 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/1.619, allocations: 5.875 kB / 1.454 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006677/1.62, allocations: 96.52 kB / 1.454 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/1.62, allocations: 88 kB / 1.454 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/1.632, allocations: 3.205 MB / 1.457 GB, free: 9.09 MB / 0.8855 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.03594/1.668, allocations: 14.3 MB / 1.471 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006909/1.675, allocations: 1.69 MB / 1.472 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/1.678, allocations: 0.7899 MB / 1.473 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009783/1.679, allocations: 340.5 kB / 1.474 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.557e-05/1.679, allocations: 50.5 kB / 1.474 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002049/1.681, allocations: 202 kB / 1.474 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 6.963e-06/1.681, allocations: 0 / 1.474 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.009757/1.691, allocations: 2.403 MB / 1.476 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/1.691, allocations: 67.69 kB / 1.476 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007611/1.699, allocations: 2.535 MB / 1.479 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004454/1.699, allocations: 60.95 kB / 1.479 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/1.701, allocations: 1.273 MB / 1.48 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007091/1.702, allocations: 389.8 kB / 1.48 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/1.702, allocations: 35.12 kB / 1.48 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002251/1.702, allocations: 368.9 kB / 1.481 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004595/1.707, allocations: 0.9986 MB / 1.482 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005525/1.712, allocations: 1.639 MB / 1.483 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00843/1.721, allocations: 2.325 MB / 1.486 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.63e-05/1.721, allocations: 4 kB / 1.486 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01246/1.733, allocations: 2.885 MB / 1.488 GB, free: 4.156 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006093/1.734, allocations: 0.5505 MB / 1.489 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.152e-05/1.734, allocations: 19.94 kB / 1.489 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-05/1.734, allocations: 20 kB / 1.489 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005396/1.74, allocations: 0.5895 MB / 1.49 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/1.742, allocations: 2.389 MB / 1.492 GB, free: 440 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/1.748, allocations: 446.9 kB / 1.492 GB, free: 20 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005487/1.749, allocations: 92.41 kB / 1.492 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.749, allocations: 4 kB / 1.492 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01083/1.76, allocations: 2.652 MB / 1.495 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.909e-05/1.76, allocations: 12 kB / 1.495 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.267e-05/1.76, allocations: 24 kB / 1.495 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/1.764, allocations: 0.5379 MB / 1.496 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.251e-05/1.764, allocations: 30.08 kB / 1.496 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/1.77, allocations: 370.9 kB / 1.496 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000397/1.77, allocations: 95.45 kB / 1.496 GB, free: 13.05 MB / 0.9167 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.001975/1.772, allocations: 0.6332 MB / 1.497 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008829/1.773, allocations: 264.7 kB / 1.497 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/1.78, allocations: 1.881 MB / 1.499 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/1.78, allocations: 15.98 kB / 1.499 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.78, allocations: 0 / 1.499 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.78, allocations: 7.969 kB / 1.499 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/1.795, allocations: 4.527 MB / 1.503 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/1.795, allocations: 4.75 kB / 1.503 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/1.798, allocations: 321.5 kB / 1.503 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.403e-05/1.798, allocations: 12 kB / 1.503 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.798, allocations: 27.98 kB / 1.503 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/1.8, allocations: 2.373 MB / 1.506 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/1.8, allocations: 11.19 kB / 1.506 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006718/1.807, allocations: 2 MB / 1.508 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/1.809, allocations: 0.5442 MB / 1.508 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007903/1.809, allocations: 34.38 kB / 1.508 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004413/1.814, allocations: 286.6 kB / 1.509 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/1.814, allocations: 75.86 kB / 1.509 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.814, allocations: 60.95 kB / 1.509 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005158/1.819, allocations: 1.75 MB / 1.51 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.5e-07/1.819, allocations: 4 kB / 1.51 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005933/1.825, allocations: 1.297 MB / 1.512 GB, free: 15.89 MB / 0.9323 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.001042/1.826, allocations: 388 kB / 1.512 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008148/1.835, allocations: 3.7 MB / 1.516 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.835, allocations: 0 / 1.516 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001799/1.836, allocations: 0.8305 MB / 1.517 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007561/1.844, allocations: 1.313 MB / 1.518 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007499/1.852, allocations: 5.263 MB / 1.523 GB, free: 6.148 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/1.853, allocations: 1.705 MB / 1.525 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003559/1.856, allocations: 0.7779 MB / 1.525 GB, free: 3.676 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/1.857, allocations: 222.8 kB / 1.526 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of SimCode: time 8.82e-07/1.857, allocations: 0 / 1.526 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of Templates: time 0.0832/1.94, allocations: 50.65 MB / 1.575 GB, free: 1.543 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)