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.001036/0.001036, allocations: 109.2 kB / 17.09 MB, free: 5.828 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.0009974/0.0009974, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.249/1.249, allocations: 222.9 MB / 241.7 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.6803/0.6803, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.36 kB / 0.5584 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1198, allocations: 76.18 MB / 0.6328 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5075/0.6273, allocations: 236.3 MB / 0.8636 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02516/0.6525, allocations: 17.53 MB / 0.8807 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.6557, allocations: 91.5 kB / 0.8808 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005633/0.6614, allocations: 2.122 MB / 0.8829 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009228/0.6706, allocations: 3.586 MB / 0.8864 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006621/0.6772, allocations: 2.577 MB / 0.8889 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01186/0.6891, allocations: 7.889 MB / 0.8966 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.6926, allocations: 1.933 MB / 0.8985 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005808/0.6984, allocations: 2.728 MB / 0.9011 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.7017, allocations: 1.642 MB / 0.9027 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006862/0.7024, allocations: 212 kB / 0.9029 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006699/0.7092, allocations: 3.602 MB / 0.9064 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.7104, allocations: 0.8958 MB / 0.9073 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00235/0.7127, allocations: 1.384 MB / 0.9087 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009004/0.7218, allocations: 4.915 MB / 0.9135 GB, free: 12.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.7218, allocations: 0 / 0.9135 GB, free: 12.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7218, allocations: 0 / 0.9135 GB, free: 12.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001205/0.7219, allocations: 4 kB / 0.9135 GB, free: 12.79 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.006482/0.7284, allocations: 3.241 MB / 0.9166 GB, free: 9.469 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7285, allocations: 8.031 kB / 0.9167 GB, free: 9.461 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005545/0.734, allocations: 0.8863 MB / 0.9175 GB, free: 8.57 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.7391, allocations: 2.794 MB / 0.9202 GB, free: 5.703 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.7393, allocations: 106.6 kB / 0.9203 GB, free: 5.598 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.7396, allocations: 140 kB / 0.9205 GB, free: 5.461 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.7432, allocations: 1.668 MB / 0.9221 GB, free: 3.715 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.7432, allocations: 8 kB / 0.9221 GB, free: 3.707 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.7434, allocations: 52 kB / 0.9222 GB, free: 3.656 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.7434, allocations: 50.52 kB / 0.9222 GB, free: 3.605 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003515/0.7469, allocations: 1.454 MB / 0.9236 GB, free: 2.145 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.01122/0.7582, allocations: 8.104 MB / 0.9315 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.7608, allocations: 1.559 MB / 0.9331 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.7619, allocations: 0.5181 MB / 0.9336 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.7632, allocations: 0.7669 MB / 0.9343 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.7644, allocations: 0.543 MB / 0.9349 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.537e-06/0.7644, allocations: 0 / 0.9349 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.004177/0.7686, allocations: 1.606 MB / 0.9364 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.7687, allocations: 64.05 kB / 0.9365 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.7719, allocations: 2.163 MB / 0.9386 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.772, allocations: 45.7 kB / 0.9386 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009775/0.773, allocations: 1.055 MB / 0.9397 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.7733, allocations: 291.9 kB / 0.94 GB, free: 464 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/0.7738, allocations: 322.5 kB / 0.9403 GB, free: 136 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.774, allocations: 309 kB / 0.9406 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.7753, allocations: 0.6196 MB / 0.9412 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.7769, allocations: 1.007 MB / 0.9421 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.7796, allocations: 1.555 MB / 0.9437 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.7796, allocations: 4 kB / 0.9437 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003749/0.7834, allocations: 1.906 MB / 0.9455 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.7834, allocations: 41.73 kB / 0.9456 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.7834, allocations: 11.98 kB / 0.9456 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.7835, allocations: 16 kB / 0.9456 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.7848, allocations: 327.5 kB / 0.9459 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.992e-05/0.7848, allocations: 23.92 kB / 0.9459 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.7864, allocations: 182.6 kB / 0.9461 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.7865, allocations: 55.98 kB / 0.9462 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002013/0.7886, allocations: 1.108 MB / 0.9472 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001579/0.7902, allocations: 1.007 MB / 0.9482 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002608/0.7928, allocations: 1.562 MB / 0.9497 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.307e-06/0.7928, allocations: 4 kB / 0.9497 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003671/0.7965, allocations: 1.9 MB / 0.9516 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.7965, allocations: 33.7 kB / 0.9516 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.7965, allocations: 12 kB / 0.9516 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7966, allocations: 16 kB / 0.9517 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.7978, allocations: 324 kB / 0.952 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/0.7978, allocations: 23.92 kB / 0.952 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.7995, allocations: 159 kB / 0.9521 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.7996, allocations: 56 kB / 0.9522 GB, free: 3.273 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.0003203/0.7999, allocations: 263.8 kB / 0.9525 GB, free: 3.008 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/0.8004, allocations: 217.3 kB / 0.9527 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.8032, allocations: 1.169 MB / 0.9538 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002264/0.8055, allocations: 1.234 MB / 0.955 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.8055, allocations: 4 kB / 0.955 GB, free: 288 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/0.8063, allocations: 402 kB / 0.9554 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/0.8067, allocations: 16 kB / 0.9554 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.8079, allocations: 71.92 kB / 0.9555 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.8081, allocations: 60.86 kB / 0.9555 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003149/0.8113, allocations: 1.193 MB / 0.9567 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003671/0.8149, allocations: 1.824 MB / 0.9585 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001018/0.816, allocations: 479.7 kB / 0.9589 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002546/0.8185, allocations: 1.445 MB / 0.9603 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of Backend: time 5.21e-07/0.8185, allocations: 0 / 0.9603 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007851/0.8264, allocations: 3.113 MB / 0.9634 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of SimCode: time 0.009575/0.836, allocations: 5.094 MB / 0.9684 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.0789/0.9149, allocations: 50.67 MB / 1.018 GB, free: 420 kB / 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)