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.00135/0.00135, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001553/0.001553, allocations: 192 kB / 17.2 MB, free: 5.598 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7594/0.7594, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3186, allocations: 77.92 MB / 0.5672 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5036/0.8223, allocations: 236.3 MB / 0.798 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02101/0.8433, allocations: 17.56 MB / 0.8151 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002998/0.8464, allocations: 90.03 kB / 0.8152 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008237/0.8546, allocations: 4.59 MB / 0.8197 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007783/0.8624, allocations: 3.451 MB / 0.8231 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00539/0.8678, allocations: 2.495 MB / 0.8255 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009634/0.8775, allocations: 7.758 MB / 0.8331 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.8806, allocations: 1.924 MB / 0.835 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006475/0.8871, allocations: 2.644 MB / 0.8375 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.8902, allocations: 1.607 MB / 0.8391 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003759/0.8906, allocations: 203.1 kB / 0.8393 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007071/0.8977, allocations: 3.589 MB / 0.8428 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009711/0.8987, allocations: 0.8822 MB / 0.8437 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.9005, allocations: 1.378 MB / 0.845 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008907/0.9094, allocations: 4.816 MB / 0.8497 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.9095, allocations: 0 / 0.8497 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9095, allocations: 7.281 kB / 0.8497 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.187e-05/0.9096, allocations: 0 / 0.8497 GB, free: 5.535 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00568/0.9153, allocations: 3.229 MB / 0.8529 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9153, allocations: 12.62 kB / 0.8529 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/0.9206, allocations: 0.8768 MB / 0.8537 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004355/0.925, allocations: 2.668 MB / 0.8564 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004126/0.9254, allocations: 168.6 kB / 0.8565 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.9256, allocations: 147.9 kB / 0.8567 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.9289, allocations: 1.682 MB / 0.8583 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.9289, allocations: 0 / 0.8583 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.9291, allocations: 55.94 kB / 0.8584 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.9292, allocations: 50.52 kB / 0.8584 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/0.9327, allocations: 1.465 MB / 0.8598 GB, free: 11.1 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.01241/0.9452, allocations: 8.175 MB / 0.8678 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.9481, allocations: 1.589 MB / 0.8694 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.9493, allocations: 0.5151 MB / 0.8699 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.9507, allocations: 0.7775 MB / 0.8706 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.952, allocations: 0.5353 MB / 0.8712 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/0.952, allocations: 6.25 kB / 0.8712 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.004421/0.9564, allocations: 1.628 MB / 0.8727 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.9565, allocations: 64.06 kB / 0.8728 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/0.9596, allocations: 2.14 MB / 0.8749 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/0.9598, allocations: 45.7 kB / 0.8749 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009613/0.9607, allocations: 1.055 MB / 0.876 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.9611, allocations: 300.8 kB / 0.8763 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/0.9616, allocations: 322.5 kB / 0.8766 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9617, allocations: 301.1 kB / 0.8769 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.9631, allocations: 0.6263 MB / 0.8775 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.9647, allocations: 1.014 MB / 0.8785 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/0.9675, allocations: 1.568 MB / 0.88 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.9675, allocations: 0 / 0.88 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003792/0.9713, allocations: 1.918 MB / 0.8819 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.9714, allocations: 39.88 kB / 0.8819 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.9714, allocations: 19.92 kB / 0.8819 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.9714, allocations: 20.75 kB / 0.8819 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.9727, allocations: 329.6 kB / 0.8823 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.9727, allocations: 21.16 kB / 0.8823 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.9743, allocations: 183 kB / 0.8824 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.9744, allocations: 63.98 kB / 0.8825 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002026/0.9765, allocations: 1.108 MB / 0.8836 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001593/0.9781, allocations: 1.015 MB / 0.8846 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00264/0.9807, allocations: 1.573 MB / 0.8861 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.618e-06/0.9807, allocations: 0 / 0.8861 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003483/0.9842, allocations: 1.909 MB / 0.888 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.9843, allocations: 45.84 kB / 0.888 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.9843, allocations: 11.98 kB / 0.888 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.9843, allocations: 19.94 kB / 0.8881 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9856, allocations: 325.6 kB / 0.8884 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.9856, allocations: 25.14 kB / 0.8884 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.987, allocations: 155.5 kB / 0.8885 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.9871, allocations: 59.98 kB / 0.8886 GB, free: 12.45 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 (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.0002983/0.9874, allocations: 264.5 kB / 0.8888 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.9877, allocations: 213.3 kB / 0.8891 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.9906, allocations: 1.183 MB / 0.8902 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.9906, allocations: 12 kB / 0.8902 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.9906, allocations: 4 kB / 0.8902 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002348/0.993, allocations: 1.245 MB / 0.8914 GB, free: 9.445 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.005788/0.9988, allocations: 3.122 MB / 0.8945 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.9988, allocations: 4 kB / 0.8945 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009929/0.9998, allocations: 183.9 kB / 0.8947 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/1, allocations: 48.83 kB / 0.8947 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/1, allocations: 23.98 kB / 0.8947 GB, free: 6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/1.001, allocations: 1.535 MB / 0.8962 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.001, allocations: 4.094 kB / 0.8962 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/1.005, allocations: 1.779 MB / 0.898 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007754/1.006, allocations: 398.1 kB / 0.8984 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/1.006, allocations: 23.94 kB / 0.8984 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.007, allocations: 73.2 kB / 0.8984 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.008, allocations: 60.52 kB / 0.8985 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/1.008, allocations: 35.98 kB / 0.8985 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002084/1.01, allocations: 1.425 MB / 0.8999 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.51e-07/1.01, allocations: 0 / 0.8999 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002616/1.012, allocations: 1.099 MB / 0.901 GB, free: 15.39 MB / 0.6544 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.001663/1.014, allocations: 0.7306 MB / 0.9017 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005103/1.019, allocations: 2.449 MB / 0.9041 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.019, allocations: 0 / 0.9041 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/1.021, allocations: 0.6108 MB / 0.9047 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/1.025, allocations: 1.023 MB / 0.9057 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/1.032, allocations: 4.241 MB / 0.9098 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.034, allocations: 1.672 MB / 0.9115 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002183/1.036, allocations: 0.5558 MB / 0.912 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/1.036, allocations: 163.4 kB / 0.9122 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/1.036, allocations: 0 / 0.9122 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of Templates: time 0.06377/1.1, allocations: 39 MB / 0.9503 GB, free: 13.79 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)