Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.679/2.679, allocations: 287.5 MB / 302.4 MB, free: 8.391 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.001406/0.001406, allocations: 178 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008987/0.0008984, allocations: 90.53 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.0005321, allocations: 18.02 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2093, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8618/1.071, allocations: 135.1 MB / 1.11 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001886/1.073, allocations: 1.051 MB / 1.111 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/1.073, allocations: 1.438 kB / 1.111 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002814/1.074, allocations: 40.33 kB / 1.111 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000922/1.075, allocations: 198.7 kB / 1.112 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/1.075, allocations: 136.4 kB / 1.112 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006372/1.076, allocations: 215.9 kB / 1.112 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/1.076, allocations: 46.59 kB / 1.112 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-05/1.076, allocations: 35.73 kB / 1.112 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/1.076, allocations: 50.19 kB / 1.112 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/1.076, allocations: 3.375 kB / 1.112 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/1.077, allocations: 285.4 kB / 1.112 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/1.077, allocations: 18.02 kB / 1.112 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/1.078, allocations: 48.83 kB / 1.112 GB, free: 17.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005388/1.078, allocations: 205.6 kB / 1.113 GB, free: 17.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.078, allocations: 3.938 kB / 1.113 GB, free: 17.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/1.078, allocations: 0 / 1.113 GB, free: 17.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.09e-06/1.078, allocations: 1 kB / 1.113 GB, free: 17.64 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.0008197/1.079, allocations: 449.1 kB / 1.113 GB, free: 17.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.079, allocations: 10 kB / 1.113 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/1.079, allocations: 41.92 kB / 1.113 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/1.08, allocations: 205.7 kB / 1.113 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.08, allocations: 8.375 kB / 1.113 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/1.08, allocations: 14.12 kB / 1.113 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/1.08, allocations: 121.7 kB / 1.113 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.08, allocations: 11.94 kB / 1.113 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/1.08, allocations: 4.562 kB / 1.113 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/1.08, allocations: 2.75 kB / 1.113 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/1.081, allocations: 98.47 kB / 1.113 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/1.082, allocations: 454.8 kB / 1.114 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/1.082, allocations: 99.61 kB / 1.114 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/1.082, allocations: 44.12 kB / 1.114 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/1.082, allocations: 1.719 kB / 1.114 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.083, allocations: 32.42 kB / 1.114 GB, free: 16.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.015e-06/1.083, allocations: 0 / 1.114 GB, free: 16.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0007329/1.083, allocations: 164.7 kB / 1.114 GB, free: 16.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/1.083, allocations: 59.05 kB / 1.114 GB, free: 16.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/1.084, allocations: 185.8 kB / 1.114 GB, free: 16.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/1.084, allocations: 26.67 kB / 1.115 GB, free: 16.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/1.084, allocations: 116.7 kB / 1.115 GB, free: 16.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/1.084, allocations: 16.95 kB / 1.115 GB, free: 16.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/1.084, allocations: 4.188 kB / 1.115 GB, free: 16.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.084, allocations: 320.6 kB / 1.115 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/1.084, allocations: 39.48 kB / 1.115 GB, free: 15.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/1.084, allocations: 39.17 kB / 1.115 GB, free: 15.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/1.085, allocations: 36.5 kB / 1.115 GB, free: 15.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.085, allocations: 1.094 kB / 1.115 GB, free: 15.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005064/1.085, allocations: 131.2 kB / 1.115 GB, free: 15.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.085, allocations: 6.156 kB / 1.115 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/1.085, allocations: 0.6562 kB / 1.115 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.085, allocations: 1 kB / 1.115 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/1.085, allocations: 30.95 kB / 1.115 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.085, allocations: 1.859 kB / 1.115 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/1.086, allocations: 22.42 kB / 1.115 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/1.086, allocations: 2.531 kB / 1.115 GB, free: 15.87 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 0.000153/1.086, allocations: 121.6 kB / 1.115 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/1.086, allocations: 9.562 kB / 1.115 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005587/1.086, allocations: 138 kB / 1.115 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/1.087, allocations: 5.031 kB / 1.116 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.087, allocations: 5.078 kB / 1.116 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.087, allocations: 0.6094 kB / 1.116 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/1.087, allocations: 223 kB / 1.116 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.087, allocations: 0 / 1.116 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/1.087, allocations: 18.14 kB / 1.116 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.383e-06/1.087, allocations: 1.406 kB / 1.116 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/1.087, allocations: 4.656 kB / 1.116 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.087, allocations: 1.031 kB / 1.116 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.087, allocations: 0 / 1.116 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/1.088, allocations: 231.8 kB / 1.116 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/1.088, allocations: 89.33 kB / 1.116 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/1.088, allocations: 2.391 kB / 1.116 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.088, allocations: 11.97 kB / 1.116 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/1.088, allocations: 8.328 kB / 1.116 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.088, allocations: 5.938 kB / 1.116 GB, free: 15.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002142/1.088, allocations: 132.5 kB / 1.116 GB, free: 15.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.088, allocations: 0 / 1.116 GB, free: 15.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003502/1.089, allocations: 29.61 kB / 1.116 GB, free: 15.17 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.0001952/1.089, allocations: 104.5 kB / 1.116 GB, free: 15.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004722/1.089, allocations: 89.88 kB / 1.116 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.089, allocations: 0 / 1.116 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/1.09, allocations: 49.77 kB / 1.116 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/1.09, allocations: 28.12 kB / 1.116 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009066/1.091, allocations: 308.2 kB / 1.117 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/1.092, allocations: 0.7135 MB / 1.117 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000167/1.092, allocations: 13.95 kB / 1.117 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/1.092, allocations: 13.16 kB / 1.118 GB, free: 14.17 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.092, allocations: 0 / 1.118 GB, free: 14.17 MB / 0.698 GB Notification: Performance of Templates: time 0.00683/1.099, allocations: 1.414 MB / 1.119 GB, free: 14.05 MB / 0.698 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)