Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6902/0.6902, allocations: 132.3 MB / 144.9 MB, free: 10.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001155/0.001155, allocations: 178 kB / 176.9 MB, free: 2.32 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.3/1.3, allocations: 170.5 MB / 379.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001533/0.001532, allocations: 105.4 kB / 450 MB, free: 5.855 MB / 346.7 MB [/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.441/0.4411, allocations: 73.38 MB / 0.6736 GB, free: 47.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.181/5.622, allocations: 2.147 GB / 2.821 GB, free: 209.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/5.622, allocations: 79.75 kB / 2.821 GB, free: 209.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.991/8.614, allocations: 0.9564 GB / 3.777 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/8.614, allocations: 4 kB / 3.777 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.54e-05/8.614, allocations: 35.98 kB / 3.777 GB, free: 15.09 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006042/8.62, allocations: 1.853 MB / 3.779 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/8.62, allocations: 8.031 kB / 3.779 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/8.623, allocations: 0.5227 MB / 3.78 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/8.625, allocations: 1.04 MB / 3.781 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/8.626, allocations: 221.9 kB / 3.781 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/8.626, allocations: 108 kB / 3.781 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/8.629, allocations: 1.461 MB / 3.782 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/8.629, allocations: 0 / 3.782 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/8.629, allocations: 48 kB / 3.782 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/8.629, allocations: 58.16 kB / 3.782 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/8.631, allocations: 1.457 MB / 3.784 GB, free: 8.16 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007856/8.639, allocations: 4.788 MB / 3.789 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/8.641, allocations: 0.87 MB / 3.789 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/8.642, allocations: 0.4957 MB / 3.79 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/8.643, allocations: 251.8 kB / 3.79 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/8.643, allocations: 55.33 kB / 3.79 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=79): time 3.276e-06/8.643, allocations: 0 / 3.79 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of matching and sorting (n=79): time 0.002517/8.645, allocations: 1.081 MB / 3.791 GB, free: 264 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/8.645, allocations: 64.12 kB / 3.791 GB, free: 188 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4626/9.108, allocations: 0.8301 MB / 3.792 GB, free: 87.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003394/9.108, allocations: 45.92 kB / 3.792 GB, free: 87.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/9.109, allocations: 0.5136 MB / 3.793 GB, free: 87.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/9.109, allocations: 269.7 kB / 3.793 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/9.109, allocations: 17.66 kB / 3.793 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/9.109, allocations: 337.7 kB / 3.793 GB, free: 86.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/9.11, allocations: 434.4 kB / 3.794 GB, free: 86.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/9.11, allocations: 0.6005 MB / 3.794 GB, free: 86.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/9.111, allocations: 496.3 kB / 3.795 GB, free: 86.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/9.111, allocations: 0 / 3.795 GB, free: 86.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001885/9.113, allocations: 1.2 MB / 3.796 GB, free: 86.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002244/9.113, allocations: 1.078 MB / 3.797 GB, free: 85.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/9.113, allocations: 4.906 kB / 3.797 GB, free: 85.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/9.113, allocations: 5.156 kB / 3.797 GB, free: 85.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/9.117, allocations: 0.7001 MB / 3.798 GB, free: 85.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/9.118, allocations: 1.351 MB / 3.799 GB, free: 84.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/9.119, allocations: 258.5 kB / 3.799 GB, free: 84.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/9.12, allocations: 38.64 kB / 3.799 GB, free: 84.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/9.12, allocations: 7.312 kB / 3.799 GB, free: 84.25 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00162/9.121, allocations: 1.054 MB / 3.8 GB, free: 84.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/9.121, allocations: 2.406 kB / 3.8 GB, free: 84.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/9.121, allocations: 8.812 kB / 3.8 GB, free: 84.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/9.123, allocations: 300 kB / 3.801 GB, free: 84.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/9.123, allocations: 12.34 kB / 3.801 GB, free: 84.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/9.124, allocations: 222.9 kB / 3.801 GB, free: 84.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/9.124, allocations: 40.39 kB / 3.801 GB, free: 84.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003086/9.124, allocations: 159.8 kB / 3.801 GB, free: 84.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/9.125, allocations: 117.6 kB / 3.801 GB, free: 84.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/9.127, allocations: 1.103 MB / 3.802 GB, free: 83.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/9.127, allocations: 7.844 kB / 3.802 GB, free: 83.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/9.127, allocations: 0.875 kB / 3.802 GB, free: 83.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/9.127, allocations: 5.438 kB / 3.802 GB, free: 83.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/9.13, allocations: 2.463 MB / 3.805 GB, free: 83.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/9.13, allocations: 7.594 kB / 3.805 GB, free: 83.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/9.133, allocations: 0.6726 MB / 3.805 GB, free: 83.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/9.133, allocations: 6.844 kB / 3.805 GB, free: 83.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/9.133, allocations: 26.5 kB / 3.805 GB, free: 83.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/9.136, allocations: 3.018 MB / 3.808 GB, free: 80.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/9.136, allocations: 4.594 kB / 3.808 GB, free: 80.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/9.138, allocations: 1.361 MB / 3.81 GB, free: 80.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/9.139, allocations: 339.4 kB / 3.81 GB, free: 80.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/9.139, allocations: 22.73 kB / 3.81 GB, free: 80.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/9.14, allocations: 181.8 kB / 3.81 GB, free: 80.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/9.14, allocations: 65.39 kB / 3.81 GB, free: 80.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/9.14, allocations: 46.73 kB / 3.81 GB, free: 80.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009425/9.141, allocations: 0.6475 MB / 3.811 GB, free: 80.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.21e-07/9.141, allocations: 0 / 3.811 GB, free: 80.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002727/9.144, allocations: 0.8651 MB / 3.812 GB, free: 80.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003565/9.148, allocations: 2.361 MB / 3.814 GB, free: 79.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00515/9.153, allocations: 2.1 MB / 3.816 GB, free: 79.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/9.153, allocations: 0.8125 kB / 3.816 GB, free: 79.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004805/9.158, allocations: 1.234 MB / 3.817 GB, free: 79.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/9.161, allocations: 0.6011 MB / 3.818 GB, free: 79.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/9.168, allocations: 2.16 MB / 3.82 GB, free: 78.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/9.169, allocations: 1.165 MB / 3.821 GB, free: 77.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002404/9.171, allocations: 491.4 kB / 3.822 GB, free: 77.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/9.171, allocations: 83.5 kB / 3.822 GB, free: 77.87 MB / 0.6511 GB Notification: Performance of SimCode: time 6.01e-07/9.171, allocations: 2.75 kB / 3.822 GB, free: 77.87 MB / 0.6511 GB Notification: Performance of Templates: time 0.07909/9.251, allocations: 57.13 MB / 3.877 GB, free: 76.06 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)