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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.2068/0.2103, allocations: 80.84 MB / 0.5899 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7029/0.9132, allocations: 146.9 MB / 0.7333 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.9154, allocations: 1.142 MB / 0.7344 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.9157, allocations: 3.125 kB / 0.7344 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.9162, allocations: 49.36 kB / 0.7345 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.9174, allocations: 280.8 kB / 0.7347 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.9181, allocations: 154.4 kB / 0.7349 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007225/0.9189, allocations: 220.7 kB / 0.7351 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.9191, allocations: 66.12 kB / 0.7351 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.9193, allocations: 52.61 kB / 0.7352 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.9195, allocations: 70.55 kB / 0.7353 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.9196, allocations: 11.88 kB / 0.7353 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.9207, allocations: 379.8 kB / 0.7356 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.9208, allocations: 32.08 kB / 0.7357 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.921, allocations: 62.02 kB / 0.7357 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007762/0.9218, allocations: 315.5 kB / 0.736 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.9218, allocations: 4 kB / 0.736 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9218, allocations: 0 / 0.736 GB, free: 14.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.9218, allocations: 0 / 0.736 GB, free: 14.75 MB / 0.545 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.00097/0.9228, allocations: 466.4 kB / 0.7365 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.9229, allocations: 9.625 kB / 0.7365 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.9233, allocations: 45.22 kB / 0.7365 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.9237, allocations: 216.2 kB / 0.7367 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.9237, allocations: 7.875 kB / 0.7367 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.9237, allocations: 11.81 kB / 0.7368 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.9241, allocations: 122.8 kB / 0.7369 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9242, allocations: 0 / 0.7369 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.9242, allocations: 4.719 kB / 0.7369 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.9242, allocations: 3.062 kB / 0.7369 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.9246, allocations: 93.72 kB / 0.737 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009169/0.9255, allocations: 466.6 kB / 0.7374 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.9258, allocations: 90.34 kB / 0.7375 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.926, allocations: 39.7 kB / 0.7375 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.926, allocations: 1.188 kB / 0.7375 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.9261, allocations: 32 kB / 0.7376 GB, free: 13.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.9261, allocations: 0 / 0.7376 GB, free: 13.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006274/0.9267, allocations: 152.9 kB / 0.7377 GB, free: 13.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.9268, allocations: 52.78 kB / 0.7378 GB, free: 13.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.9271, allocations: 176.7 kB / 0.7379 GB, free: 13.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.9271, allocations: 25.7 kB / 0.738 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.9272, allocations: 121 kB / 0.7381 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.9272, allocations: 21.91 kB / 0.7381 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.9273, allocations: 23.86 kB / 0.7381 GB, free: 13.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9275, allocations: 330.4 kB / 0.7384 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.9276, allocations: 34.34 kB / 0.7385 GB, free: 13.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.9277, allocations: 32.19 kB / 0.7385 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.9281, allocations: 72.25 kB / 0.7386 GB, free: 13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9281, allocations: 0 / 0.7386 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00029/0.9284, allocations: 120.6 kB / 0.7387 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.9284, allocations: 4.531 kB / 0.7387 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.9284, allocations: 2.719 kB / 0.7387 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9284, allocations: 1.719 kB / 0.7387 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.9286, allocations: 19.17 kB / 0.7387 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.9286, allocations: 1.031 kB / 0.7387 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.9287, allocations: 15.2 kB / 0.7387 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.9288, allocations: 1.875 kB / 0.7387 GB, free: 12.95 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.9289, allocations: 129.3 kB / 0.7388 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.9289, allocations: 9.562 kB / 0.7389 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.9294, allocations: 127.2 kB / 0.739 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.9294, allocations: 1.125 kB / 0.739 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.9294, allocations: 2.672 kB / 0.739 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.9294, allocations: 1.5 kB / 0.739 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.9298, allocations: 229.5 kB / 0.7392 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.9298, allocations: 5.844 kB / 0.7392 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.93, allocations: 21.59 kB / 0.7392 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.93, allocations: 1.062 kB / 0.7392 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.93, allocations: 3.422 kB / 0.7392 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.93, allocations: 5.562 kB / 0.7392 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.93, allocations: 0 / 0.7392 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.9305, allocations: 206.8 kB / 0.7394 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.9306, allocations: 97.44 kB / 0.7395 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.9306, allocations: 1.438 kB / 0.7395 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.9308, allocations: 6.438 kB / 0.7395 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.9308, allocations: 5.516 kB / 0.7395 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.9309, allocations: 4.875 kB / 0.7395 GB, free: 12.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001519/0.931, allocations: 134.9 kB / 0.7397 GB, free: 12.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.931, allocations: 0 / 0.7397 GB, free: 12.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003615/0.9314, allocations: 23.88 kB / 0.7397 GB, free: 12.25 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002208/0.9316, allocations: 109 kB / 0.7398 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.932, allocations: 78.64 kB / 0.7399 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.932, allocations: 1.281 kB / 0.7399 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.9322, allocations: 39.88 kB / 0.7399 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.9329, allocations: 41.2 kB / 0.74 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.9336, allocations: 304.2 kB / 0.7402 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.934, allocations: 0.7034 MB / 0.7409 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.9341, allocations: 16.45 kB / 0.7409 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.9342, allocations: 12.97 kB / 0.741 GB, free: 11.23 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.9342, allocations: 0 / 0.741 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Templates: time 0.005809/0.94, allocations: 1.533 MB / 0.7425 GB, free: 11.13 MB / 0.545 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)