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.001089/0.001089, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001234/0.001234, allocations: 192 kB / 17.34 MB, free: 5.727 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.318/1.318, allocations: 222.9 MB / 241 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.7907/0.7907, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.53 kB / 0.5685 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1357, allocations: 77.94 MB / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5725/0.7081, allocations: 236.3 MB / 0.8754 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02958/0.7378, allocations: 17.54 MB / 0.8925 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003573/0.7414, allocations: 91.5 kB / 0.8926 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006324/0.7478, allocations: 2.12 MB / 0.8947 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.7581, allocations: 3.591 MB / 0.8982 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006563/0.7647, allocations: 2.571 MB / 0.9007 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.7766, allocations: 7.899 MB / 0.9084 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.7798, allocations: 1.933 MB / 0.9103 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005619/0.7854, allocations: 2.681 MB / 0.9129 GB, free: 8.691 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003081/0.7886, allocations: 1.627 MB / 0.9145 GB, free: 7.062 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005819/0.7891, allocations: 219.9 kB / 0.9147 GB, free: 6.848 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008909/0.7981, allocations: 3.606 MB / 0.9182 GB, free: 3.234 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.7997, allocations: 0.888 MB / 0.9191 GB, free: 2.344 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002528/0.8022, allocations: 1.384 MB / 0.9205 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.8125, allocations: 4.932 MB / 0.9253 GB, free: 12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.8126, allocations: 4 kB / 0.9253 GB, free: 12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8126, allocations: 0 / 0.9253 GB, free: 12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.193e-05/0.8127, allocations: 0 / 0.9253 GB, free: 12 MB / 0.6856 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.006062/0.8187, allocations: 3.347 MB / 0.9285 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.8188, allocations: 8.625 kB / 0.9285 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005519/0.8243, allocations: 0.8919 MB / 0.9294 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00562/0.83, allocations: 2.816 MB / 0.9322 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.8301, allocations: 110.6 kB / 0.9323 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.8304, allocations: 140 kB / 0.9324 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.8339, allocations: 1.673 MB / 0.934 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.8339, allocations: 7.953 kB / 0.934 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.8341, allocations: 56 kB / 0.9341 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.455e-05/0.8342, allocations: 50.45 kB / 0.9342 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.8376, allocations: 1.45 MB / 0.9356 GB, free: 1.215 MB / 0.6856 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.8501, allocations: 8.125 MB / 0.9435 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.8529, allocations: 1.56 MB / 0.945 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.8541, allocations: 0.5181 MB / 0.9455 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.8554, allocations: 0.7708 MB / 0.9463 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.8567, allocations: 0.5391 MB / 0.9468 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.945e-06/0.8567, allocations: 0 / 0.9468 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.004372/0.8611, allocations: 1.615 MB / 0.9484 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.8611, allocations: 64.06 kB / 0.9484 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.8643, allocations: 2.156 MB / 0.9506 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.8645, allocations: 57.62 kB / 0.9506 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.8655, allocations: 1.072 MB / 0.9517 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.8659, allocations: 309.4 kB / 0.952 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004791/0.8664, allocations: 322.7 kB / 0.9523 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.8665, allocations: 305.1 kB / 0.9525 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.8678, allocations: 0.6196 MB / 0.9532 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.8695, allocations: 1.007 MB / 0.9541 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.8722, allocations: 1.551 MB / 0.9557 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.8722, allocations: 4 kB / 0.9557 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003936/0.8761, allocations: 1.907 MB / 0.9575 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.8762, allocations: 45.72 kB / 0.9576 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.8762, allocations: 8.094 kB / 0.9576 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/0.8763, allocations: 19.94 kB / 0.9576 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.8776, allocations: 323.5 kB / 0.9579 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/0.8776, allocations: 25.48 kB / 0.9579 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.8795, allocations: 186.9 kB / 0.9581 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.8796, allocations: 63.98 kB / 0.9582 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002202/0.8819, allocations: 1.104 MB / 0.9592 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001504/0.8834, allocations: 1.018 MB / 0.9602 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002593/0.886, allocations: 1.561 MB / 0.9618 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.682e-06/0.886, allocations: 4 kB / 0.9618 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003696/0.8897, allocations: 1.905 MB / 0.9636 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.8898, allocations: 45.69 kB / 0.9637 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.8898, allocations: 8 kB / 0.9637 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8898, allocations: 16 kB / 0.9637 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.8911, allocations: 324 kB / 0.964 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.8911, allocations: 23.92 kB / 0.964 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.8928, allocations: 155.3 kB / 0.9642 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.8929, allocations: 59.98 kB / 0.9642 GB, free: 2.266 MB / 0.7169 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.0003615/0.8933, allocations: 263.8 kB / 0.9645 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/0.8937, allocations: 226.5 kB / 0.9647 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/0.8966, allocations: 1.188 MB / 0.9659 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.8966, allocations: 8 kB / 0.9659 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8966, allocations: 0 / 0.9659 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002247/0.8989, allocations: 1.231 MB / 0.9671 GB, free: 15.24 MB / 0.7325 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.006096/0.905, allocations: 3.113 MB / 0.9701 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.905, allocations: 0 / 0.9701 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/0.906, allocations: 183.9 kB / 0.9703 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.9062, allocations: 44.83 kB / 0.9703 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.9063, allocations: 27.92 kB / 0.9703 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.9076, allocations: 1.531 MB / 0.9718 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9076, allocations: 7.969 kB / 0.9719 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.9113, allocations: 1.768 MB / 0.9736 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/0.9122, allocations: 415.3 kB / 0.974 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.9125, allocations: 20 kB / 0.974 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.9136, allocations: 67.94 kB / 0.9741 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.9137, allocations: 60.56 kB / 0.9741 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.9138, allocations: 35.98 kB / 0.9741 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002105/0.9159, allocations: 1.437 MB / 0.9756 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.964e-06/0.9159, allocations: 0 / 0.9756 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00267/0.9186, allocations: 1.111 MB / 0.9766 GB, free: 5.125 MB / 0.7325 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.001716/0.9203, allocations: 0.7296 MB / 0.9774 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004645/0.925, allocations: 2.312 MB / 0.9796 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.925, allocations: 0 / 0.9796 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.9263, allocations: 0.6045 MB / 0.9802 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/0.9306, allocations: 1.011 MB / 0.9812 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/0.9386, allocations: 4.265 MB / 0.9854 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.9399, allocations: 1.66 MB / 0.987 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00202/0.9419, allocations: 0.5519 MB / 0.9875 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.9425, allocations: 163.4 kB / 0.9877 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.9425, allocations: 4 kB / 0.9877 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of Templates: time 0.06431/1.007, allocations: 39.3 MB / 1.026 GB, free: 3.031 MB / 0.7794 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)