Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.452/2.452, allocations: 253.1 MB / 260.6 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 186 kB / 319.9 MB, free: 3.078 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.201/2.201, allocations: 205.6 MB / 0.5709 GB, free: 15.24 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.001172/0.001172, allocations: 85.02 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.135e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2033, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.078/7.282, allocations: 2.175 GB / 3.063 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/7.282, allocations: 92.31 kB / 3.064 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1321/7.414, allocations: 39.91 MB / 3.103 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.542e-06/7.414, allocations: 4 kB / 3.103 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.409e-05/7.414, allocations: 0 / 3.103 GB, free: 141.4 MB / 0.8698 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.0006517/7.415, allocations: 446.3 kB / 3.103 GB, free: 141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/7.415, allocations: 12.03 kB / 3.103 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/7.415, allocations: 35.88 kB / 3.103 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/7.416, allocations: 210.8 kB / 3.103 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/7.416, allocations: 4 kB / 3.103 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/7.416, allocations: 7.938 kB / 3.103 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001972/7.416, allocations: 60 kB / 3.103 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/7.416, allocations: 94 kB / 3.103 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/7.416, allocations: 0 / 3.103 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/7.416, allocations: 0 / 3.103 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/7.416, allocations: 8 kB / 3.103 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/7.417, allocations: 416.8 kB / 3.104 GB, free: 140 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/7.417, allocations: 74.55 kB / 3.104 GB, free: 140 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.583e-05/7.417, allocations: 24.92 kB / 3.104 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/7.417, allocations: 8 kB / 3.104 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/7.417, allocations: 30.56 kB / 3.104 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/7.417, allocations: 0 / 3.104 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002544/7.418, allocations: 77.58 kB / 3.104 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/7.418, allocations: 59.36 kB / 3.104 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/7.418, allocations: 140.7 kB / 3.104 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/7.418, allocations: 25.7 kB / 3.104 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/7.418, allocations: 127.8 kB / 3.104 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/7.418, allocations: 19.66 kB / 3.104 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/7.418, allocations: 0 / 3.104 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.225e-05/7.418, allocations: 322.8 kB / 3.105 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/7.418, allocations: 16 kB / 3.105 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.266e-05/7.418, allocations: 20 kB / 3.105 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/7.418, allocations: 27.98 kB / 3.105 GB, free: 139 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/7.418, allocations: 0 / 3.105 GB, free: 139 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001886/7.418, allocations: 89.67 kB / 3.105 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/7.418, allocations: 5.406 kB / 3.105 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/7.419, allocations: 0 / 3.105 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/7.419, allocations: 0 / 3.105 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/7.419, allocations: 23.92 kB / 3.105 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/7.419, allocations: 4 kB / 3.105 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/7.419, allocations: 11.95 kB / 3.105 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/7.419, allocations: 7.984 kB / 3.105 GB, free: 138.9 MB / 0.8698 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 () * 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 6.326e-05/7.419, allocations: 101 kB / 3.105 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/7.419, allocations: 11.91 kB / 3.105 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/7.419, allocations: 94.14 kB / 3.105 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/7.419, allocations: 0 / 3.105 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/7.419, allocations: 0 / 3.105 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/7.419, allocations: 4 kB / 3.105 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/7.42, allocations: 190.1 kB / 3.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/7.42, allocations: 11.92 kB / 3.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/7.42, allocations: 19.98 kB / 3.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/7.42, allocations: 0 / 3.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/7.42, allocations: 0 / 3.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/7.42, allocations: 0 / 3.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/7.42, allocations: 7.984 kB / 3.105 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/7.42, allocations: 175.4 kB / 3.105 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/7.42, allocations: 93.02 kB / 3.106 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/7.42, allocations: 0 / 3.106 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/7.42, allocations: 11.98 kB / 3.106 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/7.421, allocations: 0 / 3.106 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/7.421, allocations: 4 kB / 3.106 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.131e-05/7.421, allocations: 111.8 kB / 3.106 GB, free: 138 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/7.421, allocations: 3.938 kB / 3.106 GB, free: 138 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004322/7.421, allocations: 51.83 kB / 3.106 GB, free: 137.9 MB / 0.8698 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 () * 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.0008694/7.422, allocations: 0.6408 MB / 3.106 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001973/7.422, allocations: 52.3 kB / 3.106 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/7.422, allocations: 0 / 3.106 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/7.422, allocations: 27.94 kB / 3.106 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/7.423, allocations: 37.3 kB / 3.106 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/7.423, allocations: 141 kB / 3.107 GB, free: 137 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/7.424, allocations: 0.7118 MB / 3.107 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001319/7.424, allocations: 20.41 kB / 3.107 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/7.424, allocations: 15.38 kB / 3.107 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.532e-06/7.424, allocations: 0 / 3.107 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.01201/7.436, allocations: 4.37 MB / 3.112 GB, free: 131.9 MB / 0.8698 GB