Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_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.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.893/0.893, allocations: 132.4 MB / 139.9 MB, free: 15.4 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.001148/0.001148, allocations: 171.9 kB / 171.8 MB, free: 2.043 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.686/1.686, allocations: 170.6 MB / 374.2 MB, free: 17.8 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.001818/0.001818, allocations: 119.6 kB / 444.8 MB, free: 14.83 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.1705/0.1705, allocations: 73.42 MB / 0.6666 GB, free: 14.32 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.99/6.16, allocations: 2.179 GB / 2.846 GB, free: 52.86 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/6.161, allocations: 87.95 kB / 2.846 GB, free: 52.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.869/13.03, allocations: 1.594 GB / 4.44 GB, free: 59.99 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.523e-06/13.03, allocations: 0 / 4.44 GB, free: 59.99 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004678/13.03, allocations: 60.72 kB / 4.44 GB, free: 59.99 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 380 * Number of variables: 380 Notification: Performance of Generate backend data structure: time 0.01016/13.04, allocations: 2.682 MB / 4.443 GB, free: 58.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/13.04, allocations: 12 kB / 4.443 GB, free: 58.91 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006402/13.05, allocations: 0.7656 MB / 4.443 GB, free: 58.78 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007586/13.05, allocations: 2.221 MB / 4.446 GB, free: 58.41 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/13.05, allocations: 49.3 kB / 4.446 GB, free: 58.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007306/13.06, allocations: 102.3 kB / 4.446 GB, free: 58.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003441/13.06, allocations: 1.291 MB / 4.447 GB, free: 58.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/13.06, allocations: 1.516 MB / 4.448 GB, free: 58.19 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/13.06, allocations: 3.375 kB / 4.448 GB, free: 58.19 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/13.06, allocations: 3.719 kB / 4.448 GB, free: 58.19 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/13.06, allocations: 63.08 kB / 4.449 GB, free: 58.18 MB / 0.6667 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.01057/13.07, allocations: 7.475 MB / 4.456 GB, free: 54.88 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/13.07, allocations: 1.595 MB / 4.457 GB, free: 54.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/13.07, allocations: 0.5103 MB / 4.458 GB, free: 54.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/13.07, allocations: 122.1 kB / 4.458 GB, free: 54 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000821/13.08, allocations: 0.6083 MB / 4.459 GB, free: 53.89 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001188/13.08, allocations: 105.2 kB / 4.459 GB, free: 53.87 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=98): time 4.929e-06/13.08, allocations: 0 / 4.459 GB, free: 53.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=101): time 0.006246/13.08, allocations: 3.033 MB / 4.462 GB, free: 52.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/13.08, allocations: 323.3 kB / 4.462 GB, free: 52.45 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/13.09, allocations: 1.267 MB / 4.463 GB, free: 52.29 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/13.09, allocations: 29.61 kB / 4.463 GB, free: 52.25 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007538/13.09, allocations: 0.9649 MB / 4.464 GB, free: 51.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/13.09, allocations: 339.5 kB / 4.465 GB, free: 51.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/13.09, allocations: 0 / 4.465 GB, free: 51.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/13.09, allocations: 365.1 kB / 4.465 GB, free: 51.37 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000682/13.09, allocations: 0.4967 MB / 4.465 GB, free: 51.37 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/13.09, allocations: 0.8235 MB / 4.466 GB, free: 51.02 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004839/13.09, allocations: 2.178 MB / 4.468 GB, free: 50.83 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/13.09, allocations: 0 / 4.468 GB, free: 50.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002891/13.1, allocations: 1.631 MB / 4.47 GB, free: 50.58 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004711/13.1, allocations: 2.163 MB / 4.472 GB, free: 48.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/13.1, allocations: 7.344 kB / 4.472 GB, free: 48.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/13.1, allocations: 44.77 kB / 4.472 GB, free: 48.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/13.1, allocations: 262.6 kB / 4.472 GB, free: 48.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008939/13.1, allocations: 1.426 MB / 4.474 GB, free: 47.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/13.1, allocations: 174 kB / 4.474 GB, free: 47.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/13.1, allocations: 67.11 kB / 4.474 GB, free: 47.04 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/13.1, allocations: 5.281 kB / 4.474 GB, free: 47.04 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/13.1, allocations: 1.484 MB / 4.475 GB, free: 46.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/13.1, allocations: 12.86 kB / 4.475 GB, free: 46.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.706e-05/13.1, allocations: 36.31 kB / 4.475 GB, free: 46.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/13.1, allocations: 266.6 kB / 4.476 GB, free: 46.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007783/13.11, allocations: 1.422 MB / 4.477 GB, free: 45.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/13.11, allocations: 171.4 kB / 4.477 GB, free: 45.63 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/13.11, allocations: 59.62 kB / 4.477 GB, free: 45.63 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (138): * Single equations (assignments): 133 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000378/13.11, allocations: 147.2 kB / 4.477 GB, free: 45.52 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/13.11, allocations: 186.3 kB / 4.478 GB, free: 45.42 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/13.11, allocations: 1.25 MB / 4.479 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/13.11, allocations: 15.39 kB / 4.479 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/13.11, allocations: 0 / 4.479 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/13.11, allocations: 1.03 MB / 4.48 GB, free: 45 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/13.12, allocations: 3.245 MB / 4.483 GB, free: 44.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/13.12, allocations: 3.938 kB / 4.483 GB, free: 44.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/13.12, allocations: 224.7 kB / 4.483 GB, free: 44.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/13.12, allocations: 67.95 kB / 4.483 GB, free: 44.19 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/13.12, allocations: 14.78 kB / 4.483 GB, free: 44.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/13.12, allocations: 2.642 MB / 4.486 GB, free: 41.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/13.12, allocations: 11.48 kB / 4.486 GB, free: 41.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/13.12, allocations: 1.892 MB / 4.488 GB, free: 41.39 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/13.12, allocations: 390.1 kB / 4.488 GB, free: 41.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/13.12, allocations: 3.938 kB / 4.488 GB, free: 41.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/13.13, allocations: 174.7 kB / 4.488 GB, free: 41.19 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/13.13, allocations: 72.17 kB / 4.488 GB, free: 41.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.948e-05/13.13, allocations: 39.14 kB / 4.488 GB, free: 41.19 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001719/13.13, allocations: 0.946 MB / 4.489 GB, free: 41.08 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.1e-07/13.13, allocations: 0 / 4.489 GB, free: 41.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005282/13.13, allocations: 1.205 MB / 4.49 GB, free: 41.02 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005606/13.14, allocations: 3.661 MB / 4.494 GB, free: 39.64 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004265/13.14, allocations: 2.907 MB / 4.497 GB, free: 39.08 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/13.14, allocations: 0 / 4.497 GB, free: 39.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008721/13.14, allocations: 0.6956 MB / 4.498 GB, free: 38.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/13.15, allocations: 0.9271 MB / 4.498 GB, free: 38.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00916/13.16, allocations: 3.154 MB / 4.502 GB, free: 38.07 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/13.16, allocations: 1.625 MB / 4.503 GB, free: 37.33 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003838/13.16, allocations: 0.6517 MB / 4.504 GB, free: 37.31 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/13.17, allocations: 115 kB / 4.504 GB, free: 37.3 MB / 0.6667 GB Notification: Performance of SimCode: time 6.21e-07/13.17, allocations: 0 / 4.504 GB, free: 37.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.09151/13.26, allocations: 56.13 MB / 4.559 GB, free: 33.44 MB / 0.6667 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)