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.718/1.718, allocations: 288.4 MB / 303.7 MB, free: 7.988 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.001043/0.001043, allocations: 175.8 kB / 372.3 MB, free: 10.11 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.573/1.573, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007356/0.0007356, allocations: 100.6 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 16.81 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.515/0.6869, allocations: 135.1 MB / 1.112 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.688, allocations: 1.056 MB / 1.113 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.6881, allocations: 1.719 kB / 1.113 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.6884, allocations: 44.38 kB / 1.113 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.689, allocations: 260.3 kB / 1.113 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.6893, allocations: 144.9 kB / 1.114 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.6897, allocations: 212.3 kB / 1.114 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.6898, allocations: 52.16 kB / 1.114 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.6899, allocations: 42.19 kB / 1.114 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.69, allocations: 48.69 kB / 1.114 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.69, allocations: 3.594 kB / 1.114 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.6906, allocations: 403.8 kB / 1.114 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.6906, allocations: 20.95 kB / 1.114 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.6908, allocations: 74.55 kB / 1.114 GB, free: 18.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.6911, allocations: 200.2 kB / 1.115 GB, free: 18.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6911, allocations: 1.031 kB / 1.115 GB, free: 18.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6911, allocations: 0 / 1.115 GB, free: 18.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6911, allocations: 0 / 1.115 GB, free: 18.41 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.00057/0.6917, allocations: 451.2 kB / 1.115 GB, free: 18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.6917, allocations: 10.8 kB / 1.115 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.692, allocations: 39.41 kB / 1.115 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.6922, allocations: 212.4 kB / 1.115 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.6923, allocations: 8.484 kB / 1.115 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.6923, allocations: 14.16 kB / 1.115 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.6926, allocations: 124.9 kB / 1.115 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6926, allocations: 0 / 1.115 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6926, allocations: 11.84 kB / 1.115 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6926, allocations: 2.344 kB / 1.115 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.6929, allocations: 102.1 kB / 1.115 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.6936, allocations: 456.9 kB / 1.116 GB, free: 17.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.6939, allocations: 96.91 kB / 1.116 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.694, allocations: 44.52 kB / 1.116 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.694, allocations: 6.109 kB / 1.116 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.6941, allocations: 31.88 kB / 1.116 GB, free: 17.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.6941, allocations: 0 / 1.116 GB, free: 17.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004585/0.6945, allocations: 162.1 kB / 1.116 GB, free: 17.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.6946, allocations: 57.55 kB / 1.116 GB, free: 17.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.6948, allocations: 180.3 kB / 1.116 GB, free: 17.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.6948, allocations: 27.27 kB / 1.116 GB, free: 17.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.6949, allocations: 116.8 kB / 1.117 GB, free: 17.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.6949, allocations: 18.83 kB / 1.117 GB, free: 17.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.6949, allocations: 0 / 1.117 GB, free: 17.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.695, allocations: 328.7 kB / 1.117 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.6952, allocations: 41.12 kB / 1.117 GB, free: 16.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.6953, allocations: 37.69 kB / 1.117 GB, free: 16.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.6955, allocations: 91.02 kB / 1.117 GB, free: 16.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6955, allocations: 0 / 1.117 GB, free: 16.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002855/0.6958, allocations: 125 kB / 1.117 GB, free: 16.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6959, allocations: 12.06 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6959, allocations: 3.938 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6959, allocations: 1.062 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.696, allocations: 21.98 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.696, allocations: 1.281 kB / 1.117 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.6962, allocations: 23.67 kB / 1.117 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.6962, allocations: 1.766 kB / 1.117 GB, free: 16.62 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.808e-05/0.6963, allocations: 125.9 kB / 1.117 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.6963, allocations: 16.52 kB / 1.117 GB, free: 16.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.6967, allocations: 136.7 kB / 1.118 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6967, allocations: 1.219 kB / 1.118 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6967, allocations: 5.188 kB / 1.118 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6967, allocations: 0 / 1.118 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.6969, allocations: 219.9 kB / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6969, allocations: 0 / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.697, allocations: 18.84 kB / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6971, allocations: 0.9375 kB / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6971, allocations: 1.594 kB / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6971, allocations: 0 / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6971, allocations: 0 / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.6974, allocations: 238.2 kB / 1.118 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.6975, allocations: 90.88 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.6975, allocations: 4.562 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.6976, allocations: 17.45 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.6977, allocations: 4.484 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.6977, allocations: 2.625 kB / 1.118 GB, free: 16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001158/0.6978, allocations: 131.4 kB / 1.118 GB, free: 15.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6978, allocations: 0 / 1.118 GB, free: 15.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002412/0.6981, allocations: 27.06 kB / 1.118 GB, free: 15.92 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.0001786/0.6982, allocations: 109.8 kB / 1.118 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.6985, allocations: 87.94 kB / 1.118 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6986, allocations: 0 / 1.118 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.6987, allocations: 46.16 kB / 1.119 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.6991, allocations: 32.27 kB / 1.119 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.6996, allocations: 308.8 kB / 1.119 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.6999, allocations: 0.712 MB / 1.12 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.027e-05/0.7, allocations: 10.52 kB / 1.12 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.7, allocations: 14.62 kB / 1.12 GB, free: 14.92 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.7, allocations: 0 / 1.12 GB, free: 14.92 MB / 0.698 GB Notification: Performance of Templates: time 0.003936/0.704, allocations: 1.435 MB / 1.121 GB, free: 14.8 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)