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.2163/0.2184, allocations: 80.84 MB / 0.6707 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.7846/1.003, allocations: 149 MB / 0.8161 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001748/1.005, allocations: 1.134 MB / 0.8172 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/1.005, allocations: 5.094 kB / 0.8172 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003736/1.005, allocations: 58.72 kB / 0.8173 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009881/1.006, allocations: 305.6 kB / 0.8176 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/1.007, allocations: 164.8 kB / 0.8177 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005308/1.007, allocations: 219.5 kB / 0.818 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/1.008, allocations: 69.95 kB / 0.818 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/1.008, allocations: 51.72 kB / 0.8181 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/1.008, allocations: 65.94 kB / 0.8181 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/1.008, allocations: 12.09 kB / 0.8181 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/1.009, allocations: 371.6 kB / 0.8185 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/1.009, allocations: 27.55 kB / 0.8185 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/1.009, allocations: 62.05 kB / 0.8186 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004892/1.009, allocations: 299 kB / 0.8189 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.009, allocations: 3.75 kB / 0.8189 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.854e-06/1.009, allocations: 1.375 kB / 0.8189 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.663e-06/1.009, allocations: 0 / 0.8189 GB, free: 7.711 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.0007888/1.01, allocations: 466.3 kB / 0.8193 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.01, allocations: 9.625 kB / 0.8193 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/1.01, allocations: 39.97 kB / 0.8194 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/1.011, allocations: 219.3 kB / 0.8196 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.011, allocations: 9.594 kB / 0.8196 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/1.011, allocations: 10.25 kB / 0.8196 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/1.011, allocations: 120.3 kB / 0.8197 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.011, allocations: 1.375 kB / 0.8197 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/1.011, allocations: 3.312 kB / 0.8197 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/1.011, allocations: 2.75 kB / 0.8197 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/1.012, allocations: 104.8 kB / 0.8198 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009137/1.013, allocations: 457.4 kB / 0.8202 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/1.013, allocations: 94.53 kB / 0.8203 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/1.013, allocations: 37.02 kB / 0.8204 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/1.013, allocations: 1.375 kB / 0.8204 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.013, allocations: 31.94 kB / 0.8204 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/1.013, allocations: 3.938 kB / 0.8204 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0005064/1.014, allocations: 146.3 kB / 0.8206 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.014, allocations: 55.41 kB / 0.8206 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/1.014, allocations: 177 kB / 0.8208 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.014, allocations: 30.83 kB / 0.8208 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/1.014, allocations: 114.4 kB / 0.8209 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/1.014, allocations: 29.84 kB / 0.8209 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/1.014, allocations: 18.84 kB / 0.821 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.014, allocations: 325.5 kB / 0.8213 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/1.014, allocations: 39.27 kB / 0.8213 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/1.014, allocations: 32.44 kB / 0.8213 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/1.015, allocations: 80.31 kB / 0.8214 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.015, allocations: 0 / 0.8214 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003357/1.015, allocations: 114.1 kB / 0.8215 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.015, allocations: 9.719 kB / 0.8215 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.015, allocations: 0 / 0.8215 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.015, allocations: 0 / 0.8215 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/1.015, allocations: 17.11 kB / 0.8215 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.015, allocations: 1.188 kB / 0.8215 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/1.015, allocations: 17.98 kB / 0.8216 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.015, allocations: 5.219 kB / 0.8216 GB, free: 5.621 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.0002057/1.016, allocations: 127.2 kB / 0.8217 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/1.016, allocations: 10.44 kB / 0.8217 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/1.016, allocations: 133.8 kB / 0.8218 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.016, allocations: 1.281 kB / 0.8218 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/1.016, allocations: 0 / 0.8218 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.016, allocations: 0 / 0.8218 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/1.016, allocations: 223.6 kB / 0.822 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.016, allocations: 1 kB / 0.822 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/1.017, allocations: 19.86 kB / 0.8221 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.017, allocations: 4.781 kB / 0.8221 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.017, allocations: 6.656 kB / 0.8221 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.017, allocations: 1.562 kB / 0.8221 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.017, allocations: 0 / 0.8221 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/1.017, allocations: 213.6 kB / 0.8223 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/1.017, allocations: 88.7 kB / 0.8224 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/1.017, allocations: 1.219 kB / 0.8224 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/1.017, allocations: 14.48 kB / 0.8224 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/1.017, allocations: 8.156 kB / 0.8224 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/1.017, allocations: 0 / 0.8224 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001436/1.018, allocations: 143.9 kB / 0.8225 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.018, allocations: 0 / 0.8225 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002882/1.018, allocations: 26.16 kB / 0.8225 GB, free: 4.723 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.000211/1.018, allocations: 107.8 kB / 0.8227 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003275/1.018, allocations: 74.06 kB / 0.8227 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.018, allocations: 0 / 0.8227 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/1.019, allocations: 43.7 kB / 0.8228 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/1.019, allocations: 37.08 kB / 0.8228 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000876/1.02, allocations: 256 kB / 0.823 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/1.02, allocations: 0.7043 MB / 0.8237 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.473e-05/1.021, allocations: 13.75 kB / 0.8237 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.021, allocations: 14.72 kB / 0.8238 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/1.021, allocations: 0 / 0.8238 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of Templates: time 0.00523/1.026, allocations: 1.603 MB / 0.8253 GB, free: 2.832 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)