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.7799/0.7799, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001126/0.001126, allocations: 176.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.697/1.697, 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.001745/0.001745, allocations: 117.5 kB / 454.6 MB, free: 9.742 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.1723/0.1728, allocations: 73.42 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.65/6.823, allocations: 2.18 GB / 2.861 GB, free: 158.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/6.824, allocations: 103.4 kB / 2.861 GB, free: 158.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.792/13.62, allocations: 1.614 GB / 4.475 GB, free: 64.34 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.856e-06/13.62, allocations: 0 / 4.475 GB, free: 64.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002771/13.62, allocations: 59.22 kB / 4.475 GB, free: 64.32 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.01148/13.63, allocations: 3.197 MB / 4.478 GB, free: 62.65 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/13.63, allocations: 11.38 kB / 4.478 GB, free: 62.65 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006088/13.63, allocations: 0.7705 MB / 4.479 GB, free: 62.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007336/13.64, allocations: 2.226 MB / 4.481 GB, free: 61.99 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/13.64, allocations: 124.6 kB / 4.481 GB, free: 61.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005007/13.64, allocations: 169.4 kB / 4.481 GB, free: 61.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004003/13.65, allocations: 1.821 MB / 4.483 GB, free: 61.45 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/13.65, allocations: 3.438 kB / 4.483 GB, free: 61.45 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/13.65, allocations: 67.41 kB / 4.483 GB, free: 61.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/13.65, allocations: 62.53 kB / 4.483 GB, free: 61.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/13.65, allocations: 1.501 MB / 4.485 GB, free: 60.88 MB / 0.6667 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.01344/13.66, allocations: 7.755 MB / 4.492 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/13.67, allocations: 1.757 MB / 4.494 GB, free: 54.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/13.67, allocations: 116.8 kB / 4.494 GB, free: 54.17 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/13.67, allocations: 0.7266 MB / 4.495 GB, free: 53.71 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001708/13.67, allocations: 133.9 kB / 4.495 GB, free: 53.63 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=98): time 7.964e-06/13.67, allocations: 0 / 4.495 GB, free: 53.63 MB / 0.6667 GB Notification: Performance of matching and sorting (n=101): time 0.01163/13.68, allocations: 3.79 MB / 4.499 GB, free: 50.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/13.68, allocations: 321.4 kB / 4.499 GB, free: 50.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/13.69, allocations: 1.425 MB / 4.5 GB, free: 48.82 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004349/13.69, allocations: 49.7 kB / 4.5 GB, free: 48.76 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/13.69, allocations: 0.958 MB / 4.501 GB, free: 47.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/13.69, allocations: 357.5 kB / 4.502 GB, free: 47.45 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/13.69, allocations: 27.94 kB / 4.502 GB, free: 47.42 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001251/13.69, allocations: 357.9 kB / 4.502 GB, free: 47.07 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/13.69, allocations: 0.5708 MB / 4.503 GB, free: 46.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/13.69, allocations: 0.9139 MB / 4.504 GB, free: 45.46 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.009918/13.7, allocations: 2.767 MB / 4.506 GB, free: 42.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/13.7, allocations: 0 / 4.506 GB, free: 42.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004203/13.7, allocations: 1.857 MB / 4.508 GB, free: 40.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007644/13.7, allocations: 2.172 MB / 4.51 GB, free: 38.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/13.7, allocations: 11.98 kB / 4.51 GB, free: 38.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/13.7, allocations: 52.78 kB / 4.51 GB, free: 38.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/13.71, allocations: 259.7 kB / 4.51 GB, free: 38.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/13.71, allocations: 1.571 MB / 4.512 GB, free: 36.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/13.71, allocations: 206.1 kB / 4.512 GB, free: 36.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/13.71, allocations: 63.97 kB / 4.512 GB, free: 36.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/13.71, allocations: 4 kB / 4.512 GB, free: 36.17 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003359/13.71, allocations: 1.8 MB / 4.514 GB, free: 34.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/13.71, allocations: 8 kB / 4.514 GB, free: 34.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/13.71, allocations: 40.84 kB / 4.514 GB, free: 34.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/13.72, allocations: 259.8 kB / 4.514 GB, free: 34.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/13.72, allocations: 1.573 MB / 4.516 GB, free: 32.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/13.72, allocations: 195.7 kB / 4.516 GB, free: 32.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/13.72, allocations: 63.98 kB / 4.516 GB, free: 32.08 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 132 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001826/13.72, allocations: 0.5927 MB / 4.517 GB, free: 31.48 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007933/13.72, allocations: 185.7 kB / 4.517 GB, free: 31.29 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/13.73, allocations: 1.429 MB / 4.518 GB, free: 29.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/13.73, allocations: 8 kB / 4.518 GB, free: 29.83 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/13.73, allocations: 4 kB / 4.518 GB, free: 29.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002267/13.73, allocations: 1.17 MB / 4.519 GB, free: 28.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009973/13.74, allocations: 3.535 MB / 4.523 GB, free: 24.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/13.74, allocations: 0 / 4.523 GB, free: 24.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/13.74, allocations: 219.7 kB / 4.523 GB, free: 24.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/13.74, allocations: 77.7 kB / 4.523 GB, free: 24.68 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/13.74, allocations: 31.92 kB / 4.523 GB, free: 24.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/13.74, allocations: 2.914 MB / 4.526 GB, free: 21.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/13.74, allocations: 3.938 kB / 4.526 GB, free: 21.46 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004392/13.75, allocations: 2.121 MB / 4.528 GB, free: 19.29 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/13.75, allocations: 394.6 kB / 4.528 GB, free: 18.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008123/13.75, allocations: 24 kB / 4.528 GB, free: 18.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/13.75, allocations: 193.7 kB / 4.529 GB, free: 18.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/13.75, allocations: 76.89 kB / 4.529 GB, free: 18.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/13.75, allocations: 31.98 kB / 4.529 GB, free: 18.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003158/13.76, allocations: 1.09 MB / 4.53 GB, free: 17.46 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/13.76, allocations: 0 / 4.53 GB, free: 17.46 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.008349/13.76, allocations: 1.329 MB / 4.531 GB, free: 16.13 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 94 * 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%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007567/13.77, allocations: 3.515 MB / 4.535 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006241/13.78, allocations: 3.127 MB / 4.538 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/13.78, allocations: 7.906 kB / 4.538 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/13.78, allocations: 0.8044 MB / 4.538 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00584/13.79, allocations: 0.977 MB / 4.539 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/13.8, allocations: 4.845 MB / 4.544 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002352/13.8, allocations: 1.629 MB / 4.546 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003832/13.8, allocations: 489.2 kB / 4.546 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008253/13.8, allocations: 139.4 kB / 4.546 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of SimCode: time 1.994e-06/13.8, allocations: 0 / 4.546 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of Templates: time 0.6666/14.47, allocations: 72.69 MB / 4.617 GB, free: 81.68 MB / 0.6823 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)