Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.4 MB / 303.7 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 184.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 0.631 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008544/0.0008545, allocations: 98.28 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004281, allocations: 12.47 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.7316/0.9878, allocations: 237.7 MB / 1.212 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03204/1.02, allocations: 18.37 MB / 1.23 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004416/1.024, allocations: 75 kB / 1.23 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004582/1.029, allocations: 1.13 MB / 1.231 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/1.04, allocations: 3.407 MB / 1.235 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.009312/1.049, allocations: 2.979 MB / 1.238 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009274/1.059, allocations: 6.723 MB / 1.244 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/1.062, allocations: 1.767 MB / 1.246 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005817/1.068, allocations: 2.288 MB / 1.248 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/1.072, allocations: 1.689 MB / 1.25 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005163/1.072, allocations: 92 kB / 1.25 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009831/1.082, allocations: 4.493 MB / 1.254 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/1.083, allocations: 0.7124 MB / 1.255 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002101/1.085, allocations: 1.172 MB / 1.256 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006286/1.092, allocations: 3.784 MB / 1.26 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/1.092, allocations: 4 kB / 1.26 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.164e-06/1.092, allocations: 0 / 1.26 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.483e-05/1.092, allocations: 0 / 1.26 GB, free: 12.05 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.005711/1.098, allocations: 2.697 MB / 1.262 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.098, allocations: 12.03 kB / 1.262 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/1.103, allocations: 0.8203 MB / 1.263 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/1.107, allocations: 1.794 MB / 1.265 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004504/1.107, allocations: 194.9 kB / 1.265 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/1.107, allocations: 160 kB / 1.265 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/1.111, allocations: 1.874 MB / 1.267 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/1.111, allocations: 0 / 1.267 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/1.111, allocations: 64 kB / 1.267 GB, free: 4.246 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/1.111, allocations: 58.89 kB / 1.267 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/1.115, allocations: 1.604 MB / 1.269 GB, free: 2.578 MB / 0.7917 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.01203/1.127, allocations: 8.361 MB / 1.277 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/1.129, allocations: 1.835 MB / 1.279 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/1.131, allocations: 0.6903 MB / 1.279 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005315/1.131, allocations: 239.1 kB / 1.28 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/1.133, allocations: 0.7 MB / 1.28 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001154/1.134, allocations: 131 kB / 1.281 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=101): time 4.468e-06/1.134, allocations: 0 / 1.281 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of matching and sorting (n=104): time 0.009364/1.143, allocations: 3.747 MB / 1.284 GB, free: 1.973 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/1.143, allocations: 145.5 kB / 1.284 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/1.146, allocations: 1.593 MB / 1.286 GB, free: 164 kB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.146, allocations: 57.69 kB / 1.286 GB, free: 100 kB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008075/1.147, allocations: 0.9561 MB / 1.287 GB, free: 15.13 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/1.147, allocations: 366.6 kB / 1.287 GB, free: 14.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/1.147, allocations: 24 kB / 1.287 GB, free: 14.74 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.147, allocations: 361.9 kB / 1.288 GB, free: 14.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.148, allocations: 0.5686 MB / 1.288 GB, free: 13.81 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/1.15, allocations: 0.9342 MB / 1.289 GB, free: 12.73 MB / 0.823 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.01563/1.166, allocations: 4.697 MB / 1.294 GB, free: 7.898 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.166, allocations: 0 / 1.294 GB, free: 7.898 MB / 0.823 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003687/1.169, allocations: 1.753 MB / 1.295 GB, free: 6.129 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002233/1.17, allocations: 338.6 kB / 1.296 GB, free: 5.688 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/1.17, allocations: 11.98 kB / 1.296 GB, free: 5.676 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/1.17, allocations: 48.84 kB / 1.296 GB, free: 5.625 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.171, allocations: 307.5 kB / 1.296 GB, free: 5.324 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/1.172, allocations: 1.518 MB / 1.298 GB, free: 3.676 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.174, allocations: 193.8 kB / 1.298 GB, free: 3.488 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.174, allocations: 55.98 kB / 1.298 GB, free: 3.434 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/1.174, allocations: 8 kB / 1.298 GB, free: 3.426 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003105/1.178, allocations: 1.562 MB / 1.299 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.178, allocations: 8 kB / 1.299 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/1.178, allocations: 48.77 kB / 1.299 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.179, allocations: 307.9 kB / 1.3 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/1.18, allocations: 1.514 MB / 1.301 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/1.182, allocations: 200.4 kB / 1.301 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.183, allocations: 48 kB / 1.301 GB, free: 15.6 MB / 0.8386 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001156/1.184, allocations: 0.5865 MB / 1.302 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/1.184, allocations: 197.6 kB / 1.302 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/1.187, allocations: 1.479 MB / 1.304 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.187, allocations: 11.98 kB / 1.304 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/1.187, allocations: 4 kB / 1.304 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002494/1.19, allocations: 1.207 MB / 1.305 GB, free: 12.08 MB / 0.8386 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.006938/1.197, allocations: 3.655 MB / 1.308 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.197, allocations: 4.125 kB / 1.308 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.198, allocations: 247.7 kB / 1.309 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/1.198, allocations: 77.66 kB / 1.309 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/1.198, allocations: 27.98 kB / 1.309 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/1.201, allocations: 2.772 MB / 1.311 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.201, allocations: 4.031 kB / 1.311 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/1.205, allocations: 2.267 MB / 1.314 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.207, allocations: 386.5 kB / 1.314 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/1.207, allocations: 24 kB / 1.314 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.208, allocations: 187.7 kB / 1.314 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.209, allocations: 76.89 kB / 1.314 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/1.209, allocations: 39.98 kB / 1.314 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001722/1.21, allocations: 1.075 MB / 1.315 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.21, allocations: 0 / 1.315 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003164/1.214, allocations: 0.9766 MB / 1.316 GB, free: 15.8 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/1.215, allocations: 413.4 kB / 1.317 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005171/1.22, allocations: 2.575 MB / 1.319 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.22, allocations: 4.25 kB / 1.319 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/1.222, allocations: 0.8817 MB / 1.32 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005265/1.227, allocations: 0.9783 MB / 1.321 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008943/1.236, allocations: 4.91 MB / 1.326 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.237, allocations: 1.59 MB / 1.327 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002499/1.24, allocations: 0.4999 MB / 1.328 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/1.24, allocations: 151.4 kB / 1.328 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/1.24, allocations: 0 / 1.328 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of Templates: time 0.06383/1.304, allocations: 37.91 MB / 1.365 GB, free: 14.11 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)