Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001448/0.001448, allocations: 105.8 kB / 16.4 MB, free: 6.023 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.001625/0.001625, allocations: 192.5 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7063/0.7063, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 76 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.559/0.691, allocations: 236.4 MB / 0.8629 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02869/0.7197, allocations: 17.53 MB / 0.88 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.7236, allocations: 87.5 kB / 0.8801 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005742/0.7294, allocations: 2.131 MB / 0.8822 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009385/0.7388, allocations: 3.578 MB / 0.8857 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.7451, allocations: 2.576 MB / 0.8882 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.7565, allocations: 7.892 MB / 0.8959 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.7594, allocations: 1.933 MB / 0.8978 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005736/0.7651, allocations: 2.728 MB / 0.9005 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.7682, allocations: 1.636 MB / 0.9021 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003999/0.7686, allocations: 208 kB / 0.9023 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006815/0.7754, allocations: 3.606 MB / 0.9058 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.7764, allocations: 0.8957 MB / 0.9067 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.7783, allocations: 1.384 MB / 0.908 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008646/0.7869, allocations: 4.908 MB / 0.9128 GB, free: 12.95 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.787, allocations: 4 kB / 0.9128 GB, free: 12.94 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.787, allocations: 0 / 0.9128 GB, free: 12.94 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.249e-05/0.787, allocations: 0 / 0.9128 GB, free: 12.94 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006284/0.7933, allocations: 3.245 MB / 0.916 GB, free: 9.621 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.7934, allocations: 12.03 kB / 0.916 GB, free: 9.609 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.7992, allocations: 0.8832 MB / 0.9168 GB, free: 8.723 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005694/0.8049, allocations: 2.791 MB / 0.9196 GB, free: 5.859 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.805, allocations: 110.6 kB / 0.9197 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.8053, allocations: 147.9 kB / 0.9198 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.8086, allocations: 1.664 MB / 0.9214 GB, free: 3.863 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.8086, allocations: 11.94 kB / 0.9215 GB, free: 3.852 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.8088, allocations: 52 kB / 0.9215 GB, free: 3.801 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/0.8089, allocations: 50.5 kB / 0.9216 GB, free: 3.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/0.8123, allocations: 1.442 MB / 0.923 GB, free: 2.301 MB / 0.67 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.0124/0.8247, allocations: 8.124 MB / 0.9309 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.8275, allocations: 1.559 MB / 0.9324 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.8286, allocations: 0.5142 MB / 0.9329 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.8299, allocations: 0.7708 MB / 0.9337 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.8311, allocations: 0.5468 MB / 0.9342 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.347e-06/0.8311, allocations: 0 / 0.9342 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.004424/0.8356, allocations: 1.602 MB / 0.9358 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.8356, allocations: 68 kB / 0.9358 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.8387, allocations: 2.156 MB / 0.9379 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.8388, allocations: 45.7 kB / 0.938 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/0.8397, allocations: 1.058 MB / 0.939 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.84, allocations: 287.9 kB / 0.9393 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.8405, allocations: 326.5 kB / 0.9396 GB, free: 276 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8406, allocations: 309.1 kB / 0.9399 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.8419, allocations: 0.6157 MB / 0.9405 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.8434, allocations: 1.011 MB / 0.9415 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/0.8459, allocations: 1.547 MB / 0.943 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.8459, allocations: 4 kB / 0.943 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003504/0.8494, allocations: 1.906 MB / 0.9449 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.8495, allocations: 37.7 kB / 0.9449 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.8495, allocations: 8 kB / 0.9449 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.8495, allocations: 19.94 kB / 0.9449 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.8508, allocations: 328.1 kB / 0.9452 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.8509, allocations: 19.94 kB / 0.9453 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.8524, allocations: 178.6 kB / 0.9454 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8525, allocations: 59.98 kB / 0.9455 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002021/0.8546, allocations: 1.112 MB / 0.9466 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001471/0.8561, allocations: 1.01 MB / 0.9476 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002608/0.8587, allocations: 1.55 MB / 0.9491 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.496e-06/0.8587, allocations: 4 kB / 0.9491 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.00374/0.8624, allocations: 1.901 MB / 0.9509 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.8625, allocations: 33.7 kB / 0.951 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.8625, allocations: 12.98 kB / 0.951 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.8626, allocations: 20 kB / 0.951 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.8639, allocations: 327.5 kB / 0.9513 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.8639, allocations: 19.94 kB / 0.9513 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.8657, allocations: 163 kB / 0.9515 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.8658, allocations: 63.98 kB / 0.9515 GB, free: 3.414 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (165): * Single equations (assignments): 162 * Array equations: 1 * 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.0003575/0.8662, allocations: 259.8 kB / 0.9518 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.8665, allocations: 209.3 kB / 0.952 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.8694, allocations: 1.185 MB / 0.9531 GB, free: 1.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.8694, allocations: 12 kB / 0.9532 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.8694, allocations: 0 / 0.9532 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002196/0.8716, allocations: 1.223 MB / 0.9544 GB, free: 432 kB / 0.7012 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.006022/0.8776, allocations: 3.117 MB / 0.9574 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.8777, allocations: 4.125 kB / 0.9574 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009857/0.8787, allocations: 195.7 kB / 0.9576 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002368/0.8789, allocations: 48.77 kB / 0.9576 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.879, allocations: 23.98 kB / 0.9577 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.8803, allocations: 1.531 MB / 0.9592 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8803, allocations: 0 / 0.9592 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.884, allocations: 1.759 MB / 0.9609 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008248/0.8848, allocations: 406 kB / 0.9613 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.885, allocations: 20 kB / 0.9613 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8862, allocations: 71.92 kB / 0.9613 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.8863, allocations: 56.58 kB / 0.9614 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-05/0.8864, allocations: 35.97 kB / 0.9614 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002094/0.8885, allocations: 1.433 MB / 0.9628 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8885, allocations: 0 / 0.9628 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002666/0.8912, allocations: 1.099 MB / 0.9639 GB, free: 6.328 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[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.001686/0.8929, allocations: 0.7294 MB / 0.9646 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004571/0.8975, allocations: 2.299 MB / 0.9669 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.8975, allocations: 0 / 0.9669 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.8988, allocations: 0.6162 MB / 0.9675 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/0.9028, allocations: 1.02 MB / 0.9685 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/0.9112, allocations: 4.176 MB / 0.9725 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.9125, allocations: 1.668 MB / 0.9742 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002154/0.9147, allocations: 0.5558 MB / 0.9747 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.9152, allocations: 163.4 kB / 0.9749 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.9152, allocations: 0 / 0.9749 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.06523/0.9804, allocations: 39.32 MB / 1.013 GB, free: 4.277 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)