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.2334/0.2342, allocations: 82.22 MB / 0.5935 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6845/0.9187, allocations: 135.1 MB / 0.7254 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.9202, allocations: 1.063 MB / 0.7264 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.9203, allocations: 2.344 kB / 0.7264 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.9205, allocations: 31.84 kB / 0.7265 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006887/0.9212, allocations: 193.8 kB / 0.7266 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.9216, allocations: 143.2 kB / 0.7268 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.9221, allocations: 222.1 kB / 0.727 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.9222, allocations: 46.92 kB / 0.727 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.9223, allocations: 41 kB / 0.7271 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.9224, allocations: 48.36 kB / 0.7271 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.9224, allocations: 2.75 kB / 0.7271 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.9229, allocations: 285 kB / 0.7274 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.923, allocations: 30.61 kB / 0.7274 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.9231, allocations: 44.89 kB / 0.7275 GB, free: 16.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.9234, allocations: 198 kB / 0.7277 GB, free: 16.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.9234, allocations: 0 / 0.7277 GB, free: 16.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9234, allocations: 1.125 kB / 0.7277 GB, free: 16.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.9234, allocations: 0 / 0.7277 GB, free: 16.56 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.0006704/0.9241, allocations: 458.2 kB / 0.7281 GB, free: 16.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9242, allocations: 9.625 kB / 0.7281 GB, free: 16.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.9245, allocations: 34.19 kB / 0.7281 GB, free: 16.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.9247, allocations: 210.6 kB / 0.7283 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.9247, allocations: 8.281 kB / 0.7284 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.9248, allocations: 9.594 kB / 0.7284 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.9251, allocations: 128.9 kB / 0.7285 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.9251, allocations: 0 / 0.7285 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.9251, allocations: 3.938 kB / 0.7285 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.9251, allocations: 6.594 kB / 0.7285 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.9254, allocations: 106.9 kB / 0.7286 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.9261, allocations: 467.1 kB / 0.729 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.9264, allocations: 94.73 kB / 0.7291 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.9265, allocations: 43.36 kB / 0.7292 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.9265, allocations: 6.266 kB / 0.7292 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.9266, allocations: 37 kB / 0.7292 GB, free: 15.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.9266, allocations: 1.125 kB / 0.7292 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004792/0.9271, allocations: 153.9 kB / 0.7294 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.9271, allocations: 56.94 kB / 0.7294 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.9274, allocations: 178.7 kB / 0.7296 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.9274, allocations: 26.73 kB / 0.7296 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.9275, allocations: 118.8 kB / 0.7297 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.9275, allocations: 24.38 kB / 0.7297 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.9275, allocations: 3 kB / 0.7298 GB, free: 15.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9276, allocations: 326 kB / 0.7301 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.9278, allocations: 39.19 kB / 0.7301 GB, free: 14.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.9279, allocations: 38.48 kB / 0.7301 GB, free: 14.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.928, allocations: 40.3 kB / 0.7302 GB, free: 14.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.928, allocations: 1.344 kB / 0.7302 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002848/0.9283, allocations: 134.2 kB / 0.7303 GB, free: 14.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9283, allocations: 5.125 kB / 0.7303 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.9283, allocations: 0.6562 kB / 0.7303 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.9284, allocations: 0.9688 kB / 0.7303 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.9285, allocations: 24.55 kB / 0.7303 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.9285, allocations: 5.062 kB / 0.7303 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.9286, allocations: 13.28 kB / 0.7304 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.9286, allocations: 3.672 kB / 0.7304 GB, free: 14.78 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 0.0001119/0.9288, allocations: 127.1 kB / 0.7305 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.9288, allocations: 12.97 kB / 0.7305 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.9292, allocations: 138.8 kB / 0.7306 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9292, allocations: 0 / 0.7306 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.9292, allocations: 0.7188 kB / 0.7306 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9292, allocations: 0 / 0.7306 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.9295, allocations: 230.9 kB / 0.7308 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.9295, allocations: 1 kB / 0.7308 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.9296, allocations: 20.78 kB / 0.7309 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.9296, allocations: 6.141 kB / 0.7309 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.9296, allocations: 3 kB / 0.7309 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.9296, allocations: 1.375 kB / 0.7309 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9296, allocations: 0 / 0.7309 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.93, allocations: 226.3 kB / 0.7311 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.9301, allocations: 89.05 kB / 0.7312 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.9301, allocations: 0 / 0.7312 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.9303, allocations: 14.41 kB / 0.7312 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.9303, allocations: 5.234 kB / 0.7312 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.9303, allocations: 1.344 kB / 0.7312 GB, free: 14.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001365/0.9305, allocations: 138.7 kB / 0.7313 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9305, allocations: 0 / 0.7313 GB, free: 14.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002686/0.9308, allocations: 26.41 kB / 0.7313 GB, free: 14.07 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.0002083/0.931, allocations: 104.2 kB / 0.7314 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.9313, allocations: 91.09 kB / 0.7315 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9313, allocations: 1.031 kB / 0.7315 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.9314, allocations: 43.69 kB / 0.7316 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.9319, allocations: 38.17 kB / 0.7316 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.9325, allocations: 315.1 kB / 0.7319 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.9329, allocations: 0.707 MB / 0.7326 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.002e-05/0.9329, allocations: 16.73 kB / 0.7326 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.933, allocations: 13.38 kB / 0.7326 GB, free: 13.06 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.933, allocations: 1.859 kB / 0.7326 GB, free: 13.06 MB / 0.545 GB Notification: Performance of Templates: time 0.005809/0.9388, allocations: 1.428 MB / 0.734 GB, free: 12.97 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: