Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.Examples.WaterHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7382/0.7382, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.0009844/0.0009844, allocations: 170.1 kB / 171.8 MB, free: 2.082 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.408/1.408, allocations: 170.6 MB / 374.2 MB, free: 18.24 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.001641/0.001641, allocations: 111.4 kB / 444.8 MB, free: 15.3 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.1709/0.1709, allocations: 73.42 MB / 0.6666 GB, free: 14.35 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.385, allocations: 402.1 MB / 1.059 GB, free: 88.37 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.385, allocations: 90.95 kB / 1.059 GB, free: 88.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.732/5.117, allocations: 0.8837 GB / 1.943 GB, free: 73.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/5.117, allocations: 1.812 kB / 1.943 GB, free: 73.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005337/5.118, allocations: 51.09 kB / 1.943 GB, free: 73.72 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.009149/5.127, allocations: 2.229 MB / 1.945 GB, free: 72.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/5.127, allocations: 9.188 kB / 1.945 GB, free: 72.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/5.13, allocations: 377.8 kB / 1.946 GB, free: 72.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/5.147, allocations: 4.539 MB / 1.95 GB, free: 72.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/5.147, allocations: 37.98 kB / 1.95 GB, free: 72.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/5.147, allocations: 82.91 kB / 1.95 GB, free: 72.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003027/5.151, allocations: 0.848 MB / 1.951 GB, free: 72.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00423/5.155, allocations: 1.177 MB / 1.952 GB, free: 71.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.135e-05/5.155, allocations: 5.812 kB / 1.952 GB, free: 71.78 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/5.155, allocations: 6 kB / 1.952 GB, free: 71.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-05/5.155, allocations: 38.56 kB / 1.952 GB, free: 71.78 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.01497/5.17, allocations: 7.116 MB / 1.959 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/5.172, allocations: 0.7149 MB / 1.96 GB, free: 67.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/5.172, allocations: 379.5 kB / 1.96 GB, free: 67.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004556/5.177, allocations: 2.049 MB / 1.962 GB, free: 66.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006791/5.178, allocations: 422.8 kB / 1.963 GB, free: 66.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001228/5.179, allocations: 73 kB / 1.963 GB, free: 66.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=72): time 5.27e-06/5.179, allocations: 0 / 1.963 GB, free: 66.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74): time 0.007577/5.187, allocations: 2.076 MB / 1.965 GB, free: 65.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/5.187, allocations: 217.7 kB / 1.965 GB, free: 65.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/5.19, allocations: 1.225 MB / 1.966 GB, free: 65.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/5.19, allocations: 32.45 kB / 1.966 GB, free: 65.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/5.191, allocations: 0.8559 MB / 1.967 GB, free: 65.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/5.192, allocations: 251.9 kB / 1.967 GB, free: 64.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/5.192, allocations: 3.812 kB / 1.967 GB, free: 64.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001354/5.192, allocations: 346 kB / 1.968 GB, free: 64.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/5.193, allocations: 385.1 kB / 1.968 GB, free: 64.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009186/5.194, allocations: 0.6969 MB / 1.969 GB, free: 64.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/5.195, allocations: 0.5477 MB / 1.969 GB, free: 64.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/5.195, allocations: 3.375 kB / 1.969 GB, free: 64.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003309/5.198, allocations: 1.284 MB / 1.97 GB, free: 64.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00102/5.199, allocations: 2.865 MB / 1.973 GB, free: 61.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/5.199, allocations: 12.28 kB / 1.973 GB, free: 61.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-05/5.2, allocations: 13.34 kB / 1.973 GB, free: 61.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/5.201, allocations: 247.4 kB / 1.974 GB, free: 61.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.79e-05/5.201, allocations: 18.22 kB / 1.974 GB, free: 61.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/5.203, allocations: 144.3 kB / 1.974 GB, free: 61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/5.203, allocations: 64.91 kB / 1.974 GB, free: 61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/5.203, allocations: 3.625 kB / 1.974 GB, free: 61 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002604/5.206, allocations: 1.157 MB / 1.975 GB, free: 60.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/5.206, allocations: 12.38 kB / 1.975 GB, free: 60.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/5.206, allocations: 14.28 kB / 1.975 GB, free: 60.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009346/5.207, allocations: 241.2 kB / 1.975 GB, free: 60.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/5.207, allocations: 20.33 kB / 1.975 GB, free: 60.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/5.209, allocations: 138 kB / 1.975 GB, free: 60.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/5.209, allocations: 67.45 kB / 1.975 GB, free: 60.96 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 113 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * 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.0003535/5.21, allocations: 136.3 kB / 1.975 GB, free: 60.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/5.21, allocations: 159.5 kB / 1.976 GB, free: 60.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/5.213, allocations: 1.08 MB / 1.977 GB, free: 60.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/5.213, allocations: 11.67 kB / 1.977 GB, free: 60.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/5.213, allocations: 3.531 kB / 1.977 GB, free: 60.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/5.215, allocations: 0.7866 MB / 1.977 GB, free: 60.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006691/5.221, allocations: 2.452 MB / 1.98 GB, free: 60.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/5.221, allocations: 2.688 kB / 1.98 GB, free: 60.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/5.222, allocations: 167.5 kB / 1.98 GB, free: 60.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003605/5.223, allocations: 89 kB / 1.98 GB, free: 60.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/5.223, allocations: 21.17 kB / 1.98 GB, free: 60.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/5.224, allocations: 1.162 MB / 1.981 GB, free: 59.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/5.224, allocations: 6.625 kB / 1.981 GB, free: 59.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/5.227, allocations: 1.78 MB / 1.983 GB, free: 58.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/5.228, allocations: 358 kB / 1.983 GB, free: 58.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005483/5.228, allocations: 10.98 kB / 1.983 GB, free: 58.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/5.23, allocations: 141.1 kB / 1.984 GB, free: 58.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/5.23, allocations: 77.05 kB / 1.984 GB, free: 58.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/5.231, allocations: 32.45 kB / 1.984 GB, free: 58.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002273/5.233, allocations: 0.9171 MB / 1.985 GB, free: 58.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/5.233, allocations: 0 / 1.985 GB, free: 58.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006906/5.24, allocations: 0.9624 MB / 1.985 GB, free: 58.06 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004083/5.244, allocations: 1.167 MB / 1.987 GB, free: 57.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003865/5.248, allocations: 2.296 MB / 1.989 GB, free: 57.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/5.248, allocations: 0 / 1.989 GB, free: 57.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008608/5.249, allocations: 442 kB / 1.989 GB, free: 57.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004523/5.253, allocations: 0.7465 MB / 1.99 GB, free: 57.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/5.26, allocations: 2.409 MB / 1.992 GB, free: 56.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/5.261, allocations: 1.437 MB / 1.994 GB, free: 55.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003042/5.264, allocations: 0.5239 MB / 1.994 GB, free: 55.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/5.264, allocations: 108.5 kB / 1.994 GB, free: 55.91 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/5.264, allocations: 0 / 1.994 GB, free: 55.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.06985/5.334, allocations: 38.69 MB / 2.032 GB, free: 53.05 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)