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.8077/0.8077, allocations: 132.4 MB / 139.9 MB, free: 2.828 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.001201/0.001201, allocations: 180.7 kB / 171.8 MB, free: 4.914 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.535/1.535, allocations: 170.6 MB / 374.2 MB, free: 192 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.001671/0.001672, allocations: 118.5 kB / 444.8 MB, free: 14.16 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.1877/0.1877, allocations: 73.42 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.405/1.593, allocations: 345 MB / 1.003 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/1.593, allocations: 85.39 kB / 1.004 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.84/5.433, allocations: 0.9043 GB / 1.908 GB, free: 66.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/5.433, allocations: 0 / 1.908 GB, free: 66.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001316/5.434, allocations: 49.3 kB / 1.908 GB, free: 66.47 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.003482/5.437, allocations: 1.802 MB / 1.91 GB, free: 65.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/5.437, allocations: 9 kB / 1.91 GB, free: 65.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/5.44, allocations: 0.6102 MB / 1.91 GB, free: 65.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/5.443, allocations: 1.294 MB / 1.912 GB, free: 65.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/5.443, allocations: 33.59 kB / 1.912 GB, free: 65.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/5.443, allocations: 68.31 kB / 1.912 GB, free: 65.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/5.445, allocations: 0.8842 MB / 1.912 GB, free: 65.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/5.447, allocations: 1.143 MB / 1.914 GB, free: 64.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/5.447, allocations: 0.5625 kB / 1.914 GB, free: 64.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/5.447, allocations: 6.406 kB / 1.914 GB, free: 64.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/5.447, allocations: 37.22 kB / 1.914 GB, free: 64.98 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.007743/5.455, allocations: 7.038 MB / 1.921 GB, free: 60.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/5.456, allocations: 0.9303 MB / 1.921 GB, free: 60.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/5.457, allocations: 447.3 kB / 1.922 GB, free: 60.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/5.458, allocations: 1.599 MB / 1.923 GB, free: 58.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/5.458, allocations: 0.6788 MB / 1.924 GB, free: 58.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=91): time 2.424e-06/5.458, allocations: 0 / 1.924 GB, free: 58.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91): time 0.003622/5.462, allocations: 1.399 MB / 1.925 GB, free: 58.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/5.462, allocations: 362.8 kB / 1.926 GB, free: 58.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/5.463, allocations: 0.829 MB / 1.927 GB, free: 57.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/5.464, allocations: 29.64 kB / 1.927 GB, free: 57.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/5.464, allocations: 0.6924 MB / 1.927 GB, free: 57.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/5.464, allocations: 296.6 kB / 1.928 GB, free: 57.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/5.464, allocations: 3.812 kB / 1.928 GB, free: 57.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001004/5.465, allocations: 347.5 kB / 1.928 GB, free: 57.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/5.465, allocations: 401.1 kB / 1.928 GB, free: 57.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/5.466, allocations: 0.726 MB / 1.929 GB, free: 56.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/5.468, allocations: 0.6881 MB / 1.93 GB, free: 56.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/5.468, allocations: 6.719 kB / 1.93 GB, free: 56.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003283/5.471, allocations: 1.525 MB / 1.931 GB, free: 56.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006443/5.472, allocations: 2.131 MB / 1.933 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/5.472, allocations: 3.906 kB / 1.933 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/5.472, allocations: 11.59 kB / 1.933 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/5.473, allocations: 322.6 kB / 1.934 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/5.473, allocations: 19.19 kB / 1.934 GB, free: 54.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/5.475, allocations: 272.7 kB / 1.934 GB, free: 54.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/5.475, allocations: 57.06 kB / 1.934 GB, free: 54.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/5.475, allocations: 5 kB / 1.934 GB, free: 54.43 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002854/5.478, allocations: 1.373 MB / 1.935 GB, free: 54.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/5.478, allocations: 3.875 kB / 1.935 GB, free: 54.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/5.478, allocations: 13.34 kB / 1.935 GB, free: 54.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/5.48, allocations: 294.2 kB / 1.936 GB, free: 54.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/5.48, allocations: 21.41 kB / 1.936 GB, free: 54.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/5.481, allocations: 232.7 kB / 1.936 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/5.482, allocations: 52.78 kB / 1.936 GB, free: 54.36 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.0003915/5.482, allocations: 237.7 kB / 1.936 GB, free: 54.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/5.482, allocations: 137.5 kB / 1.936 GB, free: 54.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/5.486, allocations: 1.906 MB / 1.938 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/5.486, allocations: 15.45 kB / 1.938 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/5.486, allocations: 2.953 kB / 1.938 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/5.486, allocations: 6.297 kB / 1.938 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/5.488, allocations: 1.146 MB / 1.939 GB, free: 53.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/5.488, allocations: 3.688 kB / 1.939 GB, free: 53.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/5.489, allocations: 233.9 kB / 1.939 GB, free: 53.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/5.489, allocations: 5.062 kB / 1.939 GB, free: 53.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-05/5.49, allocations: 30.81 kB / 1.939 GB, free: 53.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/5.49, allocations: 10.06 kB / 1.939 GB, free: 53.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/5.49, allocations: 0 / 1.939 GB, free: 53.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/5.493, allocations: 2.198 MB / 1.942 GB, free: 53.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/5.494, allocations: 226.7 kB / 1.942 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/5.494, allocations: 11.88 kB / 1.942 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/5.495, allocations: 186.1 kB / 1.942 GB, free: 53.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/5.496, allocations: 63.69 kB / 1.942 GB, free: 53.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.743e-05/5.496, allocations: 44.34 kB / 1.942 GB, free: 53.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009267/5.497, allocations: 0.6579 MB / 1.943 GB, free: 53.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/5.497, allocations: 0 / 1.943 GB, free: 53.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002718/5.499, allocations: 0.873 MB / 1.944 GB, free: 53.13 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.001757/5.501, allocations: 0.8984 MB / 1.945 GB, free: 52.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00281/5.504, allocations: 2.042 MB / 1.947 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/5.504, allocations: 0 / 1.947 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007982/5.505, allocations: 0.7446 MB / 1.947 GB, free: 52.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/5.507, allocations: 439.9 kB / 1.948 GB, free: 52.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/5.511, allocations: 2.4 MB / 1.95 GB, free: 51.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/5.512, allocations: 1.265 MB / 1.951 GB, free: 51.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002157/5.514, allocations: 444.4 kB / 1.952 GB, free: 51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/5.515, allocations: 111.6 kB / 1.952 GB, free: 51 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/5.515, allocations: 0 / 1.952 GB, free: 51 MB / 0.6198 GB Notification: Performance of Templates: time 0.05241/5.567, allocations: 28.93 MB / 1.98 GB, free: 48.92 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)