Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7682/0.7682, allocations: 132.4 MB / 139.9 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001067/0.001067, allocations: 167.4 kB / 171.8 MB, free: 4.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.226/1.226, allocations: 170.6 MB / 374.2 MB, free: 184 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001698/0.001698, allocations: 104.8 kB / 444.8 MB, free: 14.17 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1523/0.1524, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.293/5.445, allocations: 2.118 GB / 2.784 GB, free: 55.76 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/5.445, allocations: 95.94 kB / 2.784 GB, free: 55.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.07685/5.522, allocations: 39.49 MB / 2.823 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/5.522, allocations: 4 kB / 2.823 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.593e-05/5.522, allocations: 4 kB / 2.823 GB, free: 15.64 MB / 0.6198 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.0006122/5.523, allocations: 442.9 kB / 2.823 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/5.523, allocations: 11.97 kB / 2.823 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/5.523, allocations: 39.78 kB / 2.823 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/5.524, allocations: 208 kB / 2.824 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/5.524, allocations: 4 kB / 2.824 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/5.524, allocations: 4 kB / 2.824 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001518/5.524, allocations: 63.98 kB / 2.824 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/5.524, allocations: 81.67 kB / 2.824 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/5.524, allocations: 0 / 2.824 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/5.524, allocations: 3.938 kB / 2.824 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/5.524, allocations: 4 kB / 2.824 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/5.525, allocations: 437.1 kB / 2.824 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/5.525, allocations: 70.58 kB / 2.824 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/5.525, allocations: 24.92 kB / 2.824 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/5.525, allocations: 4 kB / 2.824 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/5.525, allocations: 38.53 kB / 2.824 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/5.525, allocations: 0 / 2.824 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002014/5.525, allocations: 77.75 kB / 2.824 GB, free: 14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/5.525, allocations: 51.41 kB / 2.824 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/5.525, allocations: 147 kB / 2.824 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/5.525, allocations: 25.7 kB / 2.825 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/5.526, allocations: 116.1 kB / 2.825 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/5.526, allocations: 23.64 kB / 2.825 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/5.526, allocations: 0 / 2.825 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/5.526, allocations: 318.8 kB / 2.825 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.379e-05/5.526, allocations: 20 kB / 2.825 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/5.526, allocations: 20 kB / 2.825 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/5.526, allocations: 23.98 kB / 2.825 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/5.526, allocations: 4 kB / 2.825 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/5.526, allocations: 89.48 kB / 2.825 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/5.526, allocations: 4 kB / 2.825 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/5.526, allocations: 0 / 2.825 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/5.526, allocations: 0 / 2.825 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/5.526, allocations: 19.98 kB / 2.825 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/5.526, allocations: 0 / 2.825 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.399e-05/5.526, allocations: 19.83 kB / 2.825 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/5.526, allocations: 8 kB / 2.825 GB, free: 13.08 MB / 0.6198 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.014e-05/5.526, allocations: 105 kB / 2.825 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/5.526, allocations: 15.86 kB / 2.825 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/5.527, allocations: 98.16 kB / 2.825 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/5.527, allocations: 0 / 2.825 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/5.527, allocations: 0 / 2.825 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/5.527, allocations: 7.984 kB / 2.825 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/5.527, allocations: 186.2 kB / 2.826 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/5.527, allocations: 0 / 2.826 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/5.527, allocations: 23.98 kB / 2.826 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/5.527, allocations: 0 / 2.826 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/5.527, allocations: 3.953 kB / 2.826 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/5.527, allocations: 0 / 2.826 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.527, allocations: 4 kB / 2.826 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/5.527, allocations: 171.8 kB / 2.826 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/5.527, allocations: 85.02 kB / 2.826 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/5.527, allocations: 4 kB / 2.826 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/5.527, allocations: 15.94 kB / 2.826 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/5.527, allocations: 7.984 kB / 2.826 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/5.527, allocations: 4 kB / 2.826 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.932e-05/5.527, allocations: 116.5 kB / 2.826 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/5.527, allocations: 0 / 2.826 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004054/5.528, allocations: 51.84 kB / 2.826 GB, free: 12.11 MB / 0.6198 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.0009984/5.529, allocations: 0.6479 MB / 2.827 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001559/5.529, allocations: 48.31 kB / 2.827 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.529, allocations: 3.938 kB / 2.827 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/5.529, allocations: 27.94 kB / 2.827 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/5.53, allocations: 23.97 kB / 2.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/5.53, allocations: 160.5 kB / 2.827 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/5.53, allocations: 0.7119 MB / 2.828 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.066e-05/5.53, allocations: 12.44 kB / 2.828 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/5.53, allocations: 11.44 kB / 2.828 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/5.53, allocations: 0 / 2.828 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.008008/5.538, allocations: 4.376 MB / 2.832 GB, free: 6.051 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)