Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8372/0.8372, allocations: 133.7 MB / 148.6 MB, free: 13.62 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.00116/0.00116, allocations: 172.1 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.717/1.717, allocations: 170.7 MB / 383.7 MB, free: 16.12 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.001808/0.001808, allocations: 103.3 kB / 454.6 MB, free: 9.734 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.1936/0.1942, allocations: 73.4 MB / 0.6812 GB, free: 5.582 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.406, allocations: 345.5 MB / 1.019 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/1.406, allocations: 86.92 kB / 1.019 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.594/4, allocations: 0.6598 GB / 1.679 GB, free: 62.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/4, allocations: 0 / 1.679 GB, free: 62.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001661/4, allocations: 46.2 kB / 1.679 GB, free: 62.96 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.006106/4.006, allocations: 2.072 MB / 1.681 GB, free: 62.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/4.007, allocations: 11.97 kB / 1.681 GB, free: 62.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/4.011, allocations: 0.6049 MB / 1.681 GB, free: 62.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/4.015, allocations: 1.303 MB / 1.682 GB, free: 61.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/4.015, allocations: 84.22 kB / 1.683 GB, free: 61.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/4.016, allocations: 111.1 kB / 1.683 GB, free: 61.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/4.02, allocations: 1.618 MB / 1.684 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/4.02, allocations: 8.141 kB / 1.684 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/4.02, allocations: 46.97 kB / 1.684 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/4.02, allocations: 30.47 kB / 1.684 GB, free: 61.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003857/4.024, allocations: 1.397 MB / 1.686 GB, free: 61.45 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008884/4.033, allocations: 7.654 MB / 1.693 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/4.037, allocations: 1.381 MB / 1.694 GB, free: 56.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/4.038, allocations: 1.596 MB / 1.696 GB, free: 54.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/4.04, allocations: 0.9567 MB / 1.697 GB, free: 54.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.497e-06/4.04, allocations: 3.438 kB / 1.697 GB, free: 54.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.006634/4.047, allocations: 2.471 MB / 1.699 GB, free: 54.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/4.047, allocations: 352.4 kB / 1.7 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/4.049, allocations: 1.046 MB / 1.701 GB, free: 53.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001838/4.049, allocations: 48.27 kB / 1.701 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006826/4.05, allocations: 0.7076 MB / 1.701 GB, free: 53.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/4.05, allocations: 273 kB / 1.702 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/4.051, allocations: 21.56 kB / 1.702 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001338/4.051, allocations: 347.7 kB / 1.702 GB, free: 52.87 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/4.052, allocations: 0.5936 MB / 1.703 GB, free: 52.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/4.054, allocations: 0.9445 MB / 1.704 GB, free: 52.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/4.056, allocations: 0.7338 MB / 1.704 GB, free: 52.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/4.056, allocations: 2.062 kB / 1.704 GB, free: 52.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00518/4.061, allocations: 1.822 MB / 1.706 GB, free: 52.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009051/4.062, allocations: 2.686 MB / 1.709 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/4.062, allocations: 9.938 kB / 1.709 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/4.062, allocations: 9.594 kB / 1.709 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/4.064, allocations: 304.2 kB / 1.709 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/4.064, allocations: 21.8 kB / 1.709 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/4.066, allocations: 310.9 kB / 1.709 GB, free: 49.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/4.066, allocations: 54.3 kB / 1.709 GB, free: 49.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/4.066, allocations: 6.156 kB / 1.709 GB, free: 49.39 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003719/4.07, allocations: 1.623 MB / 1.711 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/4.07, allocations: 6.25 kB / 1.711 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/4.07, allocations: 11.47 kB / 1.711 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/4.071, allocations: 285.9 kB / 1.711 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/4.071, allocations: 18.05 kB / 1.711 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/4.074, allocations: 260.1 kB / 1.712 GB, free: 49.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/4.074, allocations: 52.16 kB / 1.712 GB, free: 49.22 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * 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.001131/4.075, allocations: 499.7 kB / 1.712 GB, free: 48.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/4.075, allocations: 156.2 kB / 1.712 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004879/4.08, allocations: 2.194 MB / 1.714 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/4.08, allocations: 7.625 kB / 1.714 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/4.08, allocations: 3.75 kB / 1.714 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/4.08, allocations: 9.375 kB / 1.714 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/4.083, allocations: 1.274 MB / 1.716 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/4.083, allocations: 2.562 kB / 1.716 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/4.084, allocations: 218.4 kB / 1.716 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.914e-05/4.084, allocations: 4.719 kB / 1.716 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.954e-05/4.084, allocations: 38.42 kB / 1.716 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/4.084, allocations: 2.562 kB / 1.716 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/4.084, allocations: 0 / 1.716 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/4.09, allocations: 2.684 MB / 1.719 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007471/4.091, allocations: 240.5 kB / 1.719 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/4.091, allocations: 27.72 kB / 1.719 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/4.092, allocations: 188.5 kB / 1.719 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/4.092, allocations: 54.73 kB / 1.719 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/4.093, allocations: 41.69 kB / 1.719 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001324/4.094, allocations: 0.8401 MB / 1.72 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.903e-06/4.094, allocations: 0 / 1.72 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003058/4.097, allocations: 0.8822 MB / 1.721 GB, free: 47.72 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 64 * 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.001786/4.099, allocations: 0.8997 MB / 1.722 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005797/4.105, allocations: 2.573 MB / 1.724 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/4.105, allocations: 2.578 kB / 1.724 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/4.106, allocations: 0.9219 MB / 1.725 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/4.11, allocations: 0.5615 MB / 1.726 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005895/4.115, allocations: 3.475 MB / 1.729 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/4.116, allocations: 1.259 MB / 1.73 GB, free: 44.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002049/4.118, allocations: 393.5 kB / 1.731 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/4.119, allocations: 131.8 kB / 1.731 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/4.119, allocations: 0 / 1.731 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.06409/4.183, allocations: 32.13 MB / 1.762 GB, free: 42.81 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe 2>&1)