Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.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.HeaterCooler_T_dynamic,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7957/0.7957, allocations: 132.4 MB / 139.9 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009807/0.0009811, allocations: 175.1 kB / 171.8 MB, free: 4.953 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.32/1.32, allocations: 170.6 MB / 374.2 MB, free: 156 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001618/0.001618, allocations: 112.5 kB / 444.8 MB, free: 14.15 MB / 314.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.1668/0.1668, allocations: 73.41 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.391, allocations: 345 MB / 1.003 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.391, allocations: 85.33 kB / 1.004 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.464/4.856, allocations: 0.9043 GB / 1.908 GB, free: 66.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/4.856, allocations: 0 / 1.908 GB, free: 66.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001286/4.856, allocations: 49.41 kB / 1.908 GB, free: 66.71 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.00324/4.859, allocations: 1.807 MB / 1.91 GB, free: 65.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/4.859, allocations: 7.156 kB / 1.91 GB, free: 65.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002988/4.862, allocations: 0.6037 MB / 1.91 GB, free: 65.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/4.865, allocations: 1.3 MB / 1.912 GB, free: 65.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/4.865, allocations: 39.16 kB / 1.912 GB, free: 65.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/4.865, allocations: 68.16 kB / 1.912 GB, free: 65.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001393/4.866, allocations: 0.8837 MB / 1.912 GB, free: 65.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/4.868, allocations: 1.138 MB / 1.914 GB, free: 65.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/4.868, allocations: 5.469 kB / 1.914 GB, free: 65.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-05/4.868, allocations: 3.875 kB / 1.914 GB, free: 65.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/4.868, allocations: 33.62 kB / 1.914 GB, free: 65.23 MB / 0.6198 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.008476/4.877, allocations: 7.049 MB / 1.921 GB, free: 60.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/4.878, allocations: 0.9257 MB / 1.921 GB, free: 60.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/4.878, allocations: 433.5 kB / 1.922 GB, free: 60.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/4.879, allocations: 1.607 MB / 1.923 GB, free: 59.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/4.88, allocations: 0.6817 MB / 1.924 GB, free: 58.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=91): time 5.21e-06/4.88, allocations: 3.656 kB / 1.924 GB, free: 58.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91): time 0.003589/4.884, allocations: 1.4 MB / 1.925 GB, free: 58.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/4.884, allocations: 360.2 kB / 1.926 GB, free: 58.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/4.885, allocations: 0.8322 MB / 1.927 GB, free: 58.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/4.885, allocations: 29.48 kB / 1.927 GB, free: 58.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/4.886, allocations: 0.6851 MB / 1.927 GB, free: 57.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/4.886, allocations: 296.5 kB / 1.928 GB, free: 57.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/4.886, allocations: 6.094 kB / 1.928 GB, free: 57.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/4.886, allocations: 344.9 kB / 1.928 GB, free: 57.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/4.886, allocations: 402 kB / 1.928 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/4.887, allocations: 0.7198 MB / 1.929 GB, free: 57.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/4.889, allocations: 0.7011 MB / 1.93 GB, free: 57.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/4.889, allocations: 0 / 1.93 GB, free: 57.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003018/4.892, allocations: 1.527 MB / 1.931 GB, free: 56.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004229/4.892, allocations: 2.129 MB / 1.933 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/4.892, allocations: 7.812 kB / 1.933 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/4.893, allocations: 14.97 kB / 1.933 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/4.894, allocations: 318.5 kB / 1.934 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/4.894, allocations: 14.78 kB / 1.934 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/4.896, allocations: 273.4 kB / 1.934 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/4.896, allocations: 58.09 kB / 1.934 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/4.896, allocations: 5.656 kB / 1.934 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002756/4.899, allocations: 1.37 MB / 1.935 GB, free: 54.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/4.899, allocations: 7.094 kB / 1.935 GB, free: 54.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/4.899, allocations: 13.41 kB / 1.935 GB, free: 54.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/4.9, allocations: 297.8 kB / 1.936 GB, free: 54.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/4.9, allocations: 18.42 kB / 1.936 GB, free: 54.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/4.902, allocations: 227.3 kB / 1.936 GB, free: 54.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/4.902, allocations: 53.2 kB / 1.936 GB, free: 54.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 3 * 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.000367/4.902, allocations: 246.3 kB / 1.936 GB, free: 54.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/4.902, allocations: 136.6 kB / 1.936 GB, free: 54.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/4.906, allocations: 1.901 MB / 1.938 GB, free: 54.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/4.906, allocations: 18.41 kB / 1.938 GB, free: 54.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/4.906, allocations: 0 / 1.938 GB, free: 54.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/4.906, allocations: 3.562 kB / 1.938 GB, free: 54.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/4.908, allocations: 1.145 MB / 1.939 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/4.908, allocations: 4.156 kB / 1.939 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/4.909, allocations: 236.7 kB / 1.939 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/4.909, allocations: 7.031 kB / 1.939 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/4.909, allocations: 32.2 kB / 1.939 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/4.909, allocations: 5.281 kB / 1.939 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/4.909, allocations: 0 / 1.939 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/4.913, allocations: 2.207 MB / 1.942 GB, free: 53.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/4.913, allocations: 230.7 kB / 1.942 GB, free: 53.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/4.913, allocations: 6.844 kB / 1.942 GB, free: 53.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/4.915, allocations: 183.8 kB / 1.942 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/4.915, allocations: 61.58 kB / 1.942 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/4.915, allocations: 49.36 kB / 1.942 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007873/4.916, allocations: 0.6603 MB / 1.943 GB, free: 53.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/4.916, allocations: 0 / 1.943 GB, free: 53.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002338/4.918, allocations: 0.8627 MB / 1.944 GB, free: 53.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (heaHigPow.heaCoo.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.heaCoo.T,heaCooUnl.heaCoo.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent) * Number of discrete states: 15 (TSetHeat.last,TSetHeat.nextEvent,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.last,TSetCool.nextEvent,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * 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.001435/4.919, allocations: 0.8984 MB / 1.945 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002472/4.922, allocations: 2.045 MB / 1.947 GB, free: 52.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/4.922, allocations: 0 / 1.947 GB, free: 52.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/4.923, allocations: 0.7402 MB / 1.947 GB, free: 52.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/4.925, allocations: 442.5 kB / 1.948 GB, free: 52.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/4.928, allocations: 2.395 MB / 1.95 GB, free: 51.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/4.929, allocations: 1.263 MB / 1.951 GB, free: 51.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001937/4.931, allocations: 445.5 kB / 1.952 GB, free: 51.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/4.931, allocations: 114.6 kB / 1.952 GB, free: 51.24 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/4.931, allocations: 0 / 1.952 GB, free: 51.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.04142/4.973, allocations: 28.93 MB / 1.98 GB, free: 49.18 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe 2>&1)