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.2462/0.2483, allocations: 80.83 MB / 0.5897 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.796/1.044, allocations: 146.7 MB / 0.733 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002099/1.047, allocations: 1.147 MB / 0.7341 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/1.047, allocations: 4.781 kB / 0.7341 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/1.047, allocations: 52.52 kB / 0.7341 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/1.049, allocations: 281 kB / 0.7344 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/1.049, allocations: 152 kB / 0.7345 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006471/1.05, allocations: 233.3 kB / 0.7348 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/1.05, allocations: 61.19 kB / 0.7348 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/1.05, allocations: 45.33 kB / 0.7349 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/1.05, allocations: 63.95 kB / 0.7349 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/1.051, allocations: 5.938 kB / 0.7349 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/1.052, allocations: 415.8 kB / 0.7353 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/1.052, allocations: 22.39 kB / 0.7353 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/1.052, allocations: 62.84 kB / 0.7354 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007514/1.053, allocations: 302.8 kB / 0.7357 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/1.053, allocations: 3.844 kB / 0.7357 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/1.053, allocations: 0 / 0.7357 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.053, allocations: 0.625 kB / 0.7357 GB, free: 15.04 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.001096/1.054, allocations: 469.4 kB / 0.7361 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.266e-05/1.054, allocations: 11.67 kB / 0.7362 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/1.054, allocations: 39.09 kB / 0.7362 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/1.055, allocations: 215.8 kB / 0.7364 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/1.055, allocations: 11.81 kB / 0.7364 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/1.055, allocations: 14.75 kB / 0.7364 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/1.055, allocations: 118.6 kB / 0.7365 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.055, allocations: 3.125 kB / 0.7365 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/1.055, allocations: 4.625 kB / 0.7365 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/1.055, allocations: 2.625 kB / 0.7365 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/1.056, allocations: 95.17 kB / 0.7366 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.057, allocations: 458.5 kB / 0.7371 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/1.057, allocations: 94.83 kB / 0.7372 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.057, allocations: 37.55 kB / 0.7372 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/1.057, allocations: 1.094 kB / 0.7372 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/1.057, allocations: 35.34 kB / 0.7372 GB, free: 13.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/1.057, allocations: 0 / 0.7372 GB, free: 13.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005683/1.058, allocations: 150.2 kB / 0.7374 GB, free: 13.94 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/1.058, allocations: 52.78 kB / 0.7374 GB, free: 13.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/1.058, allocations: 178.5 kB / 0.7376 GB, free: 13.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/1.058, allocations: 25.7 kB / 0.7376 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.058, allocations: 125.2 kB / 0.7377 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/1.059, allocations: 24.03 kB / 0.7378 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/1.059, allocations: 22.59 kB / 0.7378 GB, free: 13.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.059, allocations: 329.2 kB / 0.7381 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/1.059, allocations: 30.05 kB / 0.7381 GB, free: 13.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/1.059, allocations: 30.52 kB / 0.7382 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/1.059, allocations: 75.8 kB / 0.7382 GB, free: 13.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.059, allocations: 0 / 0.7382 GB, free: 13.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003084/1.06, allocations: 121.9 kB / 0.7384 GB, free: 13.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/1.06, allocations: 8.219 kB / 0.7384 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.06, allocations: 0 / 0.7384 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.06, allocations: 1.375 kB / 0.7384 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/1.06, allocations: 14.34 kB / 0.7384 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.06, allocations: 2.312 kB / 0.7384 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.06, allocations: 12.12 kB / 0.7384 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.06, allocations: 5.375 kB / 0.7384 GB, free: 13.24 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.0001367/1.06, allocations: 128.9 kB / 0.7385 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/1.06, allocations: 9.406 kB / 0.7385 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/1.061, allocations: 130.8 kB / 0.7386 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.061, allocations: 1.375 kB / 0.7387 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.061, allocations: 0 / 0.7387 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.061, allocations: 1.375 kB / 0.7387 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/1.061, allocations: 232.4 kB / 0.7389 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.061, allocations: 0 / 0.7389 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/1.061, allocations: 15 kB / 0.7389 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.061, allocations: 3.141 kB / 0.7389 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.061, allocations: 1.375 kB / 0.7389 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.061, allocations: 0 / 0.7389 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.061, allocations: 5.359 kB / 0.7389 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/1.061, allocations: 218.6 kB / 0.7391 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/1.062, allocations: 90.03 kB / 0.7392 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/1.062, allocations: 1.438 kB / 0.7392 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/1.062, allocations: 10.39 kB / 0.7392 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/1.062, allocations: 5.047 kB / 0.7392 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.062, allocations: 2.844 kB / 0.7392 GB, free: 12.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001526/1.062, allocations: 134.3 kB / 0.7393 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.062, allocations: 0 / 0.7393 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002699/1.062, allocations: 29.66 kB / 0.7394 GB, free: 12.54 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.0002691/1.063, allocations: 102.2 kB / 0.7395 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000335/1.063, allocations: 76.23 kB / 0.7395 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.063, allocations: 1.094 kB / 0.7395 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/1.063, allocations: 43.34 kB / 0.7396 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/1.064, allocations: 37.62 kB / 0.7396 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/1.065, allocations: 304 kB / 0.7399 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/1.065, allocations: 0.7139 MB / 0.7406 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.186e-05/1.065, allocations: 9.516 kB / 0.7406 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/1.065, allocations: 14.69 kB / 0.7406 GB, free: 11.51 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/1.065, allocations: 0 / 0.7406 GB, free: 11.51 MB / 0.545 GB Notification: Performance of Templates: time 0.006366/1.072, allocations: 1.478 MB / 0.7421 GB, free: 11.42 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)