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 2.657/2.657, allocations: 287.9 MB / 302.9 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 187.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 92.3 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004666, allocations: 12 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9513/1.111, allocations: 265.4 MB / 1.238 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0474/1.159, allocations: 26.9 MB / 1.264 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003825/1.163, allocations: 79.44 kB / 1.264 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006348/1.169, allocations: 1.661 MB / 1.266 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01686/1.186, allocations: 4.539 MB / 1.27 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/1.196, allocations: 2.618 MB / 1.273 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00901/1.205, allocations: 3.908 MB / 1.277 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004914/1.21, allocations: 2.25 MB / 1.279 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/1.221, allocations: 3.462 MB / 1.282 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/1.224, allocations: 1.584 MB / 1.284 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007134/1.225, allocations: 135.9 kB / 1.284 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008011/1.233, allocations: 2.2 MB / 1.286 GB, free: 14.32 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001801/1.235, allocations: 0.8139 MB / 1.287 GB, free: 13.51 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/1.237, allocations: 0.6329 MB / 1.287 GB, free: 12.87 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0076/1.244, allocations: 3.62 MB / 1.291 GB, free: 9.238 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.292e-06/1.244, allocations: 0 / 1.291 GB, free: 9.238 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.768e-06/1.244, allocations: 0 / 1.291 GB, free: 9.238 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.808e-05/1.244, allocations: 0 / 1.291 GB, free: 9.238 MB / 0.823 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.008448/1.253, allocations: 2.996 MB / 1.294 GB, free: 6.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.253, allocations: 12.03 kB / 1.294 GB, free: 6.148 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/1.265, allocations: 1.581 MB / 1.295 GB, free: 4.562 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005497/1.271, allocations: 1.907 MB / 1.297 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00164/1.273, allocations: 432.2 kB / 1.298 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006564/1.273, allocations: 224 kB / 1.298 GB, free: 1.934 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0087/1.282, allocations: 3.07 MB / 1.301 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/1.282, allocations: 4 kB / 1.301 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/1.282, allocations: 92 kB / 1.301 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/1.283, allocations: 88 kB / 1.301 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/1.293, allocations: 3.209 MB / 1.304 GB, free: 11.32 MB / 0.8386 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.03159/1.325, allocations: 14.29 MB / 1.318 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005862/1.331, allocations: 1.716 MB / 1.32 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005641/1.331, allocations: 158 kB / 1.32 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/1.331, allocations: 47.56 kB / 1.32 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00157/1.333, allocations: 202.1 kB / 1.32 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 6.386e-06/1.333, allocations: 0 / 1.32 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of matching and sorting (n=110): time 0.008734/1.342, allocations: 2.399 MB / 1.323 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/1.342, allocations: 64.41 kB / 1.323 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006071/1.348, allocations: 2.536 MB / 1.325 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003534/1.348, allocations: 57.7 kB / 1.325 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001595/1.35, allocations: 1.284 MB / 1.326 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000611/1.35, allocations: 386.5 kB / 1.327 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/1.351, allocations: 39.94 kB / 1.327 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002449/1.351, allocations: 373.8 kB / 1.327 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00377/1.355, allocations: 0.9915 MB / 1.328 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/1.359, allocations: 1.63 MB / 1.33 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/1.364, allocations: 1.208 MB / 1.331 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/1.364, allocations: 4 kB / 1.331 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01003/1.374, allocations: 2.883 MB / 1.334 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003283/1.377, allocations: 5.773 MB / 1.339 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/1.377, allocations: 12 kB / 1.339 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.858e-05/1.377, allocations: 28 kB / 1.339 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/1.381, allocations: 0.5929 MB / 1.34 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/1.383, allocations: 2.395 MB / 1.342 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/1.388, allocations: 439.5 kB / 1.343 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004039/1.389, allocations: 95.95 kB / 1.343 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.389, allocations: 4 kB / 1.343 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008752/1.397, allocations: 2.638 MB / 1.345 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-05/1.398, allocations: 12 kB / 1.346 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/1.398, allocations: 31.94 kB / 1.346 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/1.401, allocations: 0.5348 MB / 1.346 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.5e-05/1.401, allocations: 31.86 kB / 1.346 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/1.405, allocations: 375.4 kB / 1.346 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000371/1.406, allocations: 95.95 kB / 1.347 GB, free: 13.89 MB / 0.8855 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.002747/1.408, allocations: 0.6216 MB / 1.347 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.41, allocations: 260.8 kB / 1.347 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009422/1.419, allocations: 1.886 MB / 1.349 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/1.419, allocations: 12 kB / 1.349 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.641e-06/1.419, allocations: 3.938 kB / 1.349 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.419, allocations: 3.984 kB / 1.349 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.439, allocations: 4.524 MB / 1.354 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/1.439, allocations: 4 kB / 1.354 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00376/1.443, allocations: 312.3 kB / 1.354 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.969e-05/1.443, allocations: 12.38 kB / 1.354 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002955/1.443, allocations: 31.98 kB / 1.354 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/1.446, allocations: 2.372 MB / 1.356 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.151e-05/1.446, allocations: 11.92 kB / 1.356 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006369/1.452, allocations: 2.494 MB / 1.359 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.454, allocations: 0.5483 MB / 1.359 GB, free: 216 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005281/1.455, allocations: 35.92 kB / 1.359 GB, free: 180 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005483/1.46, allocations: 283.6 kB / 1.36 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/1.461, allocations: 76.8 kB / 1.36 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004298/1.461, allocations: 67.95 kB / 1.36 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00823/1.469, allocations: 1.747 MB / 1.361 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.783e-06/1.469, allocations: 0 / 1.361 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007202/1.477, allocations: 1.298 MB / 1.363 GB, free: 12.71 MB / 0.9011 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.001071/1.478, allocations: 368.6 kB / 1.363 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.49, allocations: 3.699 MB / 1.367 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/1.49, allocations: 7.938 kB / 1.367 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002946/1.493, allocations: 0.8229 MB / 1.368 GB, free: 7.777 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008178/1.502, allocations: 1.201 MB / 1.369 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/1.52, allocations: 5.01 MB / 1.374 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/1.524, allocations: 1.747 MB / 1.375 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.009926/1.534, allocations: 0.7896 MB / 1.376 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.536, allocations: 195.4 kB / 1.376 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of SimCode: time 3.359e-06/1.536, allocations: 0 / 1.376 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.1626/1.698, allocations: 44.46 MB / 1.42 GB, free: 2.562 MB / 0.948 GB