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.8539/0.8539, allocations: 133.7 MB / 148.6 MB, free: 13.65 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.001214/0.001214, allocations: 173.7 kB / 180.9 MB, free: 15.08 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.812/1.812, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001842/0.001842, allocations: 124.2 kB / 454.6 MB, free: 9.711 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.1965/0.1971, allocations: 73.42 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.396, allocations: 345.7 MB / 1.019 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.396, allocations: 86.64 kB / 1.019 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.387/4.783, allocations: 0.912 GB / 1.931 GB, free: 57.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.685e-06/4.784, allocations: 2.719 kB / 1.931 GB, free: 57.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001637/4.784, allocations: 49.64 kB / 1.931 GB, free: 57.95 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.004884/4.789, allocations: 2.083 MB / 1.933 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/4.789, allocations: 9.625 kB / 1.933 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003355/4.792, allocations: 0.6084 MB / 1.934 GB, free: 57.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/4.795, allocations: 1.311 MB / 1.935 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/4.795, allocations: 82.36 kB / 1.935 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/4.796, allocations: 117.1 kB / 1.935 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/4.799, allocations: 1.598 MB / 1.937 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/4.799, allocations: 8.422 kB / 1.937 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/4.799, allocations: 52.62 kB / 1.937 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/4.799, allocations: 30.81 kB / 1.937 GB, free: 56.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003786/4.803, allocations: 1.433 MB / 1.938 GB, free: 56.49 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.009005/4.812, allocations: 7.28 MB / 1.945 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/4.816, allocations: 1.477 MB / 1.947 GB, free: 52.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/4.817, allocations: 1.608 MB / 1.948 GB, free: 50.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/4.82, allocations: 1 MB / 1.949 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=91): time 3.216e-06/4.82, allocations: 3.172 kB / 1.949 GB, free: 50.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91): time 0.006604/4.826, allocations: 2.577 MB / 1.952 GB, free: 49.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/4.827, allocations: 354.7 kB / 1.952 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/4.828, allocations: 1.029 MB / 1.953 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/4.829, allocations: 46.58 kB / 1.953 GB, free: 49.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/4.829, allocations: 0.6826 MB / 1.954 GB, free: 48.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/4.829, allocations: 313.9 kB / 1.954 GB, free: 48.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/4.83, allocations: 23.56 kB / 1.954 GB, free: 48.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/4.83, allocations: 346.4 kB / 1.954 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/4.831, allocations: 0.6141 MB / 1.955 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/4.833, allocations: 0.9682 MB / 1.956 GB, free: 48.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/4.835, allocations: 0.7541 MB / 1.957 GB, free: 47.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/4.835, allocations: 6.688 kB / 1.957 GB, free: 47.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004118/4.839, allocations: 1.861 MB / 1.959 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004716/4.839, allocations: 2.154 MB / 1.961 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/4.839, allocations: 5.406 kB / 1.961 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/4.839, allocations: 11.12 kB / 1.961 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/4.841, allocations: 320.9 kB / 1.961 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/4.841, allocations: 13.44 kB / 1.961 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/4.843, allocations: 312.8 kB / 1.961 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/4.843, allocations: 53.8 kB / 1.961 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/4.843, allocations: 10.81 kB / 1.961 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003478/4.847, allocations: 1.665 MB / 1.963 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/4.847, allocations: 4.625 kB / 1.963 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/4.847, allocations: 12.53 kB / 1.963 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/4.848, allocations: 294.5 kB / 1.963 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/4.848, allocations: 17.02 kB / 1.963 GB, free: 45.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/4.85, allocations: 268.1 kB / 1.964 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/4.85, allocations: 58.2 kB / 1.964 GB, free: 45.25 MB / 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: 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 (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.001097/4.851, allocations: 0.4931 MB / 1.964 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/4.852, allocations: 153.1 kB / 1.964 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/4.857, allocations: 2.281 MB / 1.966 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/4.857, allocations: 21.33 kB / 1.966 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/4.857, allocations: 0 / 1.966 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/4.857, allocations: 3.469 kB / 1.966 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/4.86, allocations: 1.305 MB / 1.968 GB, free: 44.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/4.86, allocations: 1.562 kB / 1.968 GB, free: 44.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/4.861, allocations: 244.6 kB / 1.968 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/4.861, allocations: 2.812 kB / 1.968 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/4.861, allocations: 38.5 kB / 1.968 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/4.861, allocations: 3.75 kB / 1.968 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/4.861, allocations: 0 / 1.968 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005855/4.867, allocations: 2.805 MB / 1.971 GB, free: 44.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/4.868, allocations: 239.8 kB / 1.971 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/4.868, allocations: 29.2 kB / 1.971 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/4.87, allocations: 197.3 kB / 1.971 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/4.87, allocations: 60.88 kB / 1.971 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/4.87, allocations: 43.91 kB / 1.971 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001524/4.872, allocations: 0.8322 MB / 1.972 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/4.872, allocations: 0.75 kB / 1.972 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003403/4.875, allocations: 0.8869 MB / 1.973 GB, free: 43.74 MB / 0.6355 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) * Number of clocked states: 0 () * 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.00212/4.877, allocations: 0.9092 MB / 1.974 GB, free: 43.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006057/4.883, allocations: 2.669 MB / 1.976 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/4.883, allocations: 0.9062 kB / 1.976 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/4.885, allocations: 0.9689 MB / 1.977 GB, free: 42.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/4.889, allocations: 0.5579 MB / 1.978 GB, free: 42.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/4.898, allocations: 3.738 MB / 1.982 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/4.9, allocations: 1.263 MB / 1.983 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002548/4.902, allocations: 397.1 kB / 1.983 GB, free: 40.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/4.903, allocations: 136.8 kB / 1.983 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.482e-06/4.903, allocations: 3.094 kB / 1.983 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.05619/4.959, allocations: 32.54 MB / 2.015 GB, free: 38.57 MB / 0.6355 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)