Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 289.7 MB / 302.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 177.2 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.932/1.932, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009198, allocations: 90.02 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.405e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3085, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.832/6.141, allocations: 2.058 GB / 3.037 GB, free: 185.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/6.141, allocations: 84.69 kB / 3.038 GB, free: 185.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08082/6.222, allocations: 41.33 MB / 3.078 GB, free: 143.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.445e-06/6.222, allocations: 0 / 3.078 GB, free: 143.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.542e-05/6.222, allocations: 4.75 kB / 3.078 GB, free: 143.4 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.0006727/6.223, allocations: 445.4 kB / 3.078 GB, free: 143 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/6.223, allocations: 12.03 kB / 3.078 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/6.223, allocations: 39.73 kB / 3.078 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/6.223, allocations: 207.6 kB / 3.079 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/6.223, allocations: 4 kB / 3.079 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/6.223, allocations: 12 kB / 3.079 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/6.224, allocations: 97.67 kB / 3.079 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/6.224, allocations: 0.5625 kB / 3.079 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/6.224, allocations: 6.953 kB / 3.079 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/6.224, allocations: 7.953 kB / 3.079 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/6.224, allocations: 67.98 kB / 3.079 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/6.225, allocations: 464.1 kB / 3.079 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/6.225, allocations: 74.62 kB / 3.079 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/6.225, allocations: 34.27 kB / 3.079 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/6.225, allocations: 0 / 3.079 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/6.225, allocations: 30.56 kB / 3.079 GB, free: 141.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/6.225, allocations: 0 / 3.079 GB, free: 141.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002276/6.225, allocations: 93.62 kB / 3.079 GB, free: 141.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/6.225, allocations: 55.41 kB / 3.079 GB, free: 141.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/6.225, allocations: 158 kB / 3.08 GB, free: 141.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/6.225, allocations: 33.7 kB / 3.08 GB, free: 141.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/6.225, allocations: 116 kB / 3.08 GB, free: 141.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/6.225, allocations: 23.66 kB / 3.08 GB, free: 141.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/6.225, allocations: 0 / 3.08 GB, free: 141.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/6.226, allocations: 322.8 kB / 3.08 GB, free: 141 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/6.226, allocations: 24 kB / 3.08 GB, free: 141 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/6.226, allocations: 20 kB / 3.08 GB, free: 140.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/6.226, allocations: 19.98 kB / 3.08 GB, free: 140.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/6.226, allocations: 0.75 kB / 3.08 GB, free: 140.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001252/6.226, allocations: 101.4 kB / 3.08 GB, free: 140.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/6.226, allocations: 4 kB / 3.08 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/6.226, allocations: 0 / 3.08 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/6.226, allocations: 0 / 3.08 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/6.226, allocations: 23.81 kB / 3.08 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/6.226, allocations: 0 / 3.08 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-05/6.226, allocations: 15.98 kB / 3.08 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/6.226, allocations: 8.797 kB / 3.08 GB, free: 140.8 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.221e-05/6.226, allocations: 105 kB / 3.08 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/6.226, allocations: 23.8 kB / 3.08 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/6.227, allocations: 99.12 kB / 3.081 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/6.227, allocations: 4 kB / 3.081 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/6.227, allocations: 0 / 3.081 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/6.227, allocations: 0 / 3.081 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/6.227, allocations: 229.5 kB / 3.081 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/6.227, allocations: 0 / 3.081 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/6.227, allocations: 25.39 kB / 3.081 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/6.227, allocations: 0 / 3.081 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/6.227, allocations: 0 / 3.081 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/6.227, allocations: 4 kB / 3.081 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/6.227, allocations: 0 / 3.081 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/6.227, allocations: 191.2 kB / 3.081 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/6.227, allocations: 85.02 kB / 3.081 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/6.227, allocations: 8 kB / 3.081 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/6.227, allocations: 11.98 kB / 3.081 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/6.227, allocations: 7.984 kB / 3.081 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/6.227, allocations: 0 / 3.081 GB, free: 139.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.781e-05/6.227, allocations: 140 kB / 3.081 GB, free: 139.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.227, allocations: 0 / 3.081 GB, free: 139.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003826/6.228, allocations: 59.89 kB / 3.081 GB, free: 139.7 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.0007739/6.229, allocations: 0.5492 MB / 3.082 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001501/6.229, allocations: 59.91 kB / 3.082 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/6.229, allocations: 0 / 3.082 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/6.229, allocations: 24 kB / 3.082 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/6.229, allocations: 41.33 kB / 3.082 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/6.23, allocations: 157.9 kB / 3.082 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/6.23, allocations: 0.7121 MB / 3.083 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.842e-05/6.23, allocations: 16.88 kB / 3.083 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/6.23, allocations: 11.44 kB / 3.083 GB, free: 138.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/6.23, allocations: 0 / 3.083 GB, free: 138.1 MB / 0.948 GB Notification: Performance of Templates: time 0.01232/6.242, allocations: 10.18 MB / 3.093 GB, free: 127.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)