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.001382/0.001382, allocations: 119.3 kB / 17.09 MB, free: 6.012 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.001455/0.001456, allocations: 195 kB / 18.02 MB, free: 5.094 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.367/1.367, 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.7417/0.7417, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.28 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.168, allocations: 76.18 MB / 0.6328 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6304/0.7984, allocations: 236.3 MB / 0.8636 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02706/0.8255, allocations: 17.54 MB / 0.8807 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004419/0.83, allocations: 91.5 kB / 0.8808 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006376/0.8364, allocations: 2.124 MB / 0.8828 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.8469, allocations: 3.573 MB / 0.8863 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007073/0.854, allocations: 2.579 MB / 0.8889 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.8665, allocations: 7.903 MB / 0.8966 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004009/0.8705, allocations: 1.93 MB / 0.8985 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006804/0.8774, allocations: 2.732 MB / 0.9011 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.8816, allocations: 1.632 MB / 0.9027 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009909/0.8826, allocations: 212 kB / 0.9029 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008133/0.8907, allocations: 3.602 MB / 0.9064 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.8924, allocations: 0.8919 MB / 0.9073 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.8956, allocations: 1.388 MB / 0.9087 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.9065, allocations: 4.908 MB / 0.9135 GB, free: 12.8 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.9065, allocations: 0 / 0.9135 GB, free: 12.8 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9065, allocations: 0 / 0.9135 GB, free: 12.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001614/0.9067, allocations: 4 kB / 0.9135 GB, free: 12.8 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.008806/0.9155, allocations: 3.253 MB / 0.9166 GB, free: 9.465 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.9156, allocations: 8.031 kB / 0.9166 GB, free: 9.457 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005918/0.9215, allocations: 0.8785 MB / 0.9175 GB, free: 8.574 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.9277, allocations: 2.799 MB / 0.9202 GB, free: 5.703 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.9278, allocations: 106.6 kB / 0.9203 GB, free: 5.598 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.9281, allocations: 140 kB / 0.9205 GB, free: 5.461 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/0.9314, allocations: 1.671 MB / 0.9221 GB, free: 3.711 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.9314, allocations: 4 kB / 0.9221 GB, free: 3.707 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.9316, allocations: 55.98 kB / 0.9222 GB, free: 3.652 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.9316, allocations: 58.52 kB / 0.9222 GB, free: 3.594 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.9349, allocations: 1.446 MB / 0.9236 GB, free: 2.141 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.01249/0.9474, allocations: 8.105 MB / 0.9315 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.95, allocations: 1.555 MB / 0.9331 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.9511, allocations: 0.522 MB / 0.9336 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.9524, allocations: 0.7669 MB / 0.9343 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.9536, allocations: 0.543 MB / 0.9349 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/0.9537, allocations: 0 / 0.9349 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.004264/0.9579, allocations: 1.606 MB / 0.9364 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.958, allocations: 64.06 kB / 0.9365 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.961, allocations: 2.16 MB / 0.9386 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.9611, allocations: 45.7 kB / 0.9386 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009536/0.9621, allocations: 1.058 MB / 0.9397 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.9624, allocations: 295.9 kB / 0.9399 GB, free: 456 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.9628, allocations: 314.5 kB / 0.9402 GB, free: 136 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9629, allocations: 305.1 kB / 0.9405 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.9642, allocations: 0.628 MB / 0.9412 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.9657, allocations: 1.014 MB / 0.9421 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.9682, allocations: 1.551 MB / 0.9437 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.9683, allocations: 0 / 0.9437 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003701/0.972, allocations: 1.91 MB / 0.9455 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.972, allocations: 37.69 kB / 0.9456 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.972, allocations: 11.94 kB / 0.9456 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.9721, allocations: 16 kB / 0.9456 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.9734, allocations: 327.8 kB / 0.9459 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.9734, allocations: 23.92 kB / 0.9459 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.9751, allocations: 178.6 kB / 0.9461 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.9752, allocations: 59.98 kB / 0.9461 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002109/0.9774, allocations: 1.105 MB / 0.9472 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001473/0.9788, allocations: 1.01 MB / 0.9482 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002508/0.9814, allocations: 1.554 MB / 0.9497 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.634e-06/0.9814, allocations: 4 kB / 0.9497 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003622/0.985, allocations: 1.896 MB / 0.9516 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.9851, allocations: 37.69 kB / 0.9516 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.9851, allocations: 12 kB / 0.9516 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.9851, allocations: 16.81 kB / 0.9517 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.9864, allocations: 323.5 kB / 0.952 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/0.9864, allocations: 23.92 kB / 0.952 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.9882, allocations: 159 kB / 0.9521 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.9883, allocations: 55.98 kB / 0.9522 GB, free: 3.277 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.0003976/0.9888, allocations: 263.8 kB / 0.9524 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005675/0.9893, allocations: 213.3 kB / 0.9526 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.9924, allocations: 1.188 MB / 0.9538 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.9924, allocations: 8 kB / 0.9538 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9924, allocations: 4 kB / 0.9538 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002275/0.9947, allocations: 1.227 MB / 0.955 GB, free: 276 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.007189/1.002, allocations: 3.116 MB / 0.9581 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.002, allocations: 4 kB / 0.9581 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009911/1.003, allocations: 188.1 kB / 0.9582 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/1.003, allocations: 40.83 kB / 0.9583 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/1.003, allocations: 31.92 kB / 0.9583 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/1.005, allocations: 1.531 MB / 0.9598 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.005, allocations: 0 / 0.9598 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003962/1.009, allocations: 1.755 MB / 0.9615 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.01, allocations: 406 kB / 0.9619 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/1.01, allocations: 20 kB / 0.9619 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.012, allocations: 75.83 kB / 0.962 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.012, allocations: 64.52 kB / 0.9621 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/1.012, allocations: 31.98 kB / 0.9621 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002921/1.015, allocations: 1.437 MB / 0.9635 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/1.015, allocations: 0 / 0.9635 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003725/1.019, allocations: 1.099 MB / 0.9646 GB, free: 6.176 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.002067/1.021, allocations: 0.7302 MB / 0.9653 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00493/1.026, allocations: 2.295 MB / 0.9675 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/1.026, allocations: 0 / 0.9675 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/1.027, allocations: 0.6122 MB / 0.9681 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005148/1.032, allocations: 1.022 MB / 0.9691 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00997/1.042, allocations: 4.311 MB / 0.9733 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/1.044, allocations: 1.656 MB / 0.9749 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008073/1.045, allocations: 167.4 kB / 0.9751 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/1.045, allocations: 4 kB / 0.9751 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.0592/1.104, allocations: 41.08 MB / 1.015 GB, free: 2.539 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)