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.169/0.1697, allocations: 82.22 MB / 0.5941 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6551/0.8249, allocations: 144.8 MB / 0.7355 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.8272, allocations: 1.134 MB / 0.7366 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.8274, allocations: 1.531 kB / 0.7366 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.8279, allocations: 52.3 kB / 0.7367 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.8291, allocations: 287.5 kB / 0.737 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.8297, allocations: 144.1 kB / 0.7371 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006873/0.8304, allocations: 239.3 kB / 0.7373 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.8306, allocations: 60.31 kB / 0.7374 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.8307, allocations: 40.08 kB / 0.7374 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.8309, allocations: 51.06 kB / 0.7375 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.8309, allocations: 3.531 kB / 0.7375 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.8316, allocations: 412.6 kB / 0.7379 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.8317, allocations: 19.44 kB / 0.7379 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.8318, allocations: 75.8 kB / 0.738 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.8323, allocations: 293 kB / 0.7382 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.8323, allocations: 3.562 kB / 0.7382 GB, free: 15.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8323, allocations: 0.5625 kB / 0.7382 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.8324, allocations: 5.859 kB / 0.7383 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.001014/0.8334, allocations: 449.5 kB / 0.7387 GB, free: 14.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.8334, allocations: 10.25 kB / 0.7387 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005036/0.834, allocations: 41.98 kB / 0.7387 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.8344, allocations: 214.2 kB / 0.7389 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.8344, allocations: 7.406 kB / 0.7389 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.8344, allocations: 11.03 kB / 0.739 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.8349, allocations: 132 kB / 0.7391 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.8349, allocations: 0 / 0.7391 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.8349, allocations: 4.969 kB / 0.7391 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.835, allocations: 4.516 kB / 0.7391 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.8355, allocations: 106.8 kB / 0.7392 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.8367, allocations: 462.4 kB / 0.7396 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.837, allocations: 95.72 kB / 0.7397 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.8373, allocations: 50.2 kB / 0.7398 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.8373, allocations: 1.062 kB / 0.7398 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.8373, allocations: 31.66 kB / 0.7398 GB, free: 13.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.8374, allocations: 0 / 0.7398 GB, free: 13.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007434/0.8381, allocations: 157.2 kB / 0.74 GB, free: 13.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.8382, allocations: 52.44 kB / 0.74 GB, free: 13.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.8385, allocations: 180 kB / 0.7402 GB, free: 13.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.8386, allocations: 30.39 kB / 0.7402 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.8387, allocations: 118.5 kB / 0.7403 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.8387, allocations: 28.72 kB / 0.7403 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.8388, allocations: 12.97 kB / 0.7404 GB, free: 13.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.839, allocations: 331.7 kB / 0.7407 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.8391, allocations: 33.73 kB / 0.7407 GB, free: 13.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.8393, allocations: 43.92 kB / 0.7407 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.8396, allocations: 83.8 kB / 0.7408 GB, free: 13.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.8396, allocations: 0 / 0.7408 GB, free: 13.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004154/0.84, allocations: 128.2 kB / 0.7409 GB, free: 13.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.8401, allocations: 5.5 kB / 0.741 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8401, allocations: 1.438 kB / 0.741 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8401, allocations: 5.312 kB / 0.741 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.8403, allocations: 20.14 kB / 0.741 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.8403, allocations: 5.438 kB / 0.741 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.8405, allocations: 18.69 kB / 0.741 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.8405, allocations: 5.188 kB / 0.741 GB, free: 13.23 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.0001267/0.8406, allocations: 119.2 kB / 0.7411 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.8407, allocations: 13.28 kB / 0.7411 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.8412, allocations: 141.6 kB / 0.7413 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.8412, allocations: 1.375 kB / 0.7413 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.8412, allocations: 1.75 kB / 0.7413 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.8413, allocations: 6.281 kB / 0.7413 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.8416, allocations: 224.2 kB / 0.7415 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8416, allocations: 2.75 kB / 0.7415 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.8418, allocations: 23.41 kB / 0.7415 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.8418, allocations: 0 / 0.7415 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.8418, allocations: 5.406 kB / 0.7415 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8418, allocations: 3.938 kB / 0.7415 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8418, allocations: 1.312 kB / 0.7415 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.8424, allocations: 227.8 kB / 0.7417 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.8425, allocations: 90.06 kB / 0.7418 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.8425, allocations: 1.281 kB / 0.7418 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.8427, allocations: 12.28 kB / 0.7418 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.8427, allocations: 5.516 kB / 0.7418 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.8428, allocations: 2.531 kB / 0.7419 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001784/0.843, allocations: 136.9 kB / 0.742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.5e-07/0.843, allocations: 0 / 0.742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003927/0.8434, allocations: 24.5 kB / 0.742 GB, free: 12.53 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.0001997/0.8436, allocations: 107.8 kB / 0.7421 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.844, allocations: 82.92 kB / 0.7422 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.844, allocations: 3.938 kB / 0.7422 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.8442, allocations: 45.98 kB / 0.7422 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006498/0.8449, allocations: 33.39 kB / 0.7423 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.8457, allocations: 317.6 kB / 0.7426 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.8461, allocations: 0.7092 MB / 0.7433 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.8463, allocations: 14 kB / 0.7433 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.8464, allocations: 12.78 kB / 0.7433 GB, free: 11.51 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.8464, allocations: 0 / 0.7433 GB, free: 11.51 MB / 0.545 GB Notification: Performance of Templates: time 0.00732/0.8537, allocations: 1.472 MB / 0.7447 GB, free: 11.42 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: