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.001323/0.001323, allocations: 99.28 kB / 16.27 MB, free: 6 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.001305/0.001305, allocations: 187 kB / 17.2 MB, free: 5.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.449/1.449, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.932/1.932, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001479/0.001479, allocations: 71.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2882, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8319/1.12, allocations: 236.1 MB / 1.015 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0308/1.151, allocations: 18.2 MB / 1.032 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00413/1.155, allocations: 91.44 kB / 1.032 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004797/1.16, allocations: 1.362 MB / 1.034 GB, free: 10.54 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01086/1.171, allocations: 3.397 MB / 1.037 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/1.182, allocations: 3.858 MB / 1.041 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008722/1.191, allocations: 4.989 MB / 1.046 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/1.194, allocations: 1.903 MB / 1.048 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006482/1.201, allocations: 2.678 MB / 1.05 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003549/1.204, allocations: 1.558 MB / 1.052 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005165/1.205, allocations: 200 kB / 1.052 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007604/1.212, allocations: 3.559 MB / 1.055 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/1.214, allocations: 0.7516 MB / 1.056 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/1.216, allocations: 1.205 MB / 1.057 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009672/1.225, allocations: 4.406 MB / 1.062 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.225, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/1.225, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.021e-05/1.225, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8575 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.006325/1.232, allocations: 2.863 MB / 1.064 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.232, allocations: 12.75 kB / 1.064 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004985/1.237, allocations: 0.7698 MB / 1.065 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/1.24, allocations: 1.657 MB / 1.067 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004093/1.241, allocations: 162.8 kB / 1.067 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/1.241, allocations: 140 kB / 1.067 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/1.244, allocations: 1.676 MB / 1.069 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/1.244, allocations: 4 kB / 1.069 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/1.245, allocations: 55.98 kB / 1.069 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/1.245, allocations: 54.39 kB / 1.069 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/1.248, allocations: 1.427 MB / 1.07 GB, free: 4.941 MB / 0.8575 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.01119/1.259, allocations: 7.754 MB / 1.078 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/1.262, allocations: 1.594 MB / 1.079 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/1.263, allocations: 0.507 MB / 1.08 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/1.264, allocations: 0.7709 MB / 1.081 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/1.266, allocations: 0.5512 MB / 1.081 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.564e-06/1.266, allocations: 0 / 1.081 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.004334/1.27, allocations: 1.571 MB / 1.083 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/1.27, allocations: 123.4 kB / 1.083 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/1.273, allocations: 1.588 MB / 1.084 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/1.273, allocations: 53.64 kB / 1.084 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009376/1.274, allocations: 0.9397 MB / 1.085 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/1.274, allocations: 295.8 kB / 1.086 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/1.274, allocations: 222.8 kB / 1.086 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.274, allocations: 341.9 kB / 1.086 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/1.276, allocations: 477.8 kB / 1.087 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/1.277, allocations: 0.8157 MB / 1.087 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/1.28, allocations: 1.26 MB / 1.089 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.28, allocations: 0 / 1.089 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003345/1.283, allocations: 1.468 MB / 1.09 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/1.283, allocations: 44.03 kB / 1.09 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.283, allocations: 12 kB / 1.09 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/1.283, allocations: 15.94 kB / 1.09 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.284, allocations: 275.6 kB / 1.09 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/1.284, allocations: 16.92 kB / 1.09 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.286, allocations: 155.7 kB / 1.091 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/1.286, allocations: 55.97 kB / 1.091 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001797/1.288, allocations: 0.8265 MB / 1.091 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001367/1.289, allocations: 0.8079 MB / 1.092 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00233/1.291, allocations: 1.217 MB / 1.093 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.61e-06/1.291, allocations: 8 kB / 1.093 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.003177/1.295, allocations: 1.442 MB / 1.095 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/1.295, allocations: 37.7 kB / 1.095 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.295, allocations: 8 kB / 1.095 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.295, allocations: 16 kB / 1.095 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.296, allocations: 268 kB / 1.095 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/1.296, allocations: 25.03 kB / 1.095 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.297, allocations: 133.9 kB / 1.095 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.297, allocations: 51.98 kB / 1.095 GB, free: 9.641 MB / 0.8887 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 (133): * Single equations (assignments): 129 * 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.0003666/1.298, allocations: 249.8 kB / 1.096 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/1.298, allocations: 181.8 kB / 1.096 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/1.301, allocations: 1.163 MB / 1.097 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.301, allocations: 8 kB / 1.097 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.301, allocations: 0 / 1.097 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002471/1.303, allocations: 1.234 MB / 1.098 GB, free: 6.707 MB / 0.8887 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.005674/1.309, allocations: 2.884 MB / 1.101 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.309, allocations: 3.938 kB / 1.101 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009905/1.31, allocations: 191.9 kB / 1.101 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/1.31, allocations: 48.81 kB / 1.101 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/1.31, allocations: 23.98 kB / 1.101 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/1.312, allocations: 1.528 MB / 1.103 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.312, allocations: 8 kB / 1.103 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/1.316, allocations: 1.775 MB / 1.104 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007693/1.317, allocations: 354.4 kB / 1.105 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/1.317, allocations: 23.98 kB / 1.105 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009823/1.318, allocations: 59.94 kB / 1.105 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.318, allocations: 64.52 kB / 1.105 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/1.318, allocations: 27.98 kB / 1.105 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001617/1.32, allocations: 1.069 MB / 1.106 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4e-07/1.32, allocations: 0 / 1.106 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002566/1.322, allocations: 0.9662 MB / 1.107 GB, free: 13.36 MB / 0.9044 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 (82): * Single equations (assignments): 79 * 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.001608/1.324, allocations: 0.6373 MB / 1.107 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004812/1.329, allocations: 2.001 MB / 1.109 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.329, allocations: 8.062 kB / 1.109 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/1.33, allocations: 0.606 MB / 1.11 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.334, allocations: 0.8454 MB / 1.111 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00882/1.343, allocations: 3.796 MB / 1.115 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.344, allocations: 1.495 MB / 1.116 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/1.345, allocations: 139.4 kB / 1.116 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of SimCode: time 1.322e-06/1.345, allocations: 4 kB / 1.116 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of Templates: time 0.515/1.86, allocations: 35.02 MB / 1.15 GB, free: 292.7 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (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)