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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.734/0.734, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001182/0.001182, allocations: 169.6 kB / 171.6 MB, free: 2.008 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.325/1.325, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001932/0.001932, allocations: 117.4 kB / 444.4 MB, free: 9.383 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.4932/0.4932, allocations: 73.4 MB / 0.666 GB, free: 62.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.927/5.42, allocations: 2.146 GB / 2.812 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/5.42, allocations: 88.75 kB / 2.813 GB, free: 31.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.669/9.089, allocations: 0.9566 GB / 3.769 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001492/9.089, allocations: 35.98 kB / 3.769 GB, free: 36.48 MB / 0.6355 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.01014/9.099, allocations: 1.89 MB / 3.771 GB, free: 34.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/9.099, allocations: 12.02 kB / 3.771 GB, free: 34.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/9.105, allocations: 0.5564 MB / 3.772 GB, free: 33.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/9.109, allocations: 1.047 MB / 3.773 GB, free: 32.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009657/9.11, allocations: 198 kB / 3.773 GB, free: 32.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/9.11, allocations: 64 kB / 3.773 GB, free: 32.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003427/9.114, allocations: 1.258 MB / 3.774 GB, free: 31.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/9.117, allocations: 1.261 MB / 3.775 GB, free: 30.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/9.117, allocations: 0 / 3.775 GB, free: 30.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/9.117, allocations: 7.906 kB / 3.775 GB, free: 30.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-05/9.117, allocations: 58.09 kB / 3.775 GB, free: 29.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/9.129, allocations: 4.698 MB / 3.78 GB, free: 25.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/9.132, allocations: 0.8091 MB / 3.781 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/9.133, allocations: 0.5032 MB / 3.781 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008557/9.134, allocations: 258.8 kB / 3.781 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/9.134, allocations: 51.34 kB / 3.781 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 3.848e-06/9.134, allocations: 0 / 3.781 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.004269/9.138, allocations: 1.213 MB / 3.783 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/9.138, allocations: 60.06 kB / 3.783 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/9.14, allocations: 0.5901 MB / 3.783 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002308/9.14, allocations: 29.7 kB / 3.783 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/9.14, allocations: 435.2 kB / 3.784 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/9.14, allocations: 264 kB / 3.784 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/9.141, allocations: 0 / 3.784 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001845/9.141, allocations: 398.7 kB / 3.784 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/9.142, allocations: 453.8 kB / 3.785 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/9.143, allocations: 0.6189 MB / 3.785 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/9.145, allocations: 0.6524 MB / 3.786 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/9.145, allocations: 0 / 3.786 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004032/9.149, allocations: 1.337 MB / 3.787 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003623/9.15, allocations: 1.057 MB / 3.788 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/9.15, allocations: 0 / 3.788 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/9.15, allocations: 8 kB / 3.788 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007563/9.157, allocations: 0.7999 MB / 3.789 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/9.16, allocations: 1.43 MB / 3.791 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/9.163, allocations: 223.2 kB / 3.791 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/9.163, allocations: 44.05 kB / 3.791 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/9.163, allocations: 7.906 kB / 3.791 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0035/9.167, allocations: 1.188 MB / 3.792 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/9.167, allocations: 7.938 kB / 3.792 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/9.167, allocations: 8 kB / 3.792 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/9.169, allocations: 320 kB / 3.792 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/9.169, allocations: 15.92 kB / 3.792 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/9.172, allocations: 195.2 kB / 3.793 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/9.172, allocations: 43.98 kB / 3.793 GB, free: 11.75 MB / 0.6355 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.0005093/9.173, allocations: 116.8 kB / 3.793 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/9.173, allocations: 102.8 kB / 3.793 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/9.177, allocations: 1.294 MB / 3.794 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/9.177, allocations: 8 kB / 3.794 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/9.177, allocations: 0 / 3.794 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/9.177, allocations: 3.984 kB / 3.794 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006242/9.183, allocations: 2.562 MB / 3.797 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/9.183, allocations: 4 kB / 3.797 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006764/9.19, allocations: 0.7415 MB / 3.797 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.055e-05/9.19, allocations: 4 kB / 3.797 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/9.19, allocations: 19.98 kB / 3.797 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005416/9.196, allocations: 2.984 MB / 3.8 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/9.196, allocations: 4 kB / 3.8 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003897/9.2, allocations: 1.525 MB / 3.802 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/9.201, allocations: 331.6 kB / 3.802 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/9.201, allocations: 4 kB / 3.802 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/9.204, allocations: 179.7 kB / 3.802 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/9.204, allocations: 60.48 kB / 3.802 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/9.204, allocations: 47.95 kB / 3.802 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0009117/9.205, allocations: 459.1 kB / 3.803 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003608/9.209, allocations: 0.8028 MB / 3.804 GB, free: 32 kB / 0.6355 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.006028/9.215, allocations: 2.646 MB / 3.806 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01406/9.229, allocations: 2.493 MB / 3.809 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/9.229, allocations: 0 / 3.809 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01248/9.241, allocations: 1.601 MB / 3.81 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/9.246, allocations: 422.5 kB / 3.811 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/9.27, allocations: 2.525 MB / 3.813 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/9.272, allocations: 1.294 MB / 3.814 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/9.272, allocations: 0 / 3.814 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of Templates: time 0.4161/9.688, allocations: 40.99 MB / 3.854 GB, free: 144.2 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)