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.8977/0.8977, allocations: 132.4 MB / 139.9 MB, free: 2.805 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.001119/0.00112, allocations: 179.7 kB / 171.8 MB, free: 4.918 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.608/1.608, allocations: 170.6 MB / 374.2 MB, free: 196 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.002182/0.002182, allocations: 104.3 kB / 444.8 MB, free: 14.18 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.2069/0.2069, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.276/7.483, allocations: 2.179 GB / 2.846 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/7.484, allocations: 94.52 kB / 2.846 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.934/14.42, allocations: 1.594 GB / 4.44 GB, free: 57.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.385e-06/14.42, allocations: 3.594 kB / 4.44 GB, free: 57.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005437/14.42, allocations: 62.7 kB / 4.44 GB, free: 57.2 MB / 0.6511 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.01146/14.43, allocations: 2.673 MB / 4.443 GB, free: 55.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/14.43, allocations: 11.72 kB / 4.443 GB, free: 55.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006451/14.44, allocations: 0.7708 MB / 4.443 GB, free: 55.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008235/14.44, allocations: 2.215 MB / 4.446 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/14.44, allocations: 47.72 kB / 4.446 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009498/14.45, allocations: 101.2 kB / 4.446 GB, free: 55.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004192/14.45, allocations: 1.291 MB / 4.447 GB, free: 55.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005026/14.46, allocations: 1.524 MB / 4.448 GB, free: 54.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.664e-05/14.46, allocations: 0 / 4.448 GB, free: 54.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/14.46, allocations: 7.062 kB / 4.448 GB, free: 54.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.215e-05/14.46, allocations: 54.69 kB / 4.449 GB, free: 54.94 MB / 0.6511 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.01549/14.47, allocations: 7.48 MB / 4.456 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/14.47, allocations: 1.602 MB / 4.457 GB, free: 50.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008639/14.47, allocations: 0.5127 MB / 4.458 GB, free: 50.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/14.47, allocations: 123.1 kB / 4.458 GB, free: 50.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/14.48, allocations: 0.6126 MB / 4.459 GB, free: 50.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00151/14.48, allocations: 105.6 kB / 4.459 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=98): time 6.482e-06/14.48, allocations: 0 / 4.459 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=101): time 0.008937/14.49, allocations: 3.022 MB / 4.462 GB, free: 49.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/14.49, allocations: 337.4 kB / 4.462 GB, free: 49.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/14.49, allocations: 1.264 MB / 4.463 GB, free: 48.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/14.49, allocations: 32.05 kB / 4.463 GB, free: 48.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/14.49, allocations: 0.9512 MB / 4.464 GB, free: 48.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/14.49, allocations: 342 kB / 4.465 GB, free: 48.26 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/14.49, allocations: 3.031 kB / 4.465 GB, free: 48.26 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001298/14.49, allocations: 351.9 kB / 4.465 GB, free: 47.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/14.49, allocations: 0.4976 MB / 4.465 GB, free: 47.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/14.49, allocations: 0.8267 MB / 4.466 GB, free: 47.6 MB / 0.6511 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.005477/14.5, allocations: 2.169 MB / 4.468 GB, free: 47.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/14.5, allocations: 3.312 kB / 4.468 GB, free: 47.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003388/14.5, allocations: 1.627 MB / 4.47 GB, free: 46.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006441/14.5, allocations: 2.173 MB / 4.472 GB, free: 44.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/14.5, allocations: 3.219 kB / 4.472 GB, free: 44.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/14.5, allocations: 36.12 kB / 4.472 GB, free: 44.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/14.5, allocations: 266.1 kB / 4.472 GB, free: 44.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/14.51, allocations: 1.423 MB / 4.474 GB, free: 42.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/14.51, allocations: 183.2 kB / 4.474 GB, free: 42.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/14.51, allocations: 63.31 kB / 4.474 GB, free: 42.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/14.51, allocations: 3.75 kB / 4.474 GB, free: 42.93 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002941/14.51, allocations: 1.489 MB / 4.475 GB, free: 42.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/14.51, allocations: 9.547 kB / 4.475 GB, free: 42.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/14.51, allocations: 38.58 kB / 4.475 GB, free: 42.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/14.51, allocations: 263 kB / 4.476 GB, free: 42.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009741/14.51, allocations: 1.421 MB / 4.477 GB, free: 40.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/14.52, allocations: 176 kB / 4.477 GB, free: 40.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/14.52, allocations: 68.53 kB / 4.477 GB, free: 40.87 MB / 0.6511 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.0005004/14.52, allocations: 143 kB / 4.477 GB, free: 40.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/14.52, allocations: 186.6 kB / 4.478 GB, free: 40.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/14.52, allocations: 1.242 MB / 4.479 GB, free: 40.08 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/14.52, allocations: 11.97 kB / 4.479 GB, free: 40.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/14.52, allocations: 0 / 4.479 GB, free: 40.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001647/14.52, allocations: 1.037 MB / 4.48 GB, free: 39.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007175/14.53, allocations: 3.238 MB / 4.483 GB, free: 37.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/14.53, allocations: 0 / 4.483 GB, free: 37.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/14.53, allocations: 231.7 kB / 4.483 GB, free: 37.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/14.53, allocations: 71.38 kB / 4.483 GB, free: 37.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.431e-05/14.53, allocations: 14.81 kB / 4.483 GB, free: 37.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/14.53, allocations: 2.643 MB / 4.486 GB, free: 35.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/14.53, allocations: 3.688 kB / 4.486 GB, free: 35.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/14.54, allocations: 1.89 MB / 4.488 GB, free: 34.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/14.54, allocations: 390.4 kB / 4.488 GB, free: 34.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006809/14.54, allocations: 3.688 kB / 4.488 GB, free: 34.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/14.54, allocations: 169.8 kB / 4.488 GB, free: 34.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/14.54, allocations: 82.45 kB / 4.488 GB, free: 34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/14.54, allocations: 40.67 kB / 4.488 GB, free: 34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002278/14.54, allocations: 0.9512 MB / 4.489 GB, free: 33.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.31e-07/14.54, allocations: 0 / 4.489 GB, free: 33.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006579/14.55, allocations: 1.209 MB / 4.49 GB, free: 33.35 MB / 0.6511 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.007047/14.56, allocations: 3.667 MB / 4.494 GB, free: 31.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00533/14.56, allocations: 2.904 MB / 4.497 GB, free: 29.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/14.56, allocations: 0 / 4.497 GB, free: 29.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/14.56, allocations: 0.7009 MB / 4.498 GB, free: 29.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006227/14.57, allocations: 0.916 MB / 4.498 GB, free: 28.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/14.58, allocations: 3.157 MB / 4.502 GB, free: 25.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/14.58, allocations: 1.624 MB / 4.503 GB, free: 40.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004305/14.59, allocations: 0.6511 MB / 4.504 GB, free: 40.03 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/14.59, allocations: 114.6 kB / 4.504 GB, free: 39.93 MB / 0.6667 GB Notification: Performance of SimCode: time 9.82e-07/14.59, allocations: 3.938 kB / 4.504 GB, free: 39.92 MB / 0.6667 GB Notification: Performance of Templates: time 0.6209/15.21, allocations: 56.12 MB / 4.559 GB, free: 75.65 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)