Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.147/2.147, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 191.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 114.6 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.19 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2696, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.829/1.099, allocations: 233.8 MB / 1.446 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02494/1.124, allocations: 15.91 MB / 1.462 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004584/1.128, allocations: 86.53 kB / 1.462 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.004575/1.133, allocations: 1.145 MB / 1.463 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01105/1.144, allocations: 3.186 MB / 1.466 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.008229/1.152, allocations: 2.226 MB / 1.468 GB, free: 1.469 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.163, allocations: 6.587 MB / 1.475 GB, free: 1.449 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004199/1.168, allocations: 1.634 MB / 1.476 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008206/1.176, allocations: 2.43 MB / 1.479 GB, free: 1.152 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004888/1.181, allocations: 1.611 MB / 1.48 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001036/1.182, allocations: 107.7 kB / 1.48 GB, free: 1.141 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009205/1.191, allocations: 3.753 MB / 1.484 GB, free: 1.102 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001666/1.193, allocations: 0.6672 MB / 1.485 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003476/1.196, allocations: 1.102 MB / 1.486 GB, free: 0.6758 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.009385/1.206, allocations: 4.368 MB / 1.49 GB, free: 156 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.206, allocations: 0 / 1.49 GB, free: 156 kB / 0.9167 GB Notification: Performance of FrontEnd: time 2.565e-06/1.206, allocations: 0 / 1.49 GB, free: 156 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.831e-05/1.206, allocations: 0 / 1.49 GB, free: 156 kB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006035/1.212, allocations: 2.829 MB / 1.493 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.212, allocations: 15.08 kB / 1.493 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005337/1.217, allocations: 0.8591 MB / 1.494 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/1.221, allocations: 1.689 MB / 1.495 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/1.221, allocations: 173.7 kB / 1.496 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/1.222, allocations: 139.8 kB / 1.496 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/1.225, allocations: 1.683 MB / 1.497 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/1.225, allocations: 0.5625 kB / 1.497 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/1.225, allocations: 56.94 kB / 1.497 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/1.225, allocations: 54.33 kB / 1.497 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/1.228, allocations: 1.493 MB / 1.499 GB, free: 13.8 MB / 0.9323 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.01093/1.239, allocations: 7.614 MB / 1.506 GB, free: 9.887 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/1.242, allocations: 1.651 MB / 1.508 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/1.243, allocations: 0.5473 MB / 1.508 GB, free: 9.16 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/1.245, allocations: 0.7678 MB / 1.509 GB, free: 8.406 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/1.246, allocations: 0.5906 MB / 1.51 GB, free: 8.344 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00106/1.247, allocations: 116 kB / 1.51 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=85): time 3.908e-06/1.247, allocations: 0.5625 kB / 1.51 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85): time 0.005183/1.253, allocations: 1.679 MB / 1.512 GB, free: 8.023 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.253, allocations: 60.94 kB / 1.512 GB, free: 7.961 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/1.255, allocations: 1.567 MB / 1.513 GB, free: 7.773 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.255, allocations: 46.8 kB / 1.513 GB, free: 7.742 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/1.256, allocations: 0.9215 MB / 1.514 GB, free: 7.43 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/1.256, allocations: 306.5 kB / 1.514 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/1.256, allocations: 213.1 kB / 1.515 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.257, allocations: 346.6 kB / 1.515 GB, free: 6.91 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/1.258, allocations: 485.7 kB / 1.515 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/1.259, allocations: 0.8058 MB / 1.516 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/1.262, allocations: 1.27 MB / 1.517 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/1.262, allocations: 2.438 kB / 1.517 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003425/1.265, allocations: 1.484 MB / 1.519 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/1.265, allocations: 37.64 kB / 1.519 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.265, allocations: 9.094 kB / 1.519 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.265, allocations: 13.19 kB / 1.519 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.266, allocations: 286.9 kB / 1.519 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.49e-05/1.267, allocations: 16.06 kB / 1.519 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.269, allocations: 169.3 kB / 1.519 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/1.269, allocations: 55.3 kB / 1.519 GB, free: 5.066 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002368/1.271, allocations: 0.8294 MB / 1.52 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001375/1.273, allocations: 0.7916 MB / 1.521 GB, free: 4.145 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002542/1.275, allocations: 1.245 MB / 1.522 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/1.275, allocations: 2.906 kB / 1.522 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.003648/1.279, allocations: 1.455 MB / 1.524 GB, free: 2.676 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/1.279, allocations: 36.86 kB / 1.524 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.279, allocations: 8.688 kB / 1.524 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.279, allocations: 19.23 kB / 1.524 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.28, allocations: 285.3 kB / 1.524 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/1.28, allocations: 20.02 kB / 1.524 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/1.282, allocations: 172.2 kB / 1.524 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.282, allocations: 55.8 kB / 1.524 GB, free: 2.488 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0004087/1.283, allocations: 247 kB / 1.524 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/1.283, allocations: 181.8 kB / 1.525 GB, free: 2.176 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/1.286, allocations: 1.235 MB / 1.526 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.286, allocations: 8.062 kB / 1.526 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.286, allocations: 0.8125 kB / 1.526 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002714/1.289, allocations: 1.288 MB / 1.527 GB, free: 0.6094 MB / 0.9323 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.009305/1.298, allocations: 3.025 MB / 1.53 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.299, allocations: 160 / 1.53 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.3, allocations: 203.4 kB / 1.53 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/1.3, allocations: 47.48 kB / 1.53 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/1.3, allocations: 29.05 kB / 1.53 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/1.302, allocations: 1.426 MB / 1.532 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.302, allocations: 0 / 1.532 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1409/1.442, allocations: 31.31 MB / 1.562 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007297/1.443, allocations: 334.8 kB / 1.563 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/1.443, allocations: 20 kB / 1.563 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.445, allocations: 147.7 kB / 1.563 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.445, allocations: 63.56 kB / 1.563 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/1.445, allocations: 31.98 kB / 1.563 GB, free: 0.5547 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001551/1.446, allocations: 1.053 MB / 1.564 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.4e-07/1.446, allocations: 4 kB / 1.564 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006821/1.453, allocations: 1.551 MB / 1.565 GB, free: 13.96 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (85): * Single equations (assignments): 82 * 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.001712/1.455, allocations: 0.6505 MB / 1.566 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004346/1.459, allocations: 1.867 MB / 1.568 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.459, allocations: 4.625 kB / 1.568 GB, free: 11.67 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.461, allocations: 0.6409 MB / 1.569 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/1.465, allocations: 0.7768 MB / 1.569 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009174/1.474, allocations: 5.053 MB / 1.574 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.475, allocations: 1.515 MB / 1.576 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002601/1.478, allocations: 0.4984 MB / 1.576 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/1.479, allocations: 151.4 kB / 1.576 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of SimCode: time 2.345e-06/1.479, allocations: 0 / 1.576 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of Templates: time 0.06562/1.544, allocations: 41.12 MB / 1.616 GB, free: 10.3 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)