Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001012, allocations: 178.9 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008372/0.0008374, allocations: 78.38 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 8.125 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.8206/1.046, allocations: 255.3 MB / 1.151 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03814/1.085, allocations: 19.99 MB / 1.17 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005981/1.091, allocations: 80.12 kB / 1.17 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005483/1.096, allocations: 1.285 MB / 1.172 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0138/1.11, allocations: 3.808 MB / 1.175 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01157/1.122, allocations: 3.411 MB / 1.179 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01196/1.134, allocations: 7.994 MB / 1.186 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003982/1.138, allocations: 1.802 MB / 1.188 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007094/1.145, allocations: 2.346 MB / 1.19 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/1.15, allocations: 1.814 MB / 1.192 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006772/1.151, allocations: 92.19 kB / 1.192 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/1.162, allocations: 4.573 MB / 1.197 GB, free: 136 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001677/1.163, allocations: 0.7461 MB / 1.198 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002992/1.166, allocations: 1.243 MB / 1.199 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007634/1.174, allocations: 3.825 MB / 1.202 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.174, allocations: 0 / 1.202 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.943e-06/1.174, allocations: 4 kB / 1.202 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.555e-05/1.174, allocations: 0 / 1.202 GB, free: 10.5 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.005621/1.18, allocations: 2.715 MB / 1.205 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.18, allocations: 8.031 kB / 1.205 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/1.185, allocations: 0.8099 MB / 1.206 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/1.188, allocations: 1.805 MB / 1.208 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/1.189, allocations: 190.9 kB / 1.208 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/1.189, allocations: 167.5 kB / 1.208 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/1.192, allocations: 1.894 MB / 1.21 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/1.193, allocations: 11.84 kB / 1.21 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/1.193, allocations: 63.94 kB / 1.21 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.736e-05/1.193, allocations: 58.92 kB / 1.21 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/1.196, allocations: 1.628 MB / 1.212 GB, free: 1.027 MB / 0.7292 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.01161/1.208, allocations: 8.372 MB / 1.22 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/1.21, allocations: 1.818 MB / 1.222 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/1.212, allocations: 0.6832 MB / 1.222 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005092/1.212, allocations: 249.4 kB / 1.222 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/1.214, allocations: 0.7117 MB / 1.223 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001081/1.215, allocations: 115.2 kB / 1.223 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=101): time 5.691e-06/1.215, allocations: 0 / 1.223 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=104): time 0.009045/1.224, allocations: 3.739 MB / 1.227 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/1.224, allocations: 145.5 kB / 1.227 GB, free: 360 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/1.226, allocations: 1.63 MB / 1.229 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/1.226, allocations: 57.53 kB / 1.229 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008888/1.227, allocations: 0.9714 MB / 1.23 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/1.228, allocations: 369.4 kB / 1.23 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/1.228, allocations: 24 kB / 1.23 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.228, allocations: 353.9 kB / 1.23 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.229, allocations: 0.5843 MB / 1.231 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/1.231, allocations: 0.9498 MB / 1.232 GB, free: 11.22 MB / 0.7605 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01534/1.246, allocations: 4.739 MB / 1.237 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.246, allocations: 0 / 1.237 GB, free: 6.352 MB / 0.7605 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00382/1.25, allocations: 1.799 MB / 1.238 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002508/1.25, allocations: 333.4 kB / 1.239 GB, free: 4.105 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/1.25, allocations: 15.98 kB / 1.239 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/1.25, allocations: 48.78 kB / 1.239 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.252, allocations: 303.6 kB / 1.239 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/1.253, allocations: 1.526 MB / 1.24 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.255, allocations: 188.4 kB / 1.241 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.255, allocations: 59.98 kB / 1.241 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/1.255, allocations: 4 kB / 1.241 GB, free: 1.832 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003065/1.258, allocations: 1.566 MB / 1.242 GB, free: 264 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.258, allocations: 8 kB / 1.242 GB, free: 256 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/1.259, allocations: 53.08 kB / 1.242 GB, free: 200 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.26, allocations: 307.6 kB / 1.243 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/1.261, allocations: 1.51 MB / 1.244 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/1.263, allocations: 192.4 kB / 1.244 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/1.264, allocations: 55.92 kB / 1.244 GB, free: 14.01 MB / 0.7761 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.T_start,$PRE.TSet.count,$whenCondition1,TSet.T_start,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001305/1.265, allocations: 0.6082 MB / 1.245 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/1.265, allocations: 189.7 kB / 1.245 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/1.268, allocations: 1.476 MB / 1.246 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.269, allocations: 8 kB / 1.246 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.269, allocations: 4 kB / 1.246 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/1.271, allocations: 1.219 MB / 1.248 GB, free: 10.47 MB / 0.7761 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.006803/1.278, allocations: 3.649 MB / 1.251 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.278, allocations: 0 / 1.251 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.279, allocations: 251.8 kB / 1.251 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/1.279, allocations: 77.67 kB / 1.252 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/1.279, allocations: 31.98 kB / 1.252 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.282, allocations: 2.764 MB / 1.254 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.282, allocations: 0 / 1.254 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/1.286, allocations: 2.263 MB / 1.256 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009577/1.287, allocations: 390.6 kB / 1.257 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.287, allocations: 27.98 kB / 1.257 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.289, allocations: 202.3 kB / 1.257 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.289, allocations: 68.84 kB / 1.257 GB, free: 348 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/1.289, allocations: 40.06 kB / 1.257 GB, free: 308 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001639/1.291, allocations: 1.106 MB / 1.258 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.41e-07/1.291, allocations: 3.938 kB / 1.258 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003011/1.294, allocations: 0.9733 MB / 1.259 GB, free: 14.2 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0009922/1.295, allocations: 404.2 kB / 1.26 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004912/1.3, allocations: 2.602 MB / 1.262 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.3, allocations: 0 / 1.262 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/1.301, allocations: 0.8624 MB / 1.263 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/1.306, allocations: 0.9873 MB / 1.264 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/1.315, allocations: 5.154 MB / 1.269 GB, free: 4.094 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.316, allocations: 1.587 MB / 1.271 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/1.317, allocations: 163.4 kB / 1.271 GB, free: 2.312 MB / 0.7917 GB Notification: Performance of SimCode: time 7.62e-07/1.317, allocations: 0 / 1.271 GB, free: 2.312 MB / 0.7917 GB Notification: Performance of Templates: time 0.06954/1.386, allocations: 48.22 MB / 1.318 GB, free: 2.238 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)