Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009061/0.000906, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006405/0.006405, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005317, allocations: 15 kB / 0.6743 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2678, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9192/1.187, allocations: 230.7 MB / 1.013 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03253/1.22, allocations: 18.55 MB / 1.031 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005301/1.225, allocations: 74.91 kB / 1.031 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004994/1.23, allocations: 1.182 MB / 1.032 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/1.242, allocations: 3.172 MB / 1.036 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01099/1.253, allocations: 3.263 MB / 1.039 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01131/1.265, allocations: 6.567 MB / 1.045 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003797/1.268, allocations: 1.592 MB / 1.047 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00763/1.276, allocations: 2.353 MB / 1.049 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004607/1.281, allocations: 1.534 MB / 1.051 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009088/1.282, allocations: 78.53 kB / 1.051 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009486/1.291, allocations: 3.869 MB / 1.054 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00169/1.293, allocations: 0.6228 MB / 1.055 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003345/1.296, allocations: 1.085 MB / 1.056 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/1.308, allocations: 4.428 MB / 1.06 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.308, allocations: 3.938 kB / 1.06 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.195e-06/1.308, allocations: 0 / 1.06 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001477/1.308, allocations: 0 / 1.06 GB, free: 4.984 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.00648/1.315, allocations: 2.461 MB / 1.063 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.315, allocations: 12.03 kB / 1.063 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005553/1.321, allocations: 0.8128 MB / 1.064 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/1.325, allocations: 1.665 MB / 1.065 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004567/1.326, allocations: 174.8 kB / 1.065 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005878/1.326, allocations: 140 kB / 1.066 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/1.331, allocations: 1.702 MB / 1.067 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/1.331, allocations: 0 / 1.067 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/1.331, allocations: 56 kB / 1.067 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/1.331, allocations: 50.53 kB / 1.067 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/1.335, allocations: 1.485 MB / 1.069 GB, free: 12.23 MB / 0.7794 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.01275/1.348, allocations: 7.561 MB / 1.076 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/1.351, allocations: 1.665 MB / 1.078 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.352, allocations: 0.5315 MB / 1.078 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/1.354, allocations: 0.8142 MB / 1.079 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/1.355, allocations: 0.5712 MB / 1.08 GB, free: 252 kB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001073/1.356, allocations: 123.2 kB / 1.08 GB, free: 128 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=84): time 5.932e-06/1.357, allocations: 192 / 1.08 GB, free: 128 kB / 0.7794 GB Notification: Performance of matching and sorting (n=84): time 0.004672/1.361, allocations: 1.66 MB / 1.081 GB, free: 14.43 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/1.361, allocations: 115.8 kB / 1.081 GB, free: 14.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/1.364, allocations: 1.592 MB / 1.083 GB, free: 12.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/1.364, allocations: 49.7 kB / 1.083 GB, free: 12.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009753/1.365, allocations: 0.9282 MB / 1.084 GB, free: 11.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/1.366, allocations: 299.6 kB / 1.084 GB, free: 11.37 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.366, allocations: 105.6 kB / 1.084 GB, free: 11.26 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.366, allocations: 349.9 kB / 1.085 GB, free: 10.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/1.367, allocations: 482.3 kB / 1.085 GB, free: 10.44 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/1.369, allocations: 0.843 MB / 1.086 GB, free: 9.438 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/1.371, allocations: 1.292 MB / 1.087 GB, free: 8.02 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/1.371, allocations: 4 kB / 1.087 GB, free: 8.016 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00351/1.375, allocations: 1.516 MB / 1.089 GB, free: 6.484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003223/1.375, allocations: 383 kB / 1.089 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/1.375, allocations: 8 kB / 1.089 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.974e-05/1.375, allocations: 19.98 kB / 1.089 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.377, allocations: 275.6 kB / 1.089 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.511e-05/1.377, allocations: 27.92 kB / 1.089 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/1.378, allocations: 156.4 kB / 1.09 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.379, allocations: 51.98 kB / 1.09 GB, free: 5.453 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/1.379, allocations: 7.938 kB / 1.09 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002894/1.381, allocations: 1.309 MB / 1.091 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/1.382, allocations: 8.875 kB / 1.091 GB, free: 4.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.382, allocations: 16 kB / 1.091 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.383, allocations: 283.5 kB / 1.091 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/1.383, allocations: 20 kB / 1.091 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.384, allocations: 152.5 kB / 1.091 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.385, allocations: 55.94 kB / 1.091 GB, free: 3.609 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 2 * Algorithm blocks: 1 * 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.00111/1.386, allocations: 0.5468 MB / 1.092 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/1.386, allocations: 181.8 kB / 1.092 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/1.389, allocations: 1.208 MB / 1.093 GB, free: 1.648 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.389, allocations: 11.94 kB / 1.093 GB, free: 1.637 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.389, allocations: 0 / 1.093 GB, free: 1.637 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002477/1.392, allocations: 1.277 MB / 1.095 GB, free: 276 kB / 0.795 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.008007/1.4, allocations: 2.932 MB / 1.097 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.4, allocations: 4 kB / 1.097 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.401, allocations: 195.9 kB / 1.098 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002557/1.401, allocations: 48.81 kB / 1.098 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/1.401, allocations: 23.98 kB / 1.098 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/1.403, allocations: 1.425 MB / 1.099 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.403, allocations: 3.938 kB / 1.099 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/1.407, allocations: 1.835 MB / 1.101 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/1.408, allocations: 342.7 kB / 1.101 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/1.408, allocations: 24 kB / 1.101 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/1.41, allocations: 147.8 kB / 1.101 GB, free: 9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.41, allocations: 60.56 kB / 1.101 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/1.41, allocations: 31.98 kB / 1.101 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002361/1.413, allocations: 1.069 MB / 1.102 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.71e-07/1.413, allocations: 0 / 1.102 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00409/1.417, allocations: 1.005 MB / 1.103 GB, free: 6.809 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.outCon.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.001972/1.419, allocations: 0.6371 MB / 1.104 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004652/1.423, allocations: 1.95 MB / 1.106 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.423, allocations: 0 / 1.106 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.425, allocations: 0.6279 MB / 1.107 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/1.43, allocations: 0.8062 MB / 1.107 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00959/1.44, allocations: 4.548 MB / 1.112 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/1.441, allocations: 1.495 MB / 1.113 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00235/1.444, allocations: 454.6 kB / 1.114 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/1.444, allocations: 135.4 kB / 1.114 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/1.444, allocations: 0 / 1.114 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of Templates: time 0.05669/1.501, allocations: 31.71 MB / 1.145 GB, free: 12.88 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: