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.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001277/0.001277, allocations: 192.4 kB / 16.25 MB, free: 6.582 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.48/1.48, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.668/1.668, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001408/0.001408, allocations: 69.19 kB / 0.671 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2575, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7765/1.034, allocations: 233.2 MB / 1.011 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03009/1.064, allocations: 18.18 MB / 1.028 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006594/1.071, allocations: 87.56 kB / 1.028 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005139/1.076, allocations: 1.218 MB / 1.03 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/1.088, allocations: 3.186 MB / 1.033 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01275/1.1, allocations: 3.527 MB / 1.036 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01084/1.111, allocations: 4.995 MB / 1.041 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003679/1.115, allocations: 1.892 MB / 1.043 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007284/1.122, allocations: 2.701 MB / 1.045 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004297/1.127, allocations: 1.668 MB / 1.047 GB, free: 264 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005922/1.127, allocations: 199.4 kB / 1.047 GB, free: 264 kB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008986/1.136, allocations: 3.674 MB / 1.051 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001435/1.138, allocations: 0.7625 MB / 1.052 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/1.14, allocations: 1.213 MB / 1.053 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01102/1.151, allocations: 4.586 MB / 1.057 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.151, allocations: 7.922 kB / 1.057 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.645e-06/1.151, allocations: 0 / 1.057 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.862e-05/1.151, allocations: 1.375 kB / 1.057 GB, free: 9.875 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.006836/1.158, allocations: 2.876 MB / 1.06 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.158, allocations: 12.03 kB / 1.06 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00493/1.163, allocations: 0.7736 MB / 1.061 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/1.167, allocations: 1.653 MB / 1.063 GB, free: 4.906 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/1.168, allocations: 166.8 kB / 1.063 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/1.168, allocations: 143.9 kB / 1.063 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/1.171, allocations: 1.682 MB / 1.064 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/1.171, allocations: 4 kB / 1.064 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/1.171, allocations: 56.88 kB / 1.064 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/1.171, allocations: 46.53 kB / 1.065 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/1.175, allocations: 1.45 MB / 1.066 GB, free: 1.281 MB / 0.7637 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.01151/1.186, allocations: 7.51 MB / 1.073 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/1.189, allocations: 1.611 MB / 1.075 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/1.19, allocations: 0.5159 MB / 1.075 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/1.191, allocations: 0.7751 MB / 1.076 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/1.192, allocations: 0.5715 MB / 1.077 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001088/1.194, allocations: 99.23 kB / 1.077 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=84): time 3.257e-06/1.194, allocations: 0 / 1.077 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of matching and sorting (n=84): time 0.004254/1.198, allocations: 1.609 MB / 1.078 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/1.198, allocations: 119.8 kB / 1.078 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.2, allocations: 1.592 MB / 1.08 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/1.2, allocations: 49.7 kB / 1.08 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008665/1.201, allocations: 0.9358 MB / 1.081 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.202, allocations: 295.8 kB / 1.081 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/1.202, allocations: 218.8 kB / 1.081 GB, free: 428 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.202, allocations: 357.9 kB / 1.082 GB, free: 64 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/1.203, allocations: 473.8 kB / 1.082 GB, free: 15.6 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/1.204, allocations: 0.8313 MB / 1.083 GB, free: 14.61 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/1.207, allocations: 1.264 MB / 1.084 GB, free: 13.21 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.207, allocations: 11.94 kB / 1.084 GB, free: 13.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003244/1.21, allocations: 1.489 MB / 1.086 GB, free: 11.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/1.21, allocations: 40.52 kB / 1.086 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.21, allocations: 8 kB / 1.086 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/1.21, allocations: 12 kB / 1.086 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.211, allocations: 280 kB / 1.086 GB, free: 11.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/1.211, allocations: 23.88 kB / 1.086 GB, free: 11.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.213, allocations: 158.4 kB / 1.086 GB, free: 11.19 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.213, allocations: 55.92 kB / 1.086 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001798/1.215, allocations: 0.8343 MB / 1.087 GB, free: 10.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001249/1.216, allocations: 0.8157 MB / 1.088 GB, free: 9.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002138/1.219, allocations: 1.237 MB / 1.089 GB, free: 7.961 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.903e-06/1.219, allocations: 4 kB / 1.089 GB, free: 7.957 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization_lambda0): time 0.002973/1.222, allocations: 1.461 MB / 1.091 GB, free: 6.484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/1.222, allocations: 37.7 kB / 1.091 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/1.222, allocations: 11.94 kB / 1.091 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.222, allocations: 23.92 kB / 1.091 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.223, allocations: 276.1 kB / 1.091 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.223, allocations: 15.94 kB / 1.091 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.224, allocations: 156.4 kB / 1.091 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/1.225, allocations: 55.98 kB / 1.091 GB, free: 5.914 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.000329/1.225, allocations: 255.1 kB / 1.091 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/1.225, allocations: 177.8 kB / 1.092 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/1.228, allocations: 1.189 MB / 1.093 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.228, allocations: 12 kB / 1.093 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.228, allocations: 0 / 1.093 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002167/1.23, allocations: 1.246 MB / 1.094 GB, free: 2.93 MB / 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.005824/1.236, allocations: 2.893 MB / 1.097 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.236, allocations: 0 / 1.097 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009866/1.237, allocations: 195.8 kB / 1.097 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/1.237, allocations: 48.81 kB / 1.097 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/1.237, allocations: 27.98 kB / 1.097 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/1.239, allocations: 1.535 MB / 1.099 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.239, allocations: 0 / 1.099 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/1.242, allocations: 1.813 MB / 1.1 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/1.243, allocations: 338.7 kB / 1.101 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/1.243, allocations: 20 kB / 1.101 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.245, allocations: 119.9 kB / 1.101 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.245, allocations: 72.84 kB / 1.101 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/1.245, allocations: 31.98 kB / 1.101 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001462/1.246, allocations: 1.066 MB / 1.102 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.246, allocations: 0 / 1.102 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002883/1.249, allocations: 1.001 MB / 1.103 GB, free: 9.449 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 (85): * Single equations (assignments): 82 * 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.001596/1.251, allocations: 0.6456 MB / 1.103 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00442/1.255, allocations: 2.042 MB / 1.105 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.255, allocations: 0.625 kB / 1.105 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.257, allocations: 0.6254 MB / 1.106 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/1.26, allocations: 0.8409 MB / 1.107 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009068/1.269, allocations: 4.552 MB / 1.111 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.27, allocations: 1.499 MB / 1.113 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002275/1.273, allocations: 454.7 kB / 1.113 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/1.273, allocations: 135.4 kB / 1.113 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of SimCode: time 8.02e-07/1.273, allocations: 0 / 1.113 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.06158/1.335, allocations: 32.81 MB / 1.145 GB, free: 14.33 MB / 0.8575 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)