Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 110.4 kB / 17.09 MB, free: 5.789 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.001015/0.001015, allocations: 194.9 kB / 18.02 MB, free: 4.918 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.235/1.235, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6706/0.6706, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 66.8 kB / 0.5584 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 76.19 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.5604/0.6956, allocations: 260.8 MB / 0.8875 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02616/0.7218, allocations: 18.81 MB / 0.9058 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.7259, allocations: 95.5 kB / 0.9059 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006293/0.7322, allocations: 2.236 MB / 0.9081 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.7429, allocations: 4.172 MB / 0.9122 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006656/0.7496, allocations: 2.645 MB / 0.9148 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.7622, allocations: 8.816 MB / 0.9234 GB, free: 2.598 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003689/0.7659, allocations: 2.187 MB / 0.9255 GB, free: 376 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00603/0.7719, allocations: 2.787 MB / 0.9282 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.7758, allocations: 1.864 MB / 0.9301 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007227/0.7766, allocations: 248 kB / 0.9303 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008233/0.7848, allocations: 4.233 MB / 0.9344 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001585/0.7864, allocations: 1.009 MB / 0.9354 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002349/0.7888, allocations: 1.551 MB / 0.9369 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009849/0.7987, allocations: 5.609 MB / 0.9424 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7987, allocations: 7.938 kB / 0.9424 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7987, allocations: 0 / 0.9424 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.698e-05/0.7988, allocations: 4 kB / 0.9424 GB, free: 15.02 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 381 * Number of variables: 381 Notification: Performance of Generate backend data structure: time 0.006475/0.8053, allocations: 3.526 MB / 0.9459 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.8053, allocations: 8.031 kB / 0.9459 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.8109, allocations: 0.8979 MB / 0.9468 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005317/0.8163, allocations: 2.948 MB / 0.9496 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.8164, allocations: 127 kB / 0.9498 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.8167, allocations: 164 kB / 0.9499 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/0.8201, allocations: 1.843 MB / 0.9517 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.8201, allocations: 3.938 kB / 0.9517 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.8203, allocations: 63.98 kB / 0.9518 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/0.8203, allocations: 62.88 kB / 0.9518 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.8235, allocations: 1.58 MB / 0.9534 GB, free: 3.566 MB / 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 preOpt removeSimpleEquations (simulation): time 0.01154/0.8351, allocations: 8.726 MB / 0.9619 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.8377, allocations: 1.744 MB / 0.9636 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.8391, allocations: 0.6751 MB / 0.9643 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.8396, allocations: 231.1 kB / 0.9645 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.841, allocations: 0.6571 MB / 0.9651 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=99): time 3.136e-06/0.841, allocations: 0 / 0.9651 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.009343/0.8503, allocations: 3.722 MB / 0.9688 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.8504, allocations: 64.41 kB / 0.9688 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.8532, allocations: 2.135 MB / 0.9709 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.8534, allocations: 49.7 kB / 0.9709 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/0.8543, allocations: 1.102 MB / 0.972 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.8546, allocations: 366.8 kB / 0.9724 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004612/0.8551, allocations: 343.3 kB / 0.9727 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.8552, allocations: 301.1 kB / 0.973 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.8566, allocations: 0.7309 MB / 0.9737 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.8582, allocations: 1.111 MB / 0.9748 GB, free: 12.51 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01516/0.8734, allocations: 4.539 MB / 0.9792 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.8734, allocations: 0 / 0.9792 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004217/0.8776, allocations: 2.175 MB / 0.9813 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.8777, allocations: 41.69 kB / 0.9814 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.8777, allocations: 8 kB / 0.9814 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.8779, allocations: 45.62 kB / 0.9814 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.8793, allocations: 347.5 kB / 0.9818 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.8806, allocations: 1.682 MB / 0.9834 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.8826, allocations: 111.8 kB / 0.9835 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.8828, allocations: 63.98 kB / 0.9836 GB, free: 3.199 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002255/0.885, allocations: 1.258 MB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001583/0.8866, allocations: 1.114 MB / 0.9859 GB, free: 0.6836 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01483/0.9015, allocations: 4.523 MB / 0.9903 GB, free: 12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.588e-06/0.9015, allocations: 4 kB / 0.9903 GB, free: 12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004187/0.9057, allocations: 2.171 MB / 0.9924 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.9058, allocations: 33.7 kB / 0.9925 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.9058, allocations: 12 kB / 0.9925 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.9059, allocations: 48.83 kB / 0.9925 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.9073, allocations: 347.7 kB / 0.9929 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.9085, allocations: 1.681 MB / 0.9945 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.9105, allocations: 112 kB / 0.9946 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.9107, allocations: 63.98 kB / 0.9947 GB, free: 7.375 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (183): * Single equations (assignments): 178 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003959/0.9111, allocations: 279.8 kB / 0.9949 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.9115, allocations: 221.2 kB / 0.9951 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/0.9147, allocations: 1.436 MB / 0.9965 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002401/0.9171, allocations: 1.161 MB / 0.9977 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.9171, allocations: 7.938 kB / 0.9977 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009392/0.9181, allocations: 430 kB / 0.9981 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.9184, allocations: 24 kB / 0.9981 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.9196, allocations: 83.86 kB / 0.9982 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.9198, allocations: 68.89 kB / 0.9983 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003665/0.9235, allocations: 1.518 MB / 0.9997 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004056/0.9275, allocations: 2.175 MB / 1.002 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001129/0.9287, allocations: 0.5895 MB / 1.002 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002053/0.9308, allocations: 1.43 MB / 1.004 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of Backend: time 4.41e-07/0.9308, allocations: 4 kB / 1.004 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007622/0.9384, allocations: 3.474 MB / 1.007 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of SimCode: time 0.009879/0.9483, allocations: 5.568 MB / 1.013 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of Templates: time 0.3484/1.297, allocations: 58.09 MB / 1.069 GB, free: 307.9 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)