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.2448/0.2455, allocations: 82.22 MB / 0.5935 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8563/1.102, allocations: 214.8 MB / 0.8032 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03198/1.134, allocations: 16.97 MB / 0.8198 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005025/1.139, allocations: 65.97 kB / 0.8199 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004414/1.143, allocations: 0.8758 MB / 0.8207 GB, free: 9.105 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01073/1.154, allocations: 2.535 MB / 0.8232 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/1.165, allocations: 2.906 MB / 0.826 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009805/1.174, allocations: 5.679 MB / 0.8316 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/1.178, allocations: 1.389 MB / 0.8329 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006728/1.184, allocations: 2.163 MB / 0.835 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/1.189, allocations: 1.591 MB / 0.8366 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006008/1.189, allocations: 92 kB / 0.8367 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006882/1.196, allocations: 2.125 MB / 0.8388 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001266/1.198, allocations: 0.6384 MB / 0.8394 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/1.199, allocations: 468.5 kB / 0.8398 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006726/1.206, allocations: 3.235 MB / 0.843 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.206, allocations: 4 kB / 0.843 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.355e-06/1.206, allocations: 0 / 0.843 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.452e-05/1.206, allocations: 0 / 0.843 GB, free: 3.016 MB / 0.5919 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.006313/1.212, allocations: 2.591 MB / 0.8455 GB, free: 360 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.212, allocations: 12.03 kB / 0.8455 GB, free: 348 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/1.217, allocations: 0.7854 MB / 0.8463 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00412/1.221, allocations: 1.556 MB / 0.8478 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/1.222, allocations: 178.5 kB / 0.848 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/1.222, allocations: 140 kB / 0.8481 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/1.226, allocations: 1.779 MB / 0.8499 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/1.226, allocations: 4 kB / 0.8499 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/1.226, allocations: 56 kB / 0.8499 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/1.226, allocations: 54.55 kB / 0.85 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/1.23, allocations: 1.603 MB / 0.8515 GB, free: 10.06 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 preOpt removeSimpleEquations (simulation): time 0.01262/1.242, allocations: 7.525 MB / 0.8589 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/1.245, allocations: 1.756 MB / 0.8606 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/1.247, allocations: 0.5386 MB / 0.8611 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.248, allocations: 0.7277 MB / 0.8618 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/1.249, allocations: 0.7226 MB / 0.8625 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001113/1.251, allocations: 135 kB / 0.8627 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 3.186e-06/1.251, allocations: 4 kB / 0.8627 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.004735/1.255, allocations: 1.777 MB / 0.8644 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/1.255, allocations: 329.4 kB / 0.8647 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/1.258, allocations: 1.655 MB / 0.8663 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/1.258, allocations: 53.7 kB / 0.8664 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008811/1.259, allocations: 0.9242 MB / 0.8673 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/1.259, allocations: 287.8 kB / 0.8676 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/1.259, allocations: 24 kB / 0.8676 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.26, allocations: 353.9 kB / 0.8679 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/1.261, allocations: 0.541 MB / 0.8685 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/1.262, allocations: 0.8949 MB / 0.8693 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/1.264, allocations: 0.7051 MB / 0.87 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.264, allocations: 0 / 0.87 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003591/1.267, allocations: 1.67 MB / 0.8716 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002934/1.268, allocations: 319.2 kB / 0.872 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/1.268, allocations: 4 kB / 0.872 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/1.268, allocations: 12 kB / 0.872 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.269, allocations: 275.6 kB / 0.8722 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/1.269, allocations: 8 kB / 0.8722 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/1.271, allocations: 195.6 kB / 0.8724 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.271, allocations: 59.98 kB / 0.8725 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.271, allocations: 4 kB / 0.8725 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003055/1.274, allocations: 1.557 MB / 0.874 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.274, allocations: 8 kB / 0.874 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/1.274, allocations: 12 kB / 0.874 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.275, allocations: 251.9 kB / 0.8743 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.275, allocations: 15.92 kB / 0.8743 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/1.277, allocations: 175.7 kB / 0.8745 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.278, allocations: 55.98 kB / 0.8745 GB, free: 1.258 MB / 0.6231 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.001269/1.279, allocations: 0.5397 MB / 0.875 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/1.279, allocations: 181.7 kB / 0.8752 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/1.282, allocations: 1.286 MB / 0.8765 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.282, allocations: 8 kB / 0.8765 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/1.282, allocations: 8 kB / 0.8765 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00233/1.284, allocations: 1.348 MB / 0.8778 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006129/1.291, allocations: 3.153 MB / 0.8809 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/1.291, allocations: 0 / 0.8809 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.292, allocations: 215.8 kB / 0.8811 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/1.292, allocations: 44.83 kB / 0.8811 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/1.292, allocations: 23.98 kB / 0.8811 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/1.293, allocations: 1.429 MB / 0.8825 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.293, allocations: 3.953 kB / 0.8825 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/1.297, allocations: 1.929 MB / 0.8844 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000954/1.298, allocations: 362.6 kB / 0.8848 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.299, allocations: 27.94 kB / 0.8848 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.3, allocations: 179.8 kB / 0.885 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.3, allocations: 56.91 kB / 0.885 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/1.3, allocations: 31.92 kB / 0.8851 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001775/1.302, allocations: 1.113 MB / 0.8861 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/1.302, allocations: 0 / 0.8861 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003263/1.305, allocations: 1.072 MB / 0.8872 GB, free: 3.832 MB / 0.6387 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.00195/1.307, allocations: 0.6738 MB / 0.8878 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004948/1.312, allocations: 2.746 MB / 0.8905 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.312, allocations: 0 / 0.8905 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.314, allocations: 0.6612 MB / 0.8912 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/1.318, allocations: 0.8336 MB / 0.892 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009013/1.327, allocations: 4.494 MB / 0.8964 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.328, allocations: 1.495 MB / 0.8978 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002567/1.331, allocations: 414.2 kB / 0.8982 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/1.331, allocations: 135.4 kB / 0.8984 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of SimCode: time 1.392e-06/1.331, allocations: 3.938 kB / 0.8984 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of Templates: time 0.07182/1.403, allocations: 35.46 MB / 0.933 GB, free: 5.316 MB / 0.6856 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: