Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.586/4.586, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002396/0.002396, allocations: 355.7 kB / 0.644 GB, free: 185.6 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 3.928/3.928, allocations: 410.7 MB / 1.112 GB, free: 5.941 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.001788/0.001788, allocations: 191.4 kB / 1.225 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004872, allocations: 16 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5669, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1291/0.6961, allocations: 135 MB / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.6973, allocations: 0.9352 MB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.6974, allocations: 7.938 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.6976, allocations: 39.8 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.698, allocations: 127.2 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.6982, allocations: 99.58 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000503/0.6988, allocations: 267.1 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.6989, allocations: 49.3 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.6989, allocations: 35.8 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.699, allocations: 47.77 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.6991, allocations: 7.938 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.6994, allocations: 179.5 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.6995, allocations: 19.92 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.6995, allocations: 49.62 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.6997, allocations: 155.7 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.575e-06/0.6998, allocations: 0 / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.767e-06/0.6998, allocations: 4 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.6998, allocations: 0 / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005243/0.7003, allocations: 442.8 kB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.7004, allocations: 11.62 kB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.7007, allocations: 43.73 kB / 1.595 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.7009, allocations: 206.8 kB / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7009, allocations: 8 kB / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.701, allocations: 12 kB / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.7013, allocations: 113.6 kB / 1.595 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.926e-06/0.7013, allocations: 0 / 1.595 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.7013, allocations: 11.95 kB / 1.595 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.7013, allocations: 7.938 kB / 1.595 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.7017, allocations: 110.2 kB / 1.595 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.7023, allocations: 448.3 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.7026, allocations: 90.55 kB / 1.596 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.7028, allocations: 48.95 kB / 1.596 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.7028, allocations: 3.984 kB / 1.596 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.7028, allocations: 34.5 kB / 1.596 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.129e-06/0.7028, allocations: 0 / 1.596 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005053/0.7033, allocations: 161.4 kB / 1.596 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.7034, allocations: 55.39 kB / 1.596 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.7036, allocations: 178.4 kB / 1.596 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.7036, allocations: 25.7 kB / 1.596 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.7037, allocations: 116 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.7037, allocations: 27.7 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.7037, allocations: 4 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.7038, allocations: 322.8 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.7039, allocations: 31.98 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.7041, allocations: 43.97 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.7042, allocations: 43.92 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.406e-06/0.7042, allocations: 0 / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003427/0.7046, allocations: 125.9 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7046, allocations: 4 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.7e-06/0.7046, allocations: 0 / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7046, allocations: 4 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.7048, allocations: 19.98 kB / 1.597 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.069e-06/0.7048, allocations: 7.891 kB / 1.597 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.7049, allocations: 27.83 kB / 1.597 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.705, allocations: 0 / 1.597 GB, free: 144.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.162e-05/0.7051, allocations: 129.8 kB / 1.597 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.7051, allocations: 11.89 kB / 1.597 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.7055, allocations: 131.1 kB / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-06/0.7055, allocations: 9.031 kB / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.336e-06/0.7055, allocations: 0 / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.368e-06/0.7055, allocations: 3.953 kB / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.7058, allocations: 225.4 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7058, allocations: 3.984 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.7059, allocations: 16 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-06/0.7059, allocations: 3.984 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.706, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.436e-06/0.706, allocations: 3.938 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.168e-06/0.706, allocations: 4 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.7063, allocations: 215.4 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.7064, allocations: 92.94 kB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.7064, allocations: 4 kB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.7066, allocations: 11.91 kB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.7066, allocations: 17.28 kB / 1.598 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-06/0.7067, allocations: 0 / 1.598 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001098/0.7068, allocations: 133.8 kB / 1.598 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.03e-07/0.7068, allocations: 0 / 1.598 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003177/0.7071, allocations: 20 kB / 1.598 GB, free: 143.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.7073, allocations: 119.1 kB / 1.598 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.7076, allocations: 79.95 kB / 1.598 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.633e-06/0.7076, allocations: 0 / 1.598 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.7078, allocations: 47.97 kB / 1.598 GB, free: 143 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.7083, allocations: 29.78 kB / 1.598 GB, free: 143 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.7088, allocations: 309.5 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.709, allocations: 0.716 MB / 1.599 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.749e-05/0.7091, allocations: 12.69 kB / 1.599 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.7092, allocations: 11.44 kB / 1.599 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.495e-06/0.7092, allocations: 7.938 kB / 1.599 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004626/0.7138, allocations: 1.42 MB / 1.601 GB, free: 140.6 MB / 0.8542 GB