Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.4 MB / 303.4 MB, free: 8.168 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.001244/0.001244, allocations: 181.8 kB / 372 MB, free: 10.27 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.575/1.575, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008337/0.000834, allocations: 86.3 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 13.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1961, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.588/0.7842, allocations: 135.1 MB / 1.112 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.7856, allocations: 1.062 MB / 1.113 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.7857, allocations: 1.812 kB / 1.113 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.7859, allocations: 28.72 kB / 1.113 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006102/0.7865, allocations: 196.4 kB / 1.113 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.7868, allocations: 139.8 kB / 1.113 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000418/0.7873, allocations: 222.7 kB / 1.113 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.7874, allocations: 44.17 kB / 1.113 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.135e-05/0.7875, allocations: 35.14 kB / 1.113 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.7876, allocations: 53.8 kB / 1.113 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.7876, allocations: 7.5 kB / 1.113 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004415/0.788, allocations: 280.8 kB / 1.114 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.7881, allocations: 20.67 kB / 1.114 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.7882, allocations: 45.77 kB / 1.114 GB, free: 18.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.7885, allocations: 197.7 kB / 1.114 GB, free: 18.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7885, allocations: 3.344 kB / 1.114 GB, free: 18.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7885, allocations: 0 / 1.114 GB, free: 18.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7885, allocations: 0 / 1.114 GB, free: 18.29 MB / 0.698 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.0006374/0.7892, allocations: 449.9 kB / 1.114 GB, free: 17.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7892, allocations: 10.59 kB / 1.114 GB, free: 17.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.7895, allocations: 38.67 kB / 1.114 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.7898, allocations: 207 kB / 1.114 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.7898, allocations: 7.969 kB / 1.114 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.7898, allocations: 15.31 kB / 1.114 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.7901, allocations: 121.6 kB / 1.115 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7901, allocations: 3.938 kB / 1.115 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.7902, allocations: 6.391 kB / 1.115 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.7902, allocations: 6.828 kB / 1.115 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.7905, allocations: 106 kB / 1.115 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/0.7913, allocations: 453.4 kB / 1.115 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.7915, allocations: 94.05 kB / 1.115 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.7916, allocations: 42.52 kB / 1.115 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.7917, allocations: 5.75 kB / 1.115 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.7917, allocations: 36.23 kB / 1.115 GB, free: 17.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7917, allocations: 0 / 1.115 GB, free: 17.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.00052/0.7922, allocations: 162.1 kB / 1.115 GB, free: 17.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.7923, allocations: 56.64 kB / 1.116 GB, free: 17.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.7925, allocations: 178.3 kB / 1.116 GB, free: 17.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.7925, allocations: 30.3 kB / 1.116 GB, free: 16.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.7926, allocations: 113.2 kB / 1.116 GB, free: 16.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.7927, allocations: 20.06 kB / 1.116 GB, free: 16.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.7927, allocations: 5 kB / 1.116 GB, free: 16.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7928, allocations: 321.6 kB / 1.116 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.7929, allocations: 40.34 kB / 1.116 GB, free: 16.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.7931, allocations: 41.83 kB / 1.116 GB, free: 16.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.7932, allocations: 40.98 kB / 1.116 GB, free: 16.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7932, allocations: 1.406 kB / 1.116 GB, free: 16.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003215/0.7935, allocations: 128.2 kB / 1.116 GB, free: 16.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.7936, allocations: 4.125 kB / 1.116 GB, free: 16.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7936, allocations: 2.578 kB / 1.116 GB, free: 16.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.7936, allocations: 0 / 1.116 GB, free: 16.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.7937, allocations: 24.12 kB / 1.116 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7938, allocations: 0 / 1.116 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.7939, allocations: 25.2 kB / 1.116 GB, free: 16.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.7939, allocations: 3.344 kB / 1.116 GB, free: 16.51 MB / 0.698 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 9.505e-05/0.794, allocations: 121.9 kB / 1.117 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.794, allocations: 10.39 kB / 1.117 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.7944, allocations: 145.7 kB / 1.117 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.7944, allocations: 2.328 kB / 1.117 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7944, allocations: 0 / 1.117 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7945, allocations: 0.7969 kB / 1.117 GB, free: 16.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.7947, allocations: 223.2 kB / 1.117 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7947, allocations: 6.047 kB / 1.117 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.7948, allocations: 20.5 kB / 1.117 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.7948, allocations: 0 / 1.117 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7949, allocations: 6.344 kB / 1.117 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.7949, allocations: 0.8438 kB / 1.117 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7949, allocations: 5.375 kB / 1.117 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.7952, allocations: 222.1 kB / 1.117 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.7953, allocations: 88.88 kB / 1.117 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.7953, allocations: 4.344 kB / 1.117 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.7955, allocations: 12.61 kB / 1.117 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.7955, allocations: 7.781 kB / 1.117 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.7955, allocations: 8.094 kB / 1.117 GB, free: 15.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001285/0.7957, allocations: 133 kB / 1.117 GB, free: 15.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7957, allocations: 0 / 1.117 GB, free: 15.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002424/0.7959, allocations: 23.33 kB / 1.117 GB, free: 15.81 MB / 0.698 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.000188/0.7961, allocations: 105.6 kB / 1.118 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.7964, allocations: 85.33 kB / 1.118 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7964, allocations: 0 / 1.118 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.7966, allocations: 49.28 kB / 1.118 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.797, allocations: 36.98 kB / 1.118 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.7976, allocations: 307.1 kB / 1.118 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.798, allocations: 0.7092 MB / 1.119 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.533e-05/0.7981, allocations: 13.89 kB / 1.119 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.7981, allocations: 12.44 kB / 1.119 GB, free: 14.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7981, allocations: 0 / 1.119 GB, free: 14.81 MB / 0.698 GB Notification: Performance of Templates: time 0.004287/0.8024, allocations: 1.427 MB / 1.12 GB, free: 14.69 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)