Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.341/2.341, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 179.7 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.532/2.532, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 101.9 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006475/0.0006475, allocations: 15.41 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2165, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.168/1.385, allocations: 265.9 MB / 1.159 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.05342/1.438, allocations: 27.07 MB / 1.185 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004726/1.443, allocations: 81.28 kB / 1.185 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.008403/1.451, allocations: 1.695 MB / 1.187 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.02149/1.473, allocations: 4.742 MB / 1.191 GB, free: 216 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01778/1.491, allocations: 2.636 MB / 1.194 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01618/1.507, allocations: 4.012 MB / 1.198 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006668/1.514, allocations: 2.264 MB / 1.2 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0126/1.526, allocations: 3.396 MB / 1.203 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006806/1.533, allocations: 1.708 MB / 1.205 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001772/1.535, allocations: 132 kB / 1.205 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01452/1.55, allocations: 2.2 MB / 1.207 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003394/1.553, allocations: 0.8373 MB / 1.208 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003083/1.556, allocations: 0.6329 MB / 1.209 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/1.569, allocations: 3.64 MB / 1.212 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.569, allocations: 0 / 1.212 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.948e-06/1.569, allocations: 4 kB / 1.212 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001895/1.569, allocations: 0 / 1.212 GB, free: 15.07 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.01621/1.586, allocations: 2.972 MB / 1.215 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/1.586, allocations: 12.02 kB / 1.215 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/1.609, allocations: 1.577 MB / 1.217 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007102/1.616, allocations: 1.894 MB / 1.219 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002577/1.619, allocations: 428 kB / 1.219 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009285/1.619, allocations: 220 kB / 1.219 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/1.631, allocations: 3.106 MB / 1.222 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.578e-05/1.632, allocations: 0 / 1.222 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005808/1.632, allocations: 95.98 kB / 1.222 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/1.632, allocations: 96 kB / 1.222 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/1.648, allocations: 3.209 MB / 1.226 GB, free: 1.176 MB / 0.7448 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.04022/1.688, allocations: 14.28 MB / 1.24 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007956/1.696, allocations: 1.701 MB / 1.241 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008373/1.697, allocations: 154 kB / 1.241 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.662e-05/1.697, allocations: 63.45 kB / 1.241 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001991/1.699, allocations: 198 kB / 1.242 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 8.646e-06/1.699, allocations: 0 / 1.242 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.01147/1.71, allocations: 2.399 MB / 1.244 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/1.711, allocations: 60.41 kB / 1.244 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.721, allocations: 2.515 MB / 1.246 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0006859/1.722, allocations: 65.62 kB / 1.246 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002624/1.724, allocations: 1.241 MB / 1.248 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009336/1.725, allocations: 386.4 kB / 1.248 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/1.726, allocations: 36 kB / 1.248 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002913/1.726, allocations: 373.9 kB / 1.248 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005228/1.731, allocations: 0.9837 MB / 1.249 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005693/1.737, allocations: 1.567 MB / 1.251 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005547/1.743, allocations: 1.204 MB / 1.252 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/1.743, allocations: 4 kB / 1.252 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01314/1.756, allocations: 2.876 MB / 1.255 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002573/1.759, allocations: 6.109 MB / 1.261 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.393e-05/1.759, allocations: 12 kB / 1.261 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.917e-05/1.759, allocations: 28 kB / 1.261 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006156/1.765, allocations: 0.589 MB / 1.262 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/1.767, allocations: 2.391 MB / 1.264 GB, free: 7.785 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006991/1.774, allocations: 447.5 kB / 1.264 GB, free: 7.348 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005956/1.774, allocations: 95.95 kB / 1.264 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.775, allocations: 7.938 kB / 1.264 GB, free: 7.246 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01207/1.787, allocations: 2.646 MB / 1.267 GB, free: 4.586 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.162e-05/1.787, allocations: 12 kB / 1.267 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/1.787, allocations: 28 kB / 1.267 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005132/1.792, allocations: 0.531 MB / 1.268 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.35e-05/1.792, allocations: 39.86 kB / 1.268 GB, free: 3.977 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006111/1.798, allocations: 375.3 kB / 1.268 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006486/1.799, allocations: 91.97 kB / 1.268 GB, free: 3.52 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.002256/1.801, allocations: 0.6345 MB / 1.269 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009816/1.802, allocations: 256.8 kB / 1.269 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008448/1.811, allocations: 1.878 MB / 1.271 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/1.811, allocations: 12 kB / 1.271 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.811, allocations: 0 / 1.271 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/1.811, allocations: 3.984 kB / 1.271 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.827, allocations: 4.539 MB / 1.275 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.827, allocations: 8 kB / 1.275 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/1.83, allocations: 324.2 kB / 1.275 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.339e-05/1.83, allocations: 8 kB / 1.275 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/1.83, allocations: 35.94 kB / 1.276 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/1.832, allocations: 2.368 MB / 1.278 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.832, allocations: 4 kB / 1.278 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007978/1.84, allocations: 2.504 MB / 1.28 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/1.842, allocations: 0.5484 MB / 1.281 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007751/1.843, allocations: 28 kB / 1.281 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005188/1.848, allocations: 292.4 kB / 1.281 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/1.848, allocations: 76.8 kB / 1.281 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000316/1.849, allocations: 67.95 kB / 1.281 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.008277/1.857, allocations: 1.734 MB / 1.283 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.563e-06/1.857, allocations: 0 / 1.283 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01031/1.867, allocations: 1.306 MB / 1.284 GB, free: 2.316 MB / 0.8073 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.001871/1.869, allocations: 386 kB / 1.285 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02584/1.895, allocations: 3.691 MB / 1.288 GB, free: 14.22 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.887e-05/1.895, allocations: 128 / 1.288 GB, free: 14.22 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006023/1.901, allocations: 0.8344 MB / 1.289 GB, free: 13.39 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01764/1.919, allocations: 1.206 MB / 1.29 GB, free: 12.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.94, allocations: 4.944 MB / 1.295 GB, free: 7.145 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003628/1.944, allocations: 1.727 MB / 1.297 GB, free: 5.375 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01046/1.954, allocations: 0.7855 MB / 1.297 GB, free: 4.586 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/1.956, allocations: 183.4 kB / 1.298 GB, free: 4.41 MB / 0.823 GB Notification: Performance of SimCode: time 2.435e-06/1.956, allocations: 0 / 1.298 GB, free: 4.41 MB / 0.823 GB Notification: Performance of Templates: time 0.1378/2.094, allocations: 44.32 MB / 1.341 GB, free: 8.41 MB / 0.8698 GB