Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.476/2.476, allocations: 284.8 MB / 297.3 MB, free: 6.344 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.001489/0.001489, allocations: 180.6 kB / 365.7 MB, free: 2.582 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.046/2.046, allocations: 205.1 MB / 0.6241 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001075, allocations: 91.81 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.382e-05, allocations: 8 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7767, allocations: 115.2 MB / 0.97 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.115/6.892, allocations: 2.057 GB / 3.026 GB, free: 40.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/6.893, allocations: 85.05 kB / 3.027 GB, free: 40.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1319/7.024, allocations: 41.32 MB / 3.067 GB, free: 2.203 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/7.025, allocations: 0 / 3.067 GB, free: 2.203 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.504e-05/7.025, allocations: 8 kB / 3.067 GB, free: 2.195 MB / 0.948 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.0006341/7.025, allocations: 446.9 kB / 3.067 GB, free: 1.715 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/7.025, allocations: 8.031 kB / 3.067 GB, free: 1.707 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/7.026, allocations: 43.73 kB / 3.067 GB, free: 1.664 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/7.026, allocations: 209.5 kB / 3.068 GB, free: 1.422 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/7.026, allocations: 8.438 kB / 3.068 GB, free: 1.414 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/7.026, allocations: 12 kB / 3.068 GB, free: 1.402 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/7.026, allocations: 99.67 kB / 3.068 GB, free: 1.301 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/7.026, allocations: 3.984 kB / 3.068 GB, free: 1.297 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/7.026, allocations: 11.95 kB / 3.068 GB, free: 1.285 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/7.026, allocations: 0 / 3.068 GB, free: 1.285 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/7.026, allocations: 68 kB / 3.068 GB, free: 1.219 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/7.027, allocations: 460.2 kB / 3.068 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/7.027, allocations: 78.56 kB / 3.068 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/7.028, allocations: 24.92 kB / 3.068 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/7.028, allocations: 0 / 3.068 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/7.028, allocations: 38.56 kB / 3.068 GB, free: 0.5586 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/7.028, allocations: 0 / 3.068 GB, free: 0.5586 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002513/7.028, allocations: 95.44 kB / 3.068 GB, free: 472 kB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/7.028, allocations: 59.36 kB / 3.069 GB, free: 400 kB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/7.028, allocations: 162.5 kB / 3.069 GB, free: 232 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/7.028, allocations: 25.7 kB / 3.069 GB, free: 200 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/7.028, allocations: 116 kB / 3.069 GB, free: 80 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/7.028, allocations: 27.78 kB / 3.069 GB, free: 52 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/7.028, allocations: 4 kB / 3.069 GB, free: 48 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.6213/7.65, allocations: 319.5 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/7.65, allocations: 18.22 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/7.65, allocations: 20.38 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/7.65, allocations: 21.2 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/7.65, allocations: 1.828 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002839/7.65, allocations: 95.97 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/7.65, allocations: 6.5 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/7.65, allocations: 0 / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/7.65, allocations: 1.219 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/7.651, allocations: 22.36 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/7.651, allocations: 1.75 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/7.651, allocations: 14.58 kB / 3.069 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/7.651, allocations: 7.469 kB / 3.069 GB, free: 329.1 MB / 0.948 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.718e-05/7.651, allocations: 107.7 kB / 3.069 GB, free: 329 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/7.651, allocations: 11.12 kB / 3.069 GB, free: 329 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/7.651, allocations: 100.5 kB / 3.07 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/7.651, allocations: 1.344 kB / 3.07 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/7.651, allocations: 0.6875 kB / 3.07 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/7.651, allocations: 3.203 kB / 3.07 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/7.652, allocations: 235.7 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/7.652, allocations: 0.625 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/7.652, allocations: 19.31 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/7.652, allocations: 0.5312 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/7.652, allocations: 2.391 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/7.652, allocations: 0.625 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/7.652, allocations: 0.7812 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/7.652, allocations: 186.2 kB / 3.07 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/7.652, allocations: 92.92 kB / 3.07 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/7.652, allocations: 1.5 kB / 3.07 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/7.653, allocations: 10.45 kB / 3.07 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/7.653, allocations: 5.812 kB / 3.07 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/7.653, allocations: 9.672 kB / 3.07 GB, free: 328.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001609/7.653, allocations: 132.2 kB / 3.07 GB, free: 328.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/7.653, allocations: 0 / 3.07 GB, free: 328.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004911/7.653, allocations: 57.16 kB / 3.07 GB, free: 328.4 MB / 0.948 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.001009/7.654, allocations: 0.5603 MB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002186/7.655, allocations: 47.03 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/7.655, allocations: 0 / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/7.655, allocations: 31.7 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/7.655, allocations: 32.73 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/7.656, allocations: 165.3 kB / 3.071 GB, free: 328.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/7.656, allocations: 0.7094 MB / 3.072 GB, free: 327.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000128/7.656, allocations: 17.48 kB / 3.072 GB, free: 327.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/7.656, allocations: 12.22 kB / 3.072 GB, free: 327.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/7.656, allocations: 3.469 kB / 3.072 GB, free: 327.5 MB / 0.948 GB Notification: Performance of Templates: time 0.02679/7.683, allocations: 10.19 MB / 3.082 GB, free: 327 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)