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.2335/0.2374, allocations: 80.83 MB / 0.6707 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7629/1, allocations: 149 MB / 0.8161 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002138/1.003, allocations: 1.135 MB / 0.8172 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/1.003, allocations: 1.312 kB / 0.8172 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004613/1.003, allocations: 63.69 kB / 0.8173 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/1.005, allocations: 317.3 kB / 0.8176 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007532/1.005, allocations: 161 kB / 0.8177 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007548/1.006, allocations: 226.5 kB / 0.818 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/1.006, allocations: 58.5 kB / 0.818 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/1.007, allocations: 57.53 kB / 0.8181 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/1.007, allocations: 64.19 kB / 0.8181 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/1.007, allocations: 12.03 kB / 0.8181 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009236/1.008, allocations: 372.1 kB / 0.8185 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.787e-05/1.008, allocations: 27.95 kB / 0.8185 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/1.008, allocations: 66.58 kB / 0.8186 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008077/1.009, allocations: 295.2 kB / 0.8189 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.009, allocations: 0 / 0.8189 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.036e-06/1.009, allocations: 0 / 0.8189 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.009, allocations: 1.375 kB / 0.8189 GB, free: 7.285 MB / 0.5919 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.001075/1.01, allocations: 473.8 kB / 0.8193 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/1.01, allocations: 9.625 kB / 0.8193 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005247/1.011, allocations: 35.97 kB / 0.8194 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/1.011, allocations: 215.7 kB / 0.8196 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/1.011, allocations: 11.38 kB / 0.8196 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/1.011, allocations: 10.5 kB / 0.8196 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/1.011, allocations: 120.2 kB / 0.8197 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.011, allocations: 0 / 0.8197 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/1.012, allocations: 4.5 kB / 0.8197 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/1.012, allocations: 2.75 kB / 0.8197 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/1.012, allocations: 105.3 kB / 0.8198 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/1.013, allocations: 461.5 kB / 0.8203 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/1.013, allocations: 90.97 kB / 0.8203 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/1.013, allocations: 36.64 kB / 0.8204 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/1.013, allocations: 5.312 kB / 0.8204 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/1.013, allocations: 31.91 kB / 0.8204 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/1.013, allocations: 0 / 0.8204 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0005343/1.014, allocations: 151.9 kB / 0.8206 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/1.014, allocations: 52.66 kB / 0.8206 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/1.014, allocations: 177.3 kB / 0.8208 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.014, allocations: 33.39 kB / 0.8208 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/1.014, allocations: 111.7 kB / 0.8209 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/1.014, allocations: 22.41 kB / 0.8209 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/1.014, allocations: 25.58 kB / 0.821 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.014, allocations: 325.2 kB / 0.8213 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/1.014, allocations: 32.98 kB / 0.8213 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/1.015, allocations: 34.38 kB / 0.8213 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/1.015, allocations: 82 kB / 0.8214 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.015, allocations: 0 / 0.8214 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003854/1.015, allocations: 121.5 kB / 0.8215 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.015, allocations: 5.312 kB / 0.8215 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.015, allocations: 0 / 0.8215 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.015, allocations: 5.156 kB / 0.8215 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/1.015, allocations: 17.39 kB / 0.8216 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.015, allocations: 5.375 kB / 0.8216 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/1.016, allocations: 13.23 kB / 0.8216 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.016, allocations: 6.688 kB / 0.8216 GB, free: 5.23 MB / 0.5919 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.0001352/1.016, allocations: 133.7 kB / 0.8217 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/1.016, allocations: 9.281 kB / 0.8217 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/1.016, allocations: 118.3 kB / 0.8218 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.016, allocations: 6.719 kB / 0.8218 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.016, allocations: 0 / 0.8218 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.016, allocations: 0 / 0.8218 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/1.017, allocations: 230.6 kB / 0.8221 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.017, allocations: 0 / 0.8221 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/1.017, allocations: 18.39 kB / 0.8221 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-05/1.017, allocations: 0 / 0.8221 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.017, allocations: 3.938 kB / 0.8221 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.017, allocations: 1.562 kB / 0.8221 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.017, allocations: 2.344 kB / 0.8221 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/1.017, allocations: 218.1 kB / 0.8223 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/1.017, allocations: 87.2 kB / 0.8224 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/1.017, allocations: 0 / 0.8224 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/1.017, allocations: 13.08 kB / 0.8224 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/1.017, allocations: 2.531 kB / 0.8224 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.017, allocations: 0 / 0.8224 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000151/1.018, allocations: 148.2 kB / 0.8225 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/1.018, allocations: 0 / 0.8225 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002892/1.018, allocations: 26.12 kB / 0.8226 GB, free: 4.445 MB / 0.5919 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.0002639/1.018, allocations: 107.7 kB / 0.8227 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003268/1.019, allocations: 74.84 kB / 0.8227 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.019, allocations: 4 kB / 0.8227 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/1.019, allocations: 40.92 kB / 0.8228 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/1.019, allocations: 38.7 kB / 0.8228 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006378/1.02, allocations: 260.2 kB / 0.8231 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/1.02, allocations: 0.7067 MB / 0.8237 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.678e-05/1.02, allocations: 14.38 kB / 0.8238 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/1.02, allocations: 15.31 kB / 0.8238 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/1.02, allocations: 0 / 0.8238 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of Templates: time 0.005484/1.026, allocations: 1.593 MB / 0.8253 GB, free: 2.617 MB / 0.5919 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)