Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6216/0.6216, allocations: 94.78 MB / 102.2 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001437/0.001437, allocations: 180.5 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.726/1.726, allocations: 170.6 MB / 319.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001839/0.001839, allocations: 101.2 kB / 381.3 MB, free: 18.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.056e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1562, allocations: 61.53 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.06/12.22, allocations: 4.465 GB / 4.964 GB, free: 75.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/12.22, allocations: 81.08 kB / 4.964 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1596/12.38, allocations: 75.38 MB / 5.038 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.136e-06/12.38, allocations: 4 kB / 5.038 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.84e-05/12.38, allocations: 0 / 5.038 GB, free: 3.57 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001443/12.38, allocations: 0.6182 MB / 5.038 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/12.38, allocations: 12.03 kB / 5.038 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/12.38, allocations: 35.8 kB / 5.039 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/12.38, allocations: 210.8 kB / 5.039 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/12.38, allocations: 4 kB / 5.039 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/12.38, allocations: 15.92 kB / 5.039 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000149/12.38, allocations: 59.98 kB / 5.039 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/12.38, allocations: 95.14 kB / 5.039 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/12.38, allocations: 3.938 kB / 5.039 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/12.38, allocations: 0 / 5.039 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/12.38, allocations: 0 / 5.039 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/12.38, allocations: 424.8 kB / 5.039 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/12.38, allocations: 79.05 kB / 5.039 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/12.38, allocations: 24.92 kB / 5.039 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/12.38, allocations: 0 / 5.039 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/12.38, allocations: 36.53 kB / 5.039 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/12.38, allocations: 0 / 5.039 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002208/12.38, allocations: 79.19 kB / 5.039 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/12.38, allocations: 55.41 kB / 5.04 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/12.38, allocations: 145.5 kB / 5.04 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/12.38, allocations: 25.7 kB / 5.04 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/12.38, allocations: 120.1 kB / 5.04 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/12.38, allocations: 27.64 kB / 5.04 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/12.38, allocations: 3.938 kB / 5.04 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.838e-05/12.38, allocations: 322.8 kB / 5.04 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/12.38, allocations: 16 kB / 5.04 GB, free: 1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/12.38, allocations: 20 kB / 5.04 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/12.38, allocations: 16 kB / 5.04 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/12.38, allocations: 7.953 kB / 5.04 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001153/12.38, allocations: 81.59 kB / 5.04 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/12.38, allocations: 8 kB / 5.04 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/12.38, allocations: 0 / 5.04 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/12.38, allocations: 0 / 5.04 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/12.38, allocations: 19.98 kB / 5.04 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/12.38, allocations: 1.641 kB / 5.04 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-05/12.38, allocations: 11.98 kB / 5.04 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/12.38, allocations: 4.75 kB / 5.04 GB, free: 0.8281 MB / 0.5261 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.535e-05/12.38, allocations: 112.9 kB / 5.04 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/12.38, allocations: 11.86 kB / 5.04 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/12.38, allocations: 94.22 kB / 5.041 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/12.38, allocations: 0 / 5.041 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/12.38, allocations: 7.984 kB / 5.041 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/12.38, allocations: 3.938 kB / 5.041 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/12.38, allocations: 190.1 kB / 5.041 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/12.38, allocations: 5.969 kB / 5.041 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/12.38, allocations: 19.98 kB / 5.041 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/12.38, allocations: 7.891 kB / 5.041 GB, free: 348 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/12.38, allocations: 0 / 5.041 GB, free: 348 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/12.38, allocations: 0 / 5.041 GB, free: 348 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/12.38, allocations: 0 / 5.041 GB, free: 348 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/12.38, allocations: 171.5 kB / 5.041 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/12.38, allocations: 93.02 kB / 5.041 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/12.38, allocations: 3.953 kB / 5.041 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/12.38, allocations: 7.984 kB / 5.041 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/12.38, allocations: 11.97 kB / 5.041 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/12.38, allocations: 0 / 5.041 GB, free: 24 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.355/12.74, allocations: 117.2 kB / 5.041 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.12e-07/12.74, allocations: 0 / 5.041 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000613/12.74, allocations: 59.3 kB / 5.041 GB, free: 134.5 MB / 0.5261 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.001247/12.74, allocations: 0.7309 MB / 5.042 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002015/12.74, allocations: 45.34 kB / 5.042 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/12.74, allocations: 0 / 5.042 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/12.74, allocations: 24.94 kB / 5.042 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/12.74, allocations: 34.48 kB / 5.042 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/12.74, allocations: 147.1 kB / 5.042 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/12.74, allocations: 0.7118 MB / 5.043 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.747e-05/12.74, allocations: 15.19 kB / 5.043 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/12.74, allocations: 11.56 kB / 5.043 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/12.74, allocations: 0.5469 kB / 5.043 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.009899/12.75, allocations: 4.705 MB / 5.047 GB, free: 133.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)