Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.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.746/0.746, allocations: 132.4 MB / 139.7 MB, free: 15.51 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.001196/0.001196, allocations: 173.5 kB / 171.6 MB, free: 1.984 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.47/1.47, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.001735/0.001735, allocations: 121.3 kB / 444.5 MB, free: 9.344 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.5909/0.5909, allocations: 73.4 MB / 0.666 GB, free: 62.66 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.133/5.724, allocations: 2.377 GB / 3.043 GB, free: 42.27 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/5.724, allocations: 84.66 kB / 3.044 GB, free: 42.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595/8.32, allocations: 0.7447 GB / 3.788 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000158/8.32, allocations: 31.94 kB / 3.788 GB, free: 8.207 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.005692/8.326, allocations: 1.63 MB / 3.79 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/8.326, allocations: 8.031 kB / 3.79 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/8.329, allocations: 478 kB / 3.79 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/8.331, allocations: 0.9687 MB / 3.791 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006648/8.332, allocations: 185.9 kB / 3.791 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/8.332, allocations: 56 kB / 3.792 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002121/8.335, allocations: 0.906 MB / 3.792 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/8.337, allocations: 1.044 MB / 3.793 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/8.337, allocations: 0 / 3.793 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/8.337, allocations: 4 kB / 3.793 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/8.337, allocations: 41.98 kB / 3.793 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00958/8.347, allocations: 5.417 MB / 3.799 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/8.348, allocations: 0.5425 MB / 3.799 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/8.348, allocations: 296.9 kB / 3.8 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/8.349, allocations: 141.5 kB / 3.8 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008478/8.349, allocations: 488.3 kB / 3.8 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.707e-06/8.349, allocations: 0 / 3.8 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.002254/8.352, allocations: 0.7089 MB / 3.801 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002119/8.352, allocations: 427.5 kB / 3.801 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/8.353, allocations: 0.6137 MB / 3.802 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/8.353, allocations: 25.7 kB / 3.802 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/8.354, allocations: 442.5 kB / 3.802 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/8.354, allocations: 177.3 kB / 3.802 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/8.354, allocations: 0 / 3.802 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001641/8.354, allocations: 338 kB / 3.803 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/8.355, allocations: 297.5 kB / 3.803 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009107/8.356, allocations: 0.5971 MB / 3.804 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008797/8.357, allocations: 369.8 kB / 3.804 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/8.357, allocations: 0 / 3.804 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00198/8.359, allocations: 0.8734 MB / 3.805 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00091/8.36, allocations: 2.002 MB / 3.807 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/8.36, allocations: 8 kB / 3.807 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/8.36, allocations: 11.91 kB / 3.807 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004603/8.364, allocations: 0.7608 MB / 3.808 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/8.366, allocations: 1.426 MB / 3.809 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/8.369, allocations: 235.2 kB / 3.809 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/8.369, allocations: 31.98 kB / 3.809 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/8.369, allocations: 4 kB / 3.809 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/8.371, allocations: 0.7399 MB / 3.81 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/8.371, allocations: 4 kB / 3.81 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/8.371, allocations: 8 kB / 3.81 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/8.372, allocations: 288.2 kB / 3.81 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/8.372, allocations: 8 kB / 3.81 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/8.374, allocations: 199.3 kB / 3.81 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/8.374, allocations: 39.98 kB / 3.81 GB, free: 428 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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.0003991/8.375, allocations: 129.7 kB / 3.811 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/8.375, allocations: 90.88 kB / 3.811 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3785/8.754, allocations: 0.7424 MB / 3.811 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/8.754, allocations: 7.844 kB / 3.811 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/8.754, allocations: 5.75 kB / 3.811 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/8.754, allocations: 5.609 kB / 3.811 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/8.757, allocations: 1.766 MB / 3.813 GB, free: 141.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/8.757, allocations: 0 / 3.813 GB, free: 141.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003674/8.76, allocations: 0.686 MB / 3.814 GB, free: 141.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/8.761, allocations: 3.938 kB / 3.814 GB, free: 141.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/8.761, allocations: 14.98 kB / 3.814 GB, free: 141.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/8.764, allocations: 2.976 MB / 3.817 GB, free: 139 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/8.764, allocations: 0 / 3.817 GB, free: 139 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001477/8.765, allocations: 0.8731 MB / 3.818 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/8.766, allocations: 277.2 kB / 3.818 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/8.766, allocations: 3.719 kB / 3.818 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/8.767, allocations: 182.5 kB / 3.818 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/8.768, allocations: 50.47 kB / 3.818 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/8.768, allocations: 24.31 kB / 3.818 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006361/8.768, allocations: 472 kB / 3.819 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00221/8.771, allocations: 0.6822 MB / 3.819 GB, free: 138.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002891/8.773, allocations: 1.807 MB / 3.821 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007197/8.781, allocations: 1.972 MB / 3.823 GB, free: 138 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/8.781, allocations: 0 / 3.823 GB, free: 138 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007147/8.788, allocations: 1.4 MB / 3.824 GB, free: 138 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/8.79, allocations: 334.5 kB / 3.825 GB, free: 138 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/8.794, allocations: 1.338 MB / 3.826 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/8.795, allocations: 1.194 MB / 3.827 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.462e-06/8.795, allocations: 0 / 3.827 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.05298/8.848, allocations: 31.67 MB / 3.858 GB, free: 136.4 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)