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.001215/0.001215, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001252/0.001252, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.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.6668/0.6668, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3044, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5134/0.8178, allocations: 236.3 MB / 0.7884 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.8391, allocations: 17.53 MB / 0.8055 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.8424, allocations: 91.03 kB / 0.8056 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008454/0.8509, allocations: 4.605 MB / 0.8101 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.8611, allocations: 3.443 MB / 0.8134 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.8671, allocations: 2.52 MB / 0.8159 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.8772, allocations: 7.758 MB / 0.8235 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.8802, allocations: 1.92 MB / 0.8253 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/0.8871, allocations: 2.651 MB / 0.8279 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.8905, allocations: 1.619 MB / 0.8295 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.8909, allocations: 204.8 kB / 0.8297 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006788/0.8977, allocations: 3.597 MB / 0.8332 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.8987, allocations: 0.8795 MB / 0.8341 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.9005, allocations: 1.374 MB / 0.8354 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007246/0.9077, allocations: 4.873 MB / 0.8402 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9078, allocations: 0 / 0.8402 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9078, allocations: 0 / 0.8402 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.872e-05/0.9078, allocations: 0 / 0.8402 GB, free: 10.49 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.005436/0.9133, allocations: 3.229 MB / 0.8433 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.9133, allocations: 12.03 kB / 0.8433 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005368/0.9187, allocations: 0.8736 MB / 0.8442 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.9237, allocations: 2.756 MB / 0.8469 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-05/0.9238, allocations: 106.6 kB / 0.847 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.9241, allocations: 139.9 kB / 0.8471 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.9271, allocations: 1.678 MB / 0.8488 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.9272, allocations: 0 / 0.8488 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.9273, allocations: 58.56 kB / 0.8488 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.9274, allocations: 50.52 kB / 0.8489 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/0.9306, allocations: 1.447 MB / 0.8503 GB, free: 0.9297 MB / 0.5919 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.01119/0.9418, allocations: 8.123 MB / 0.8582 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.9443, allocations: 1.548 MB / 0.8597 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.9454, allocations: 0.5167 MB / 0.8602 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.9467, allocations: 0.7705 MB / 0.861 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.9478, allocations: 0.5469 MB / 0.8615 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.266e-06/0.9479, allocations: 0 / 0.8615 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.004086/0.9519, allocations: 1.601 MB / 0.8631 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.952, allocations: 66.59 kB / 0.8631 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.9547, allocations: 2.132 MB / 0.8652 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.9549, allocations: 49.7 kB / 0.8653 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/0.9558, allocations: 1.061 MB / 0.8663 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.956, allocations: 298.4 kB / 0.8666 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/0.9565, allocations: 318.6 kB / 0.8669 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.9566, allocations: 305.1 kB / 0.8672 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.9579, allocations: 0.6196 MB / 0.8678 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.9593, allocations: 1.012 MB / 0.8688 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/0.9618, allocations: 1.547 MB / 0.8703 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.9619, allocations: 4 kB / 0.8703 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003555/0.9654, allocations: 1.902 MB / 0.8722 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.9655, allocations: 41.69 kB / 0.8722 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.9655, allocations: 8 kB / 0.8722 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.9655, allocations: 16 kB / 0.8722 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.9668, allocations: 322.3 kB / 0.8725 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.9668, allocations: 25.05 kB / 0.8726 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.9685, allocations: 174.6 kB / 0.8727 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.9686, allocations: 59.98 kB / 0.8728 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00199/0.9706, allocations: 1.108 MB / 0.8739 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001451/0.972, allocations: 1.008 MB / 0.8748 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002476/0.9745, allocations: 1.554 MB / 0.8764 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.315e-06/0.9745, allocations: 7.984 kB / 0.8764 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003526/0.9781, allocations: 1.894 MB / 0.8782 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.9781, allocations: 37.7 kB / 0.8783 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.9782, allocations: 12.09 kB / 0.8783 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9782, allocations: 16 kB / 0.8783 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.9794, allocations: 325.7 kB / 0.8786 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.9794, allocations: 25.25 kB / 0.8786 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.9811, allocations: 166.4 kB / 0.8788 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.9813, allocations: 63.92 kB / 0.8788 GB, free: 2.504 MB / 0.6231 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.000326/0.9816, allocations: 260.5 kB / 0.8791 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.9819, allocations: 213.3 kB / 0.8793 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.9846, allocations: 1.175 MB / 0.8804 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.9847, allocations: 15.94 kB / 0.8804 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9847, allocations: 0 / 0.8804 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002159/0.9868, allocations: 1.23 MB / 0.8816 GB, free: 15.53 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.006068/0.9929, allocations: 3.097 MB / 0.8847 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.993, allocations: 8.125 kB / 0.8847 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000955/0.9939, allocations: 187.5 kB / 0.8849 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.9941, allocations: 48.81 kB / 0.8849 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.9942, allocations: 26.52 kB / 0.8849 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.9954, allocations: 1.531 MB / 0.8864 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.9954, allocations: 3.938 kB / 0.8864 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003726/0.9992, allocations: 1.75 MB / 0.8881 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1, allocations: 402 kB / 0.8885 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/1.001, allocations: 23.98 kB / 0.8885 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.002, allocations: 67.94 kB / 0.8886 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.002, allocations: 59.11 kB / 0.8887 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/1.002, allocations: 27.98 kB / 0.8887 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002392/1.004, allocations: 1.425 MB / 0.8901 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.005, allocations: 0 / 0.8901 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003149/1.008, allocations: 1.107 MB / 0.8912 GB, free: 5.52 MB / 0.6387 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.002043/1.01, allocations: 0.7391 MB / 0.8919 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004932/1.015, allocations: 2.297 MB / 0.8941 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.015, allocations: 0 / 0.8941 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.016, allocations: 0.6104 MB / 0.8947 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/1.02, allocations: 1.014 MB / 0.8957 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/1.028, allocations: 4.178 MB / 0.8998 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/1.029, allocations: 1.672 MB / 0.9014 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001968/1.031, allocations: 0.5557 MB / 0.902 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/1.032, allocations: 163.4 kB / 0.9021 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/1.032, allocations: 0 / 0.9021 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.06064/1.092, allocations: 39 MB / 0.9402 GB, free: 4.113 MB / 0.6856 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)