Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.861/0.861, allocations: 132.4 MB / 139.9 MB, free: 2.812 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.0009922/0.0009921, allocations: 172 kB / 171.8 MB, free: 4.934 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.469/1.469, allocations: 170.6 MB / 374.2 MB, free: 164 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.001554/0.001554, allocations: 107.4 kB / 444.8 MB, free: 14.14 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.1912/0.1912, allocations: 73.41 MB / 0.6666 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.071/6.262, allocations: 2.143 GB / 2.81 GB, free: 71.55 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/6.262, allocations: 88.89 kB / 2.81 GB, free: 71.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.482/9.744, allocations: 0.8407 GB / 3.651 GB, free: 82.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/9.744, allocations: 0 / 3.651 GB, free: 82.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002659/9.744, allocations: 47.66 kB / 3.651 GB, free: 82.04 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: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.00655/9.751, allocations: 2.089 MB / 3.653 GB, free: 81.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/9.751, allocations: 9 kB / 3.653 GB, free: 81.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/9.756, allocations: 0.5905 MB / 3.653 GB, free: 81.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004995/9.761, allocations: 1.519 MB / 3.655 GB, free: 80.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/9.761, allocations: 42.69 kB / 3.655 GB, free: 80.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/9.761, allocations: 78.97 kB / 3.655 GB, free: 80.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002468/9.764, allocations: 1.012 MB / 3.656 GB, free: 80.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/9.767, allocations: 1.208 MB / 3.657 GB, free: 80.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/9.767, allocations: 0 / 3.657 GB, free: 80.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/9.767, allocations: 0 / 3.657 GB, free: 80.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/9.767, allocations: 48.36 kB / 3.657 GB, free: 80.61 MB / 0.6355 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.009125/9.776, allocations: 4.976 MB / 3.662 GB, free: 78.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/9.777, allocations: 0.8083 MB / 3.663 GB, free: 78.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/9.778, allocations: 399.5 kB / 3.663 GB, free: 78.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/9.778, allocations: 113.8 kB / 3.663 GB, free: 78.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008229/9.779, allocations: 0.5831 MB / 3.664 GB, free: 78.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=80): time 3.877e-06/9.779, allocations: 0 / 3.664 GB, free: 78.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.007482/9.786, allocations: 3.058 MB / 3.667 GB, free: 77.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/9.787, allocations: 486.6 kB / 3.667 GB, free: 76.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/9.788, allocations: 0.8859 MB / 3.668 GB, free: 76.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/9.788, allocations: 29.42 kB / 3.668 GB, free: 76.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/9.788, allocations: 0.7506 MB / 3.669 GB, free: 76.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/9.789, allocations: 297.9 kB / 3.669 GB, free: 76.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/9.789, allocations: 0 / 3.669 GB, free: 76.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/9.789, allocations: 341.2 kB / 3.67 GB, free: 76.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/9.789, allocations: 351.8 kB / 3.67 GB, free: 76.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/9.79, allocations: 0.6283 MB / 3.67 GB, free: 75.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/9.793, allocations: 1.216 MB / 3.672 GB, free: 75.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/9.793, allocations: 3.094 kB / 3.672 GB, free: 75.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002753/9.796, allocations: 1.356 MB / 3.673 GB, free: 75.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/9.796, allocations: 1.113 MB / 3.674 GB, free: 74.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/9.796, allocations: 3.188 kB / 3.674 GB, free: 74.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/9.797, allocations: 228.6 kB / 3.674 GB, free: 74.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/9.798, allocations: 176.3 kB / 3.674 GB, free: 74.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/9.801, allocations: 4.365 MB / 3.679 GB, free: 71.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/9.803, allocations: 107.8 kB / 3.679 GB, free: 71.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/9.803, allocations: 37.81 kB / 3.679 GB, free: 71.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/9.803, allocations: 8.969 kB / 3.679 GB, free: 71.33 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00215/9.805, allocations: 1.216 MB / 3.68 GB, free: 71.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/9.805, allocations: 6.031 kB / 3.68 GB, free: 71.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/9.806, allocations: 217.5 kB / 3.68 GB, free: 71.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/9.806, allocations: 171.4 kB / 3.68 GB, free: 71.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/9.811, allocations: 5.272 MB / 3.686 GB, free: 67.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/9.812, allocations: 99.28 kB / 3.686 GB, free: 67.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/9.812, allocations: 34.75 kB / 3.686 GB, free: 67.32 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaDyn.vol.dynBal.medium.dT:DUMMY_STATE(unit = "K" protected = true final = true ) "Temperature difference used to compute enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004421/9.813, allocations: 167.7 kB / 3.686 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/9.813, allocations: 143.4 kB / 3.686 GB, free: 67.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/9.816, allocations: 1.089 MB / 3.687 GB, free: 67.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/9.816, allocations: 14.17 kB / 3.687 GB, free: 67.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/9.816, allocations: 2.031 kB / 3.687 GB, free: 67.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001857/9.818, allocations: 0.996 MB / 3.688 GB, free: 66.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/9.823, allocations: 2.829 MB / 3.691 GB, free: 66.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/9.823, allocations: 3.406 kB / 3.691 GB, free: 66.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/9.824, allocations: 169.5 kB / 3.691 GB, free: 66.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/9.824, allocations: 58.56 kB / 3.691 GB, free: 66.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/9.824, allocations: 15.94 kB / 3.691 GB, free: 66.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/9.826, allocations: 1.616 MB / 3.693 GB, free: 64.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/9.826, allocations: 10.12 kB / 3.693 GB, free: 64.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/9.829, allocations: 1.867 MB / 3.694 GB, free: 64.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008955/9.83, allocations: 331.8 kB / 3.695 GB, free: 64.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/9.83, allocations: 16.97 kB / 3.695 GB, free: 64.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/9.832, allocations: 100.3 kB / 3.695 GB, free: 64.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/9.832, allocations: 61.95 kB / 3.695 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/9.832, allocations: 35.3 kB / 3.695 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0012/9.833, allocations: 0.678 MB / 3.696 GB, free: 64.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/9.833, allocations: 0 / 3.696 GB, free: 64.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004136/9.837, allocations: 0.8572 MB / 3.696 GB, free: 64 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.T,heaDyn.vol.dynBal.medium.X[2],senTem2.T,con2.I.y) * Number of discrete variables: 5 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent) * Number of discrete states: 5 (TSet.last,TSet.nextEvent,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003973/9.841, allocations: 2.571 MB / 3.699 GB, free: 63.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003331/9.845, allocations: 2.178 MB / 3.701 GB, free: 62.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/9.845, allocations: 3.938 kB / 3.701 GB, free: 62.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009238/9.846, allocations: 0.5929 MB / 3.702 GB, free: 62.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003891/9.85, allocations: 0.6508 MB / 3.702 GB, free: 62.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00701/9.857, allocations: 2.434 MB / 3.705 GB, free: 61.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/9.858, allocations: 1.389 MB / 3.706 GB, free: 60.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002725/9.861, allocations: 422 kB / 3.706 GB, free: 60.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/9.862, allocations: 90.48 kB / 3.707 GB, free: 60.86 MB / 0.6355 GB Notification: Performance of SimCode: time 1.183e-06/9.862, allocations: 3.172 kB / 3.707 GB, free: 60.86 MB / 0.6355 GB Notification: Performance of Templates: time 0.06564/9.927, allocations: 42.53 MB / 3.748 GB, free: 58.29 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)