Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") [/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.2229/0.2237, allocations: 82.22 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6554/0.8791, allocations: 193.6 MB / 0.7824 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02859/0.9077, allocations: 17 MB / 0.799 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005262/0.9131, allocations: 60.19 kB / 0.7991 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005271/0.9184, allocations: 1.136 MB / 0.8002 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.9308, allocations: 3.176 MB / 0.8033 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.9425, allocations: 3.026 MB / 0.8062 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007954/0.9505, allocations: 2.952 MB / 0.8091 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.9535, allocations: 1.408 MB / 0.8105 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/0.9597, allocations: 1.999 MB / 0.8124 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/0.9631, allocations: 1.148 MB / 0.8136 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008318/0.9639, allocations: 95.94 kB / 0.8137 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005955/0.9699, allocations: 1.677 MB / 0.8153 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.9713, allocations: 0.588 MB / 0.8159 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.9729, allocations: 480.4 kB / 0.8163 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006354/0.9792, allocations: 3.012 MB / 0.8193 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9793, allocations: 3.938 kB / 0.8193 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9793, allocations: 0 / 0.8193 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001511/0.9794, allocations: 4 kB / 0.8193 GB, free: 8.613 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007489/0.9869, allocations: 2.525 MB / 0.8217 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.987, allocations: 16.02 kB / 0.8218 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/0.9923, allocations: 0.7854 MB / 0.8225 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/0.998, allocations: 1.592 MB / 0.8241 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/0.9987, allocations: 174.6 kB / 0.8242 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009461/0.9997, allocations: 140 kB / 0.8244 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006913/1.007, allocations: 1.759 MB / 0.8261 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.967e-05/1.007, allocations: 7.938 kB / 0.8261 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/1.007, allocations: 59.94 kB / 0.8262 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.007, allocations: 51.42 kB / 0.8262 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/1.012, allocations: 1.591 MB / 0.8278 GB, free: 15.72 MB / 0.5919 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.01292/1.025, allocations: 7.601 MB / 0.8352 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/1.029, allocations: 1.757 MB / 0.8369 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/1.03, allocations: 0.6362 MB / 0.8375 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/1.032, allocations: 0.7148 MB / 0.8382 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001087/1.033, allocations: 135 kB / 0.8383 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 3.326e-06/1.033, allocations: 4 kB / 0.8383 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.004446/1.037, allocations: 1.762 MB / 0.8401 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/1.038, allocations: 329.4 kB / 0.8404 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/1.04, allocations: 1.639 MB / 0.842 GB, free: 156 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/1.04, allocations: 53.7 kB / 0.842 GB, free: 96 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009363/1.041, allocations: 0.9242 MB / 0.8429 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/1.041, allocations: 295.7 kB / 0.8432 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/1.041, allocations: 24 kB / 0.8432 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.041, allocations: 349.9 kB / 0.8436 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/1.043, allocations: 0.5605 MB / 0.8441 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.044, allocations: 0.8989 MB / 0.845 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/1.045, allocations: 0.7246 MB / 0.8457 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.045, allocations: 0 / 0.8457 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003332/1.049, allocations: 1.693 MB / 0.8474 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009375/1.05, allocations: 2.176 MB / 0.8495 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.05, allocations: 15.92 kB / 0.8495 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.05, allocations: 8 kB / 0.8495 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.051, allocations: 275.6 kB / 0.8498 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.687e-05/1.051, allocations: 19.92 kB / 0.8498 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/1.053, allocations: 191.7 kB / 0.85 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.053, allocations: 63.97 kB / 0.85 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.053, allocations: 4 kB / 0.85 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002925/1.056, allocations: 1.581 MB / 0.8516 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.056, allocations: 4 kB / 0.8516 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.056, allocations: 15.95 kB / 0.8516 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.057, allocations: 251.9 kB / 0.8518 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.057, allocations: 15.92 kB / 0.8519 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.059, allocations: 191.1 kB / 0.852 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.059, allocations: 59.98 kB / 0.8521 GB, free: 5.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 120 * 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.001157/1.06, allocations: 0.5397 MB / 0.8526 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/1.061, allocations: 185.7 kB / 0.8528 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/1.064, allocations: 1.27 MB / 0.854 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.064, allocations: 8 kB / 0.854 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.064, allocations: 8 kB / 0.8541 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002408/1.066, allocations: 1.332 MB / 0.8554 GB, free: 1.965 MB / 0.6075 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 postOpt removeSimpleEquations (simulation): time 0.006643/1.073, allocations: 3.202 MB / 0.8585 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.073, allocations: 0 / 0.8585 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/1.074, allocations: 211.8 kB / 0.8587 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/1.074, allocations: 44.83 kB / 0.8587 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/1.074, allocations: 23.98 kB / 0.8588 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/1.076, allocations: 1.433 MB / 0.8602 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.076, allocations: 0 / 0.8602 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/1.08, allocations: 1.931 MB / 0.862 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.081, allocations: 362.7 kB / 0.8624 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/1.082, allocations: 16 kB / 0.8624 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.084, allocations: 191.6 kB / 0.8626 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.084, allocations: 65.09 kB / 0.8626 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/1.084, allocations: 31.97 kB / 0.8627 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002389/1.086, allocations: 1.105 MB / 0.8638 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/1.086, allocations: 4 kB / 0.8638 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004431/1.091, allocations: 1.076 MB / 0.8648 GB, free: 7.938 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.heaCoo.T) * 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 (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/1.093, allocations: 0.6609 MB / 0.8655 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005529/1.098, allocations: 2.742 MB / 0.8681 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.098, allocations: 0 / 0.8681 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.1, allocations: 0.669 MB / 0.8688 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.105, allocations: 0.8149 MB / 0.8696 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/1.116, allocations: 4.474 MB / 0.8739 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/1.118, allocations: 1.534 MB / 0.8754 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002649/1.121, allocations: 418.2 kB / 0.8758 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/1.121, allocations: 131.4 kB / 0.876 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of SimCode: time 2.154e-06/1.121, allocations: 4 kB / 0.876 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of Templates: time 0.06536/1.187, allocations: 35.38 MB / 0.9105 GB, free: 9.512 MB / 0.67 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: