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/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_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") [/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.2281/0.2289, allocations: 82.21 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.7512/0.9802, allocations: 254.3 MB / 0.8425 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03376/1.014, allocations: 19.26 MB / 0.8613 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005995/1.02, allocations: 83.5 kB / 0.8614 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005284/1.025, allocations: 1.271 MB / 0.8626 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01378/1.039, allocations: 3.747 MB / 0.8663 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/1.05, allocations: 3.529 MB / 0.8697 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01295/1.063, allocations: 8.082 MB / 0.8776 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004558/1.068, allocations: 1.778 MB / 0.8793 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006857/1.075, allocations: 2.319 MB / 0.8816 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006029/1.081, allocations: 1.846 MB / 0.8834 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/1.082, allocations: 100 kB / 0.8835 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/1.093, allocations: 4.302 MB / 0.8877 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001857/1.095, allocations: 0.7435 MB / 0.8884 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00395/1.099, allocations: 1.253 MB / 0.8896 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/1.113, allocations: 5.289 MB / 0.8948 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.113, allocations: 0 / 0.8948 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.435e-06/1.113, allocations: 0 / 0.8948 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001829/1.113, allocations: 0 / 0.8948 GB, free: 13.97 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.009519/1.123, allocations: 2.782 MB / 0.8975 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/1.123, allocations: 8.031 kB / 0.8975 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005819/1.129, allocations: 0.793 MB / 0.8983 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/1.133, allocations: 1.81 MB / 0.9001 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000476/1.134, allocations: 187 kB / 0.9003 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006034/1.135, allocations: 167.9 kB / 0.9004 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004382/1.139, allocations: 1.96 MB / 0.9023 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/1.139, allocations: 0 / 0.9023 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/1.139, allocations: 71.94 kB / 0.9024 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/1.139, allocations: 54.98 kB / 0.9025 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00368/1.143, allocations: 1.702 MB / 0.9041 GB, free: 4.242 MB / 0.6544 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.01226/1.155, allocations: 8.407 MB / 0.9123 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/1.158, allocations: 1.889 MB / 0.9142 GB, free: 9.164 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/1.16, allocations: 0.6746 MB / 0.9148 GB, free: 8.492 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/1.16, allocations: 150 kB / 0.915 GB, free: 8.328 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/1.162, allocations: 0.8194 MB / 0.9158 GB, free: 7.48 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001245/1.163, allocations: 123 kB / 0.9159 GB, free: 7.359 MB / 0.67 GB Notification: Performance of pre-optimization done (n=99): time 3.266e-06/1.163, allocations: 0 / 0.9159 GB, free: 7.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.009754/1.173, allocations: 4.097 MB / 0.9199 GB, free: 3.176 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/1.173, allocations: 295.7 kB / 0.9202 GB, free: 2.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/1.176, allocations: 1.633 MB / 0.9218 GB, free: 1.145 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/1.176, allocations: 53.7 kB / 0.9218 GB, free: 1.086 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008936/1.177, allocations: 0.979 MB / 0.9228 GB, free: 96 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/1.177, allocations: 366.7 kB / 0.9231 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/1.177, allocations: 117.6 kB / 0.9232 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.177, allocations: 361.9 kB / 0.9236 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/1.179, allocations: 0.6474 MB / 0.9242 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/1.18, allocations: 1.029 MB / 0.9252 GB, free: 13.44 MB / 0.6856 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01508/1.195, allocations: 4.472 MB / 0.9296 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.196, allocations: 11.88 kB / 0.9296 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004277/1.2, allocations: 1.961 MB / 0.9315 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002967/1.2, allocations: 338.4 kB / 0.9318 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/1.2, allocations: 8 kB / 0.9318 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/1.2, allocations: 44.83 kB / 0.9319 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.202, allocations: 303.6 kB / 0.9322 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/1.203, allocations: 1.51 MB / 0.9336 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/1.205, allocations: 203.7 kB / 0.9338 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.205, allocations: 63.97 kB / 0.9339 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/1.205, allocations: 4 kB / 0.9339 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003505/1.209, allocations: 1.829 MB / 0.9357 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/1.209, allocations: 15.92 kB / 0.9357 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001218/1.209, allocations: 45.09 kB / 0.9358 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.21, allocations: 287.6 kB / 0.936 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/1.212, allocations: 1.495 MB / 0.9375 GB, free: 348 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.214, allocations: 199.7 kB / 0.9377 GB, free: 148 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.214, allocations: 63.92 kB / 0.9377 GB, free: 84 kB / 0.6856 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: 26 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (146): * Single equations (assignments): 140 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001568/1.216, allocations: 0.603 MB / 0.9383 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000632/1.217, allocations: 193.6 kB / 0.9385 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/1.22, allocations: 1.479 MB / 0.94 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.22, allocations: 12 kB / 0.94 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.22, allocations: 4 kB / 0.94 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002727/1.223, allocations: 1.223 MB / 0.9412 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008134/1.231, allocations: 3.807 MB / 0.9449 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.231, allocations: 0 / 0.9449 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.232, allocations: 255.7 kB / 0.9451 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/1.233, allocations: 77.55 kB / 0.9452 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.233, allocations: 27.98 kB / 0.9452 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/1.235, allocations: 2.755 MB / 0.9479 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.235, allocations: 0 / 0.9479 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004817/1.24, allocations: 2.269 MB / 0.9501 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.241, allocations: 398.6 kB / 0.9505 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005798/1.242, allocations: 24 kB / 0.9505 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.244, allocations: 195.8 kB / 0.9507 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.244, allocations: 72.89 kB / 0.9508 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.244, allocations: 43.91 kB / 0.9508 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002447/1.247, allocations: 1.095 MB / 0.9519 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.31e-07/1.247, allocations: 0 / 0.9519 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004526/1.251, allocations: 1.019 MB / 0.9529 GB, free: 16 kB / 0.7012 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 (100): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001527/1.253, allocations: 436.3 kB / 0.9533 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007163/1.26, allocations: 3.377 MB / 0.9566 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.26, allocations: 0 / 0.9566 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/1.262, allocations: 0.8708 MB / 0.9575 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007154/1.269, allocations: 0.9931 MB / 0.9584 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.281, allocations: 5.102 MB / 0.9634 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/1.283, allocations: 1.602 MB / 0.965 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003243/1.286, allocations: 491.5 kB / 0.9654 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/1.287, allocations: 147.4 kB / 0.9656 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of SimCode: time 1.934e-06/1.287, allocations: 0 / 0.9656 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.4492/1.736, allocations: 41.52 MB / 1.006 GB, free: 262.6 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: