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.001838/0.001838, allocations: 102.8 kB / 16.27 MB, free: 5.984 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.001931/0.001931, allocations: 189.2 kB / 17.19 MB, free: 5.613 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8456/0.8456, allocations: 126.7 MB / 417.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001854, allocations: 63.89 kB / 0.4957 GB, free: 2.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3482, allocations: 78.86 MB / 0.5728 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5653/0.9136, allocations: 236.4 MB / 0.8036 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.9363, allocations: 17.54 MB / 0.8208 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.9398, allocations: 88.88 kB / 0.8208 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00848/0.9483, allocations: 4.653 MB / 0.8254 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007988/0.9563, allocations: 3.416 MB / 0.8287 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005492/0.9618, allocations: 2.501 MB / 0.8312 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009699/0.9715, allocations: 7.223 MB / 0.8382 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.9744, allocations: 1.901 MB / 0.8401 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005883/0.9803, allocations: 2.839 MB / 0.8428 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002948/0.9833, allocations: 1.57 MB / 0.8444 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.9837, allocations: 202.4 kB / 0.8446 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/0.9904, allocations: 3.575 MB / 0.8481 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.9915, allocations: 0.8698 MB / 0.8489 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.9934, allocations: 1.364 MB / 0.8502 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007988/1.001, allocations: 4.792 MB / 0.8549 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.001, allocations: 0 / 0.8549 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/1.001, allocations: 0 / 0.8549 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.201e-05/1.002, allocations: 4 kB / 0.8549 GB, free: 2.672 MB / 0.5919 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.005593/1.007, allocations: 3.206 MB / 0.8581 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.007, allocations: 8.031 kB / 0.8581 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005577/1.013, allocations: 0.8775 MB / 0.8589 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004697/1.017, allocations: 2.642 MB / 0.8615 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/1.018, allocations: 166.5 kB / 0.8617 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/1.018, allocations: 144 kB / 0.8618 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/1.022, allocations: 1.663 MB / 0.8634 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/1.022, allocations: 10.44 kB / 0.8634 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/1.022, allocations: 56 kB / 0.8635 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/1.022, allocations: 46.48 kB / 0.8635 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/1.026, allocations: 1.451 MB / 0.8649 GB, free: 8.312 MB / 0.6075 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.01175/1.038, allocations: 8.187 MB / 0.8729 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/1.041, allocations: 1.63 MB / 0.8745 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/1.042, allocations: 0.514 MB / 0.875 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/1.044, allocations: 0.7732 MB / 0.8758 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/1.045, allocations: 0.5417 MB / 0.8763 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/1.045, allocations: 4 kB / 0.8763 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.004756/1.05, allocations: 1.632 MB / 0.8779 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/1.05, allocations: 64.06 kB / 0.878 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/1.053, allocations: 2.123 MB / 0.8801 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.053, allocations: 45.7 kB / 0.8801 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009916/1.054, allocations: 1.049 MB / 0.8811 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000291/1.054, allocations: 286.4 kB / 0.8814 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004776/1.055, allocations: 318.6 kB / 0.8817 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.055, allocations: 301.1 kB / 0.882 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/1.056, allocations: 0.6299 MB / 0.8826 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/1.058, allocations: 1.016 MB / 0.8836 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/1.061, allocations: 1.563 MB / 0.8851 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.061, allocations: 0 / 0.8851 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004021/1.065, allocations: 1.916 MB / 0.887 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/1.065, allocations: 41.7 kB / 0.887 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.065, allocations: 8 kB / 0.887 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.065, allocations: 16 kB / 0.8871 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.067, allocations: 320.5 kB / 0.8874 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/1.067, allocations: 22.56 kB / 0.8874 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/1.068, allocations: 194.9 kB / 0.8876 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.068, allocations: 55.98 kB / 0.8876 GB, free: 72 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002226/1.071, allocations: 1.111 MB / 0.8887 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001768/1.072, allocations: 1.016 MB / 0.8897 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003003/1.075, allocations: 1.558 MB / 0.8912 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.687e-06/1.075, allocations: 11.98 kB / 0.8912 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.003982/1.079, allocations: 1.907 MB / 0.8931 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/1.079, allocations: 39.73 kB / 0.8931 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.079, allocations: 12 kB / 0.8931 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.079, allocations: 16 kB / 0.8932 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/1.081, allocations: 316.2 kB / 0.8935 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/1.081, allocations: 22.52 kB / 0.8935 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.082, allocations: 171 kB / 0.8936 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/1.083, allocations: 59.98 kB / 0.8937 GB, free: 9.648 MB / 0.6387 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 (162): * Single equations (assignments): 159 * 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.0003569/1.083, allocations: 267.3 kB / 0.894 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/1.083, allocations: 217.2 kB / 0.8942 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/1.086, allocations: 1.183 MB / 0.8953 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.086, allocations: 8 kB / 0.8953 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.086, allocations: 0 / 0.8953 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002625/1.089, allocations: 1.251 MB / 0.8965 GB, free: 6.648 MB / 0.6387 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.005885/1.095, allocations: 3.111 MB / 0.8996 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.095, allocations: 2.531 kB / 0.8996 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.096, allocations: 191.6 kB / 0.8998 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/1.096, allocations: 48.83 kB / 0.8998 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/1.096, allocations: 23.98 kB / 0.8998 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/1.098, allocations: 1.527 MB / 0.9013 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.098, allocations: 0 / 0.9013 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/1.102, allocations: 1.761 MB / 0.903 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006865/1.102, allocations: 386.3 kB / 0.9034 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.103, allocations: 23.98 kB / 0.9034 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.104, allocations: 79.83 kB / 0.9035 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.104, allocations: 64.5 kB / 0.9036 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/1.104, allocations: 27.98 kB / 0.9036 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002121/1.106, allocations: 1.413 MB / 0.905 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/1.106, allocations: 0 / 0.905 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002625/1.109, allocations: 1.099 MB / 0.9061 GB, free: 12.63 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.motSpe.y,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 (80): * Single equations (assignments): 77 * 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.002117/1.111, allocations: 0.7204 MB / 0.9068 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005424/1.116, allocations: 2.427 MB / 0.9091 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.116, allocations: 64 / 0.9091 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/1.118, allocations: 0.6149 MB / 0.9097 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.122, allocations: 1.023 MB / 0.9107 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008214/1.13, allocations: 4.226 MB / 0.9149 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/1.132, allocations: 1.648 MB / 0.9165 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002181/1.134, allocations: 0.5323 MB / 0.917 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/1.134, allocations: 163.4 kB / 0.9171 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/1.134, allocations: 0 / 0.9171 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of Templates: time 0.06823/1.203, allocations: 38.95 MB / 0.9552 GB, free: 11.17 MB / 0.7012 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)