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.232/0.2339, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9035/1.137, allocations: 233.4 MB / 0.8176 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03859/1.176, allocations: 18.69 MB / 0.8358 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007449/1.184, allocations: 79.5 kB / 0.8359 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006148/1.19, allocations: 1.156 MB / 0.837 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/1.203, allocations: 3.191 MB / 0.8401 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01221/1.215, allocations: 3.358 MB / 0.8434 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01545/1.231, allocations: 6.666 MB / 0.8499 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004882/1.236, allocations: 1.642 MB / 0.8515 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/1.246, allocations: 2.444 MB / 0.8539 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006554/1.253, allocations: 1.706 MB / 0.8556 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/1.254, allocations: 115.9 kB / 0.8557 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/1.265, allocations: 3.644 MB / 0.8593 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001992/1.267, allocations: 0.6814 MB / 0.8599 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002899/1.27, allocations: 1.135 MB / 0.861 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01417/1.284, allocations: 4.639 MB / 0.8656 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/1.284, allocations: 8 kB / 0.8656 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.033e-05/1.284, allocations: 0 / 0.8656 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001982/1.284, allocations: 0 / 0.8656 GB, free: 3.367 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.009895/1.294, allocations: 2.972 MB / 0.8685 GB, free: 328 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.294, allocations: 8.031 kB / 0.8685 GB, free: 320 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/1.3, allocations: 0.7541 MB / 0.8692 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004665/1.305, allocations: 1.625 MB / 0.8708 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004376/1.305, allocations: 166.6 kB / 0.871 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/1.306, allocations: 144 kB / 0.8711 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004909/1.31, allocations: 1.727 MB / 0.8728 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/1.311, allocations: 0 / 0.8728 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/1.311, allocations: 56 kB / 0.8728 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.343e-05/1.311, allocations: 54.53 kB / 0.8729 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/1.315, allocations: 1.536 MB / 0.8744 GB, free: 10.13 MB / 0.6387 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.0141/1.329, allocations: 7.411 MB / 0.8816 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/1.332, allocations: 1.67 MB / 0.8833 GB, free: 376 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/1.333, allocations: 0.5118 MB / 0.8838 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.335, allocations: 0.6809 MB / 0.8844 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/1.336, allocations: 0.6796 MB / 0.8851 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001469/1.338, allocations: 135 kB / 0.8852 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 2.836e-06/1.338, allocations: 0 / 0.8852 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005107/1.343, allocations: 1.66 MB / 0.8868 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/1.343, allocations: 295.7 kB / 0.8871 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.346, allocations: 1.635 MB / 0.8887 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000238/1.346, allocations: 49.7 kB / 0.8888 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009724/1.347, allocations: 0.928 MB / 0.8897 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/1.347, allocations: 291.8 kB / 0.8899 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000437/1.348, allocations: 246.4 kB / 0.8902 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.348, allocations: 357.9 kB / 0.8905 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/1.349, allocations: 0.536 MB / 0.891 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/1.351, allocations: 0.8646 MB / 0.8919 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/1.353, allocations: 1.286 MB / 0.8931 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.353, allocations: 4 kB / 0.8932 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004035/1.357, allocations: 1.639 MB / 0.8948 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.357, allocations: 93.03 kB / 0.8948 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/1.357, allocations: 8 kB / 0.8948 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.357, allocations: 11.98 kB / 0.8949 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.359, allocations: 263.8 kB / 0.8951 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/1.359, allocations: 15.94 kB / 0.8951 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.361, allocations: 163.7 kB / 0.8953 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/1.361, allocations: 59.97 kB / 0.8953 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002129/1.363, allocations: 0.8926 MB / 0.8962 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00142/1.365, allocations: 0.8372 MB / 0.897 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002282/1.367, allocations: 1.216 MB / 0.8982 GB, free: 236 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.814e-06/1.367, allocations: 4 kB / 0.8982 GB, free: 232 kB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.003784/1.371, allocations: 1.58 MB / 0.8998 GB, free: 14.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/1.371, allocations: 83.38 kB / 0.8998 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.371, allocations: 8 kB / 0.8999 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.371, allocations: 8 kB / 0.8999 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/1.372, allocations: 251.8 kB / 0.9001 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/1.372, allocations: 19.88 kB / 0.9001 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/1.375, allocations: 175.6 kB / 0.9003 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.375, allocations: 51.98 kB / 0.9003 GB, free: 14.03 MB / 0.67 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.0005218/1.375, allocations: 253.1 kB / 0.9006 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/1.376, allocations: 189.6 kB / 0.9008 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003055/1.379, allocations: 1.196 MB / 0.9019 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.379, allocations: 8 kB / 0.9019 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.379, allocations: 3.984 kB / 0.9019 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002325/1.381, allocations: 1.277 MB / 0.9032 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006553/1.388, allocations: 3.047 MB / 0.9062 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.388, allocations: 0 / 0.9062 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.389, allocations: 195.8 kB / 0.9063 GB, free: 7.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/1.389, allocations: 44.83 kB / 0.9064 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/1.389, allocations: 23.98 kB / 0.9064 GB, free: 7.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/1.391, allocations: 1.429 MB / 0.9078 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.391, allocations: 3.984 kB / 0.9078 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/1.395, allocations: 1.831 MB / 0.9096 GB, free: 4.145 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009939/1.396, allocations: 354.6 kB / 0.9099 GB, free: 3.777 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/1.396, allocations: 20 kB / 0.91 GB, free: 3.758 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.397, allocations: 155.8 kB / 0.9101 GB, free: 3.605 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/1.397, allocations: 60.91 kB / 0.9102 GB, free: 3.547 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/1.398, allocations: 27.98 kB / 0.9102 GB, free: 3.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00182/1.399, allocations: 1.101 MB / 0.9113 GB, free: 2.395 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.399, allocations: 0 / 0.9113 GB, free: 2.395 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003692/1.403, allocations: 1.052 MB / 0.9123 GB, free: 1.34 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.002175/1.405, allocations: 0.6678 MB / 0.9129 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005057/1.41, allocations: 2.68 MB / 0.9156 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.41, allocations: 0 / 0.9156 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/1.412, allocations: 0.6301 MB / 0.9162 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/1.416, allocations: 0.8114 MB / 0.917 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/1.425, allocations: 4.451 MB / 0.9213 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.427, allocations: 1.491 MB / 0.9228 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00265/1.429, allocations: 422.1 kB / 0.9232 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/1.43, allocations: 131.4 kB / 0.9233 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of SimCode: time 2.575e-06/1.43, allocations: 0 / 0.9233 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of Templates: time 0.07268/1.502, allocations: 35.68 MB / 0.9581 GB, free: 2.785 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (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)