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.2638/0.2648, allocations: 82.21 MB / 0.5941 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7758/1.041, allocations: 230.2 MB / 0.8189 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03509/1.076, allocations: 18.45 MB / 0.8369 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004739/1.081, allocations: 75.56 kB / 0.837 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004982/1.086, allocations: 1.151 MB / 0.8381 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01208/1.098, allocations: 3.181 MB / 0.8412 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01124/1.109, allocations: 3.359 MB / 0.8445 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01092/1.12, allocations: 6.671 MB / 0.851 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003327/1.123, allocations: 1.585 MB / 0.8526 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007305/1.131, allocations: 2.385 MB / 0.8549 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004404/1.135, allocations: 1.628 MB / 0.8565 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004708/1.136, allocations: 91.94 kB / 0.8566 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008676/1.144, allocations: 3.617 MB / 0.8601 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/1.145, allocations: 0.6461 MB / 0.8607 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/1.148, allocations: 1.109 MB / 0.8618 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009689/1.157, allocations: 4.576 MB / 0.8663 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.157, allocations: 0 / 0.8663 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.514e-06/1.157, allocations: 0 / 0.8663 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.758e-05/1.157, allocations: 0 / 0.8663 GB, free: 11.34 MB / 0.6231 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.005682/1.163, allocations: 2.556 MB / 0.8688 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/1.163, allocations: 8.031 kB / 0.8688 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/1.168, allocations: 0.7854 MB / 0.8696 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/1.172, allocations: 1.629 MB / 0.8712 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/1.172, allocations: 178.6 kB / 0.8713 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/1.172, allocations: 144 kB / 0.8715 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/1.176, allocations: 1.751 MB / 0.8732 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/1.176, allocations: 0 / 0.8732 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/1.176, allocations: 63.98 kB / 0.8732 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/1.176, allocations: 54.52 kB / 0.8733 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/1.18, allocations: 1.583 MB / 0.8748 GB, free: 2.395 MB / 0.6231 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.01176/1.192, allocations: 7.454 MB / 0.8821 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/1.195, allocations: 1.736 MB / 0.8838 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/1.196, allocations: 0.5314 MB / 0.8843 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.198, allocations: 0.7239 MB / 0.885 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/1.199, allocations: 0.703 MB / 0.8857 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/1.2, allocations: 131.1 kB / 0.8859 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=84): time 2.995e-06/1.2, allocations: 0 / 0.8859 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.004577/1.205, allocations: 1.718 MB / 0.8875 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/1.205, allocations: 307.7 kB / 0.8878 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/1.208, allocations: 1.623 MB / 0.8894 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/1.208, allocations: 53.64 kB / 0.8895 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009752/1.209, allocations: 0.928 MB / 0.8904 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/1.209, allocations: 295.8 kB / 0.8906 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.21, allocations: 105.7 kB / 0.8907 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.21, allocations: 345.9 kB / 0.8911 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/1.211, allocations: 0.5488 MB / 0.8916 GB, free: 204 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/1.213, allocations: 0.8958 MB / 0.8925 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/1.215, allocations: 1.337 MB / 0.8938 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.215, allocations: 0 / 0.8938 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003835/1.219, allocations: 1.674 MB / 0.8954 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003424/1.22, allocations: 336.6 kB / 0.8957 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/1.22, allocations: 12 kB / 0.8958 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/1.22, allocations: 15.94 kB / 0.8958 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.221, allocations: 267.6 kB / 0.896 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/1.221, allocations: 15.94 kB / 0.896 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.223, allocations: 175.7 kB / 0.8962 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.223, allocations: 59.97 kB / 0.8963 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/1.223, allocations: 4 kB / 0.8963 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003103/1.226, allocations: 1.557 MB / 0.8978 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.226, allocations: 4 kB / 0.8978 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.226, allocations: 12 kB / 0.8978 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.227, allocations: 259.8 kB / 0.8981 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/1.227, allocations: 12 kB / 0.8981 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/1.229, allocations: 171.7 kB / 0.8982 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.229, allocations: 59.92 kB / 0.8983 GB, free: 9.008 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00112/1.23, allocations: 0.5436 MB / 0.8988 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/1.231, allocations: 177.8 kB / 0.899 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/1.234, allocations: 1.259 MB / 0.9002 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.234, allocations: 8 kB / 0.9002 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.234, allocations: 4 kB / 0.9002 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002529/1.237, allocations: 1.309 MB / 0.9015 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006818/1.244, allocations: 3.102 MB / 0.9045 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.244, allocations: 0 / 0.9045 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.245, allocations: 203.8 kB / 0.9047 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/1.245, allocations: 52.81 kB / 0.9048 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/1.246, allocations: 23.98 kB / 0.9048 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/1.247, allocations: 1.421 MB / 0.9062 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.247, allocations: 3.938 kB / 0.9062 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/1.252, allocations: 1.878 MB / 0.908 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.254, allocations: 362.6 kB / 0.9084 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005943/1.254, allocations: 19.94 kB / 0.9084 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.256, allocations: 179.7 kB / 0.9086 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.256, allocations: 52.92 kB / 0.9086 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/1.256, allocations: 27.98 kB / 0.9086 GB, free: 13.98 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002573/1.259, allocations: 1.101 MB / 0.9097 GB, free: 12.86 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.21e-07/1.259, allocations: 0 / 0.9097 GB, free: 12.86 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004446/1.263, allocations: 1.052 MB / 0.9107 GB, free: 11.8 MB / 0.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002288/1.266, allocations: 0.6779 MB / 0.9114 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005378/1.271, allocations: 2.735 MB / 0.9141 GB, free: 8.508 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.271, allocations: 4 kB / 0.9141 GB, free: 8.504 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/1.273, allocations: 0.6453 MB / 0.9147 GB, free: 7.844 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/1.277, allocations: 0.806 MB / 0.9155 GB, free: 7.051 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009869/1.287, allocations: 4.603 MB / 0.92 GB, free: 2.406 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.289, allocations: 1.491 MB / 0.9215 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002514/1.292, allocations: 426 kB / 0.9219 GB, free: 476 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/1.292, allocations: 127.4 kB / 0.922 GB, free: 348 kB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/1.292, allocations: 0 / 0.922 GB, free: 348 kB / 0.67 GB Notification: Performance of Templates: time 0.06632/1.358, allocations: 35.5 MB / 0.9566 GB, free: 13.2 MB / 0.7169 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: