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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 88.17 kB / 20.21 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 165.2 kB / 23.53 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.693/1.693, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.027/1.027, allocations: 115 MB / 375.3 MB, free: 7.57 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 2.469 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.622e-05, allocations: 2.312 kB / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5828/0.5828, allocations: 235.2 MB / 0.6992 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02695/0.6097, allocations: 18.83 MB / 0.7176 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/0.6132, allocations: 132.1 kB / 0.7177 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005865/0.6191, allocations: 2.13 MB / 0.7198 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.6294, allocations: 3.869 MB / 0.7236 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0076/0.637, allocations: 3.06 MB / 0.7266 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01241/0.6494, allocations: 8.861 MB / 0.7352 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.6525, allocations: 1.562 MB / 0.7367 GB, free: 24.95 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009319/0.6618, allocations: 4.102 MB / 0.7407 GB, free: 23.37 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003607/0.6654, allocations: 1.49 MB / 0.7422 GB, free: 22.71 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006016/0.666, allocations: 200 kB / 0.7424 GB, free: 22.71 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005827/0.6719, allocations: 2.719 MB / 0.745 GB, free: 21.59 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009346/0.6728, allocations: 0.9526 MB / 0.746 GB, free: 20.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.6742, allocations: 0.9071 MB / 0.7469 GB, free: 20.54 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.007419/0.6816, allocations: 4.714 MB / 0.7515 GB, free: 17.77 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.6817, allocations: 7.375 kB / 0.7515 GB, free: 17.76 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6817, allocations: 0 / 0.7515 GB, free: 17.76 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.284e-05/0.6817, allocations: 0 / 0.7515 GB, free: 17.76 MB / 0.573 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.006038/0.6878, allocations: 3.607 MB / 0.755 GB, free: 15.14 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6878, allocations: 12.5 kB / 0.755 GB, free: 15.13 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.7014, allocations: 2.118 MB / 0.7571 GB, free: 14.27 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/0.7072, allocations: 2.579 MB / 0.7596 GB, free: 12.67 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.7073, allocations: 111.2 kB / 0.7597 GB, free: 12.62 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.7076, allocations: 157.5 kB / 0.7598 GB, free: 12.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005879/0.7135, allocations: 2.307 MB / 0.7621 GB, free: 11.12 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.7135, allocations: 0 / 0.7621 GB, free: 11.12 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.7137, allocations: 61.88 kB / 0.7622 GB, free: 11.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.7138, allocations: 49.84 kB / 0.7622 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007235/0.721, allocations: 2.116 MB / 0.7643 GB, free: 10.23 MB / 0.573 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.02034/0.7413, allocations: 9.094 MB / 0.7732 GB, free: 3.438 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/0.7458, allocations: 1.394 MB / 0.7745 GB, free: 2.832 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/0.7489, allocations: 0.9229 MB / 0.7754 GB, free: 2.473 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/0.7494, allocations: 90.2 kB / 0.7755 GB, free: 2.434 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003739/0.7531, allocations: 1.194 MB / 0.7767 GB, free: 1.25 MB / 0.573 GB Notification: Performance of pre-optimization done (n=80): time 3.536e-06/0.7531, allocations: 4 kB / 0.7767 GB, free: 1.246 MB / 0.573 GB Notification: Performance of matching and sorting (n=80): time 0.01129/0.7644, allocations: 2.788 MB / 0.7794 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.7645, allocations: 68.05 kB / 0.7795 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/0.769, allocations: 2.492 MB / 0.7819 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.7692, allocations: 49.7 kB / 0.7819 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001675/0.7709, allocations: 1.377 MB / 0.7833 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/0.7713, allocations: 314.9 kB / 0.7836 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006031/0.7719, allocations: 294 kB / 0.7839 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003683/0.7723, allocations: 0.5589 MB / 0.7844 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.7757, allocations: 0.899 MB / 0.7853 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004439/0.7801, allocations: 1.785 MB / 0.787 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006582/0.7867, allocations: 2.133 MB / 0.7891 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.7867, allocations: 4 kB / 0.7891 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008218/0.7949, allocations: 2.382 MB / 0.7914 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/0.795, allocations: 37.7 kB / 0.7915 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.795, allocations: 12 kB / 0.7915 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.971e-05/0.795, allocations: 22.53 kB / 0.7915 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.7976, allocations: 472.8 kB / 0.792 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-05/0.7977, allocations: 27.95 kB / 0.792 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/0.8009, allocations: 319 kB / 0.7923 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.8011, allocations: 67.97 kB / 0.7924 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004265/0.8054, allocations: 1.194 MB / 0.7935 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004334/0.8097, allocations: 1.784 MB / 0.7953 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006713/0.8165, allocations: 2.135 MB / 0.7974 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.585e-05/0.8165, allocations: 4 kB / 0.7974 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.00826/0.8247, allocations: 2.374 MB / 0.7997 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.8248, allocations: 41.64 kB / 0.7997 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.8248, allocations: 12 kB / 0.7997 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.8248, allocations: 23.98 kB / 0.7998 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/0.8275, allocations: 465 kB / 0.8002 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.503e-05/0.8275, allocations: 25.06 kB / 0.8002 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.8307, allocations: 306.1 kB / 0.8005 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/0.831, allocations: 67.97 kB / 0.8006 GB, free: 7.812 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (146): * Single equations (assignments): 144 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0005177/0.8315, allocations: 352.2 kB / 0.8009 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007549/0.8323, allocations: 258.5 kB / 0.8012 GB, free: 7.227 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00754/0.8398, allocations: 1.995 MB / 0.8031 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.8398, allocations: 8 kB / 0.8031 GB, free: 5.207 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.8398, allocations: 7.938 kB / 0.8031 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009983/0.8498, allocations: 1.984 MB / 0.8051 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/0.8671, allocations: 4.425 MB / 0.8094 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.8672, allocations: 0 / 0.8094 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/0.8695, allocations: 357.2 kB / 0.8097 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.8698, allocations: 51.66 kB / 0.8098 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.8699, allocations: 27.97 kB / 0.8098 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.8717, allocations: 1.871 MB / 0.8116 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.8717, allocations: 4 kB / 0.8116 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.8825, allocations: 3.19 MB / 0.8147 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.8838, allocations: 378.1 kB / 0.8151 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.8841, allocations: 20 kB / 0.8151 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.8864, allocations: 223.8 kB / 0.8153 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.8865, allocations: 71 kB / 0.8154 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.8867, allocations: 35.97 kB / 0.8154 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002372/0.889, allocations: 1.361 MB / 0.8168 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.889, allocations: 0 / 0.8168 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003028/0.8921, allocations: 1.041 MB / 0.8178 GB, free: 5.848 MB / 0.6198 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.002885/0.8949, allocations: 0.5502 MB / 0.8183 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01097/0.9059, allocations: 3.336 MB / 0.8216 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.9059, allocations: 0 / 0.8216 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003779/0.9097, allocations: 1.139 MB / 0.8227 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/0.915, allocations: 1.192 MB / 0.8239 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.926, allocations: 4.427 MB / 0.8282 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.9274, allocations: 1.057 MB / 0.8292 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002499/0.9299, allocations: 0.5299 MB / 0.8297 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006809/0.9306, allocations: 188.4 kB / 0.8299 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of SimCode: time 1.403e-06/0.9306, allocations: 4 kB / 0.8299 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of Templates: time 0.07943/1.01, allocations: 44.35 MB / 0.8732 GB, free: 14.32 MB / 0.6823 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.86144821497146]