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.2097/0.2105, allocations: 82.22 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.5655/0.776, allocations: 125.9 MB / 0.7163 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.7771, allocations: 0.8581 MB / 0.7171 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.7772, allocations: 0 / 0.7171 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.7774, allocations: 38.8 kB / 0.7172 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.7778, allocations: 144.6 kB / 0.7173 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.778, allocations: 92.62 kB / 0.7174 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.7786, allocations: 232.5 kB / 0.7176 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.7787, allocations: 46.48 kB / 0.7177 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.7788, allocations: 36 kB / 0.7177 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.7789, allocations: 45.09 kB / 0.7177 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.7789, allocations: 3.219 kB / 0.7177 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.7792, allocations: 208.1 kB / 0.7179 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.7793, allocations: 21.67 kB / 0.718 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.7794, allocations: 49.25 kB / 0.718 GB, free: 16.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.7796, allocations: 161.3 kB / 0.7182 GB, free: 16.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.7796, allocations: 1.312 kB / 0.7182 GB, free: 16.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7796, allocations: 0 / 0.7182 GB, free: 16.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7797, allocations: 4 kB / 0.7182 GB, free: 16.64 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.0005678/0.7802, allocations: 446.2 kB / 0.7186 GB, free: 16.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.7803, allocations: 9.594 kB / 0.7186 GB, free: 16.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.7806, allocations: 31.86 kB / 0.7186 GB, free: 16.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.7808, allocations: 214.1 kB / 0.7188 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.7808, allocations: 9.5 kB / 0.7188 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.7808, allocations: 10.31 kB / 0.7189 GB, free: 16.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.7811, allocations: 128 kB / 0.719 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7811, allocations: 0 / 0.719 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.7811, allocations: 4.875 kB / 0.719 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7812, allocations: 2.875 kB / 0.719 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.7814, allocations: 112.8 kB / 0.7191 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.7821, allocations: 463.1 kB / 0.7195 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.7823, allocations: 92.36 kB / 0.7196 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.7823, allocations: 2.891 kB / 0.7196 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.7823, allocations: 41.16 kB / 0.7197 GB, free: 15.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.7823, allocations: 0 / 0.7197 GB, free: 15.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004124/0.7827, allocations: 153.8 kB / 0.7198 GB, free: 15.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.7828, allocations: 54.16 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.783, allocations: 175.9 kB / 0.72 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.783, allocations: 28.83 kB / 0.7201 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.7831, allocations: 115.7 kB / 0.7202 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.7831, allocations: 26.39 kB / 0.7202 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.7831, allocations: 3.625 kB / 0.7202 GB, free: 15.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7832, allocations: 327.5 kB / 0.7205 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.7834, allocations: 38.94 kB / 0.7205 GB, free: 14.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.03e-05/0.7835, allocations: 35.33 kB / 0.7206 GB, free: 14.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.7836, allocations: 45.12 kB / 0.7206 GB, free: 14.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7836, allocations: 4 kB / 0.7206 GB, free: 14.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000249/0.7838, allocations: 126.8 kB / 0.7207 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7839, allocations: 4.406 kB / 0.7208 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7839, allocations: 0 / 0.7208 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.7839, allocations: 3.875 kB / 0.7208 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.784, allocations: 23.3 kB / 0.7208 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.784, allocations: 2.625 kB / 0.7208 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.7841, allocations: 10.61 kB / 0.7208 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.7841, allocations: 1.297 kB / 0.7208 GB, free: 14.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.7842, allocations: 132.9 kB / 0.7209 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.7843, allocations: 16.75 kB / 0.7209 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.7846, allocations: 139.3 kB / 0.7211 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7846, allocations: 0 / 0.7211 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7846, allocations: 3.75 kB / 0.7211 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7846, allocations: 0 / 0.7211 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.7848, allocations: 233.9 kB / 0.7213 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7848, allocations: 0 / 0.7213 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.7849, allocations: 24.78 kB / 0.7213 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7849, allocations: 0 / 0.7213 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.785, allocations: 0 / 0.7213 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.785, allocations: 6.875 kB / 0.7213 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.785, allocations: 0 / 0.7213 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.7853, allocations: 219.3 kB / 0.7215 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.7853, allocations: 89.66 kB / 0.7216 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.7854, allocations: 2.906 kB / 0.7216 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.7855, allocations: 7.609 kB / 0.7216 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.7855, allocations: 8.641 kB / 0.7216 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.7855, allocations: 2.844 kB / 0.7216 GB, free: 14.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.989e-05/0.7856, allocations: 135.9 kB / 0.7218 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7856, allocations: 1.859 kB / 0.7218 GB, free: 14.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002492/0.7859, allocations: 28.12 kB / 0.7218 GB, free: 14.17 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 (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.000231/0.7861, allocations: 107.6 kB / 0.7219 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.7865, allocations: 87 kB / 0.722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7865, allocations: 0.7812 kB / 0.722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.7866, allocations: 43.39 kB / 0.722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.787, allocations: 36.16 kB / 0.7221 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.7875, allocations: 320.3 kB / 0.7224 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.7879, allocations: 0.7098 MB / 0.7231 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.444e-05/0.7879, allocations: 16.2 kB / 0.7231 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.788, allocations: 12.78 kB / 0.7231 GB, free: 13.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.788, allocations: 0 / 0.7231 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Templates: time 0.004615/0.7926, allocations: 1.43 MB / 0.7245 GB, free: 13.06 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: