Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/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_master_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.896/4.896, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00242/0.00242, allocations: 359.7 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.243/4.243, allocations: 410.7 MB / 1.113 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001868/0.001867, allocations: 188.7 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006629/0.0006631, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7617, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.577/7.339, allocations: 2.095 GB / 3.556 GB, free: 270.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/7.339, allocations: 105.2 kB / 3.556 GB, free: 270.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.13/22.47, allocations: 2.809 GB / 6.365 GB, free: 66.61 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.755e-06/22.47, allocations: 0 / 6.365 GB, free: 66.61 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0004033/22.47, allocations: 69.81 kB / 6.365 GB, free: 66.6 MB / 1.042 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.0173/22.48, allocations: 3.913 MB / 6.369 GB, free: 64.64 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/22.48, allocations: 18.31 kB / 6.369 GB, free: 64.64 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/22.5, allocations: 1.194 MB / 6.37 GB, free: 64.48 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009742/22.51, allocations: 2.359 MB / 6.372 GB, free: 63.9 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00248/22.51, allocations: 443.4 kB / 6.373 GB, free: 63.89 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/22.51, allocations: 223.5 kB / 6.373 GB, free: 63.89 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/22.53, allocations: 3.138 MB / 6.376 GB, free: 63.46 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.513e-05/22.53, allocations: 10.94 kB / 6.376 GB, free: 63.46 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004943/22.53, allocations: 92.34 kB / 6.376 GB, free: 63.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/22.53, allocations: 87.55 kB / 6.376 GB, free: 63.45 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/22.54, allocations: 3.232 MB / 6.379 GB, free: 63.4 MB / 1.042 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.05225/22.59, allocations: 14.07 MB / 6.393 GB, free: 55.79 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/22.6, allocations: 1.699 MB / 6.395 GB, free: 55.74 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004688/22.61, allocations: 0.7998 MB / 6.396 GB, free: 55.73 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/22.61, allocations: 326.4 kB / 6.396 GB, free: 55.45 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/22.61, allocations: 50.06 kB / 6.396 GB, free: 55.41 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003708/22.61, allocations: 215.1 kB / 6.396 GB, free: 55.33 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 1.316e-05/22.61, allocations: 0 / 6.396 GB, free: 55.33 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.0157/22.63, allocations: 2.39 MB / 6.398 GB, free: 55.11 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/22.63, allocations: 61.44 kB / 6.398 GB, free: 55.05 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009849/22.64, allocations: 2.54 MB / 6.401 GB, free: 54.78 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006867/22.64, allocations: 63.83 kB / 6.401 GB, free: 54.74 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00202/22.64, allocations: 1.276 MB / 6.402 GB, free: 54.27 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/22.64, allocations: 390.7 kB / 6.403 GB, free: 54.04 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/22.64, allocations: 32.97 kB / 6.403 GB, free: 54.04 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001773/22.64, allocations: 372.6 kB / 6.403 GB, free: 53.73 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006722/22.65, allocations: 0.9979 MB / 6.404 GB, free: 53.7 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007884/22.66, allocations: 1.672 MB / 6.406 GB, free: 52.88 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007451/22.67, allocations: 1.209 MB / 6.407 GB, free: 52.45 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.279e-05/22.67, allocations: 10.38 kB / 6.407 GB, free: 52.44 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01744/22.68, allocations: 2.881 MB / 6.41 GB, free: 51.41 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005482/22.68, allocations: 0.5535 MB / 6.41 GB, free: 50.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/22.68, allocations: 13.84 kB / 6.41 GB, free: 50.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.666e-05/22.68, allocations: 29.23 kB / 6.41 GB, free: 50.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008356/22.69, allocations: 0.5993 MB / 6.411 GB, free: 50.63 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/22.69, allocations: 2.385 MB / 6.413 GB, free: 48.25 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/22.7, allocations: 469.2 kB / 6.414 GB, free: 48.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008922/22.71, allocations: 93.11 kB / 6.414 GB, free: 48.14 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/22.71, allocations: 7.406 kB / 6.414 GB, free: 48.14 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01182/22.72, allocations: 2.644 MB / 6.416 GB, free: 47.25 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-05/22.72, allocations: 11.59 kB / 6.416 GB, free: 47.25 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/22.72, allocations: 24.25 kB / 6.416 GB, free: 47.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004986/22.72, allocations: 0.5343 MB / 6.417 GB, free: 47.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.221e-05/22.72, allocations: 38.91 kB / 6.417 GB, free: 47.18 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/22.73, allocations: 399.2 kB / 6.417 GB, free: 47.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006635/22.73, allocations: 96.83 kB / 6.417 GB, free: 47.08 MB / 1.042 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002351/22.73, allocations: 0.6246 MB / 6.418 GB, free: 46.65 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008767/22.73, allocations: 258.9 kB / 6.418 GB, free: 46.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007778/22.74, allocations: 1.883 MB / 6.42 GB, free: 45.83 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/22.74, allocations: 11.56 kB / 6.42 GB, free: 45.82 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/22.74, allocations: 3.953 kB / 6.42 GB, free: 45.82 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/22.74, allocations: 6.891 kB / 6.42 GB, free: 45.82 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/22.76, allocations: 4.492 MB / 6.424 GB, free: 42.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/22.76, allocations: 4 kB / 6.424 GB, free: 42.16 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003288/22.76, allocations: 319.4 kB / 6.425 GB, free: 41.91 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.516e-05/22.76, allocations: 12 kB / 6.425 GB, free: 41.9 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/22.76, allocations: 27.84 kB / 6.425 GB, free: 41.88 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/22.76, allocations: 2.37 MB / 6.427 GB, free: 39.43 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/22.76, allocations: 11.61 kB / 6.427 GB, free: 39.42 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007329/22.77, allocations: 1.991 MB / 6.429 GB, free: 37.54 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002288/22.77, allocations: 0.5498 MB / 6.43 GB, free: 37.06 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/22.77, allocations: 27.84 kB / 6.43 GB, free: 37.04 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005418/22.78, allocations: 278.8 kB / 6.43 GB, free: 36.83 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/22.78, allocations: 77.89 kB / 6.43 GB, free: 36.77 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003199/22.78, allocations: 70.3 kB / 6.43 GB, free: 36.71 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.005518/22.78, allocations: 1.749 MB / 6.432 GB, free: 35.25 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.61e-07/22.78, allocations: 0 / 6.432 GB, free: 35.25 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.00918/22.79, allocations: 1.936 MB / 6.434 GB, free: 33.36 MB / 1.042 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01328/22.81, allocations: 7.629 MB / 6.441 GB, free: 26.57 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01591/22.82, allocations: 3.708 MB / 6.445 GB, free: 23.35 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/22.82, allocations: 7.859 kB / 6.445 GB, free: 23.34 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.003592/22.82, allocations: 0.825 MB / 6.446 GB, free: 22.64 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/22.84, allocations: 1.201 MB / 6.447 GB, free: 21.78 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/22.85, allocations: 5.019 MB / 6.452 GB, free: 17.05 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/22.85, allocations: 1.742 MB / 6.453 GB, free: 15.66 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.006717/22.86, allocations: 0.7905 MB / 6.454 GB, free: 15.07 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/22.86, allocations: 197.6 kB / 6.454 GB, free: 14.89 MB / 1.042 GB Notification: Performance of SimCode: time 1.593e-06/22.86, allocations: 4 kB / 6.454 GB, free: 14.89 MB / 1.042 GB Notification: Performance of Templates: time 1.199/24.06, allocations: 110.8 MB / 6.562 GB, free: 93.46 MB / 1.073 GB