Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008706, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00655/0.00655, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005308/0.0005308, allocations: 16.47 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2521, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.9015/1.154, allocations: 254.8 MB / 1.037 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0316/1.185, allocations: 19.87 MB / 1.056 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004964/1.19, allocations: 78 kB / 1.056 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004888/1.195, allocations: 1.288 MB / 1.057 GB, free: 5.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/1.209, allocations: 3.717 MB / 1.061 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01097/1.22, allocations: 3.337 MB / 1.064 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01174/1.232, allocations: 7.855 MB / 1.072 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/1.236, allocations: 1.778 MB / 1.074 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006827/1.243, allocations: 2.342 MB / 1.076 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004745/1.248, allocations: 1.744 MB / 1.078 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000562/1.248, allocations: 92 kB / 1.078 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/1.259, allocations: 4.575 MB / 1.082 GB, free: 14.47 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001521/1.26, allocations: 0.7046 MB / 1.083 GB, free: 13.77 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002962/1.263, allocations: 1.222 MB / 1.084 GB, free: 12.53 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/1.275, allocations: 5.133 MB / 1.089 GB, free: 7.383 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.275, allocations: 3.984 kB / 1.089 GB, free: 7.379 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.773e-06/1.275, allocations: 0 / 1.089 GB, free: 7.379 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001326/1.275, allocations: 4 kB / 1.089 GB, free: 7.375 MB / 0.795 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.006782/1.282, allocations: 2.683 MB / 1.092 GB, free: 4.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.282, allocations: 16.02 kB / 1.092 GB, free: 4.602 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/1.287, allocations: 0.8125 MB / 1.093 GB, free: 3.785 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004141/1.291, allocations: 1.81 MB / 1.094 GB, free: 1.926 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/1.292, allocations: 186.9 kB / 1.095 GB, free: 1.742 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004403/1.292, allocations: 163.9 kB / 1.095 GB, free: 1.582 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/1.297, allocations: 1.869 MB / 1.097 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/1.297, allocations: 0 / 1.097 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/1.297, allocations: 72 kB / 1.097 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.556e-05/1.297, allocations: 54.91 kB / 1.097 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/1.301, allocations: 1.612 MB / 1.098 GB, free: 13.91 MB / 0.8106 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.01265/1.313, allocations: 8.275 MB / 1.106 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/1.316, allocations: 1.827 MB / 1.108 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/1.318, allocations: 0.6825 MB / 1.109 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/1.318, allocations: 239.1 kB / 1.109 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/1.32, allocations: 0.6961 MB / 1.11 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009924/1.321, allocations: 123.1 kB / 1.11 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=101): time 6.012e-06/1.321, allocations: 4 kB / 1.11 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=104): time 0.009618/1.33, allocations: 3.728 MB / 1.113 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/1.331, allocations: 115.8 kB / 1.114 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/1.333, allocations: 1.565 MB / 1.115 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002282/1.334, allocations: 53.7 kB / 1.115 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.335, allocations: 0.9753 MB / 1.116 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004932/1.335, allocations: 370.7 kB / 1.116 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/1.335, allocations: 117.7 kB / 1.117 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000217/1.336, allocations: 357.9 kB / 1.117 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/1.337, allocations: 0.5804 MB / 1.117 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/1.339, allocations: 0.942 MB / 1.118 GB, free: 8.125 MB / 0.8262 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.01724/1.356, allocations: 4.724 MB / 1.123 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/1.356, allocations: 4 kB / 1.123 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.004361/1.361, allocations: 1.775 MB / 1.125 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003174/1.361, allocations: 363.6 kB / 1.125 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/1.361, allocations: 16 kB / 1.125 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/1.361, allocations: 40.84 kB / 1.125 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.363, allocations: 311.5 kB / 1.125 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/1.364, allocations: 1.499 MB / 1.127 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/1.366, allocations: 188.9 kB / 1.127 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/1.366, allocations: 63.97 kB / 1.127 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/1.366, allocations: 6.969 kB / 1.127 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003361/1.37, allocations: 1.56 MB / 1.129 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.37, allocations: 12 kB / 1.129 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/1.37, allocations: 49.48 kB / 1.129 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.371, allocations: 311.6 kB / 1.129 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/1.372, allocations: 1.514 MB / 1.131 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.375, allocations: 188.3 kB / 1.131 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.375, allocations: 51.98 kB / 1.131 GB, free: 10.92 MB / 0.8419 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: 35 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (153): * Single equations (assignments): 147 * 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.00119/1.376, allocations: 0.5932 MB / 1.131 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004879/1.376, allocations: 189.7 kB / 1.131 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/1.38, allocations: 1.467 MB / 1.133 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.38, allocations: 19.88 kB / 1.133 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.38, allocations: 3.938 kB / 1.133 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002557/1.382, allocations: 1.207 MB / 1.134 GB, free: 7.402 MB / 0.8419 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.006858/1.389, allocations: 3.604 MB / 1.138 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.389, allocations: 0 / 1.138 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.391, allocations: 255.8 kB / 1.138 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/1.391, allocations: 77.59 kB / 1.138 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.391, allocations: 31.98 kB / 1.138 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/1.393, allocations: 2.744 MB / 1.141 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.393, allocations: 0 / 1.141 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/1.397, allocations: 2.247 MB / 1.143 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009219/1.398, allocations: 374.6 kB / 1.143 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/1.399, allocations: 24 kB / 1.143 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.4, allocations: 191 kB / 1.143 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.4, allocations: 72.89 kB / 1.144 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.675e-05/1.401, allocations: 43.97 kB / 1.144 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001676/1.402, allocations: 1.047 MB / 1.145 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/1.402, allocations: 0 / 1.145 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003238/1.405, allocations: 0.9609 MB / 1.146 GB, free: 11.27 MB / 0.8575 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.001082/1.407, allocations: 404.1 kB / 1.146 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00525/1.412, allocations: 2.594 MB / 1.148 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.412, allocations: 4 kB / 1.148 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/1.413, allocations: 0.8662 MB / 1.149 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00496/1.418, allocations: 0.973 MB / 1.15 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/1.427, allocations: 5.004 MB / 1.155 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.428, allocations: 1.586 MB / 1.157 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002403/1.431, allocations: 0.4998 MB / 1.157 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/1.431, allocations: 147.4 kB / 1.157 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/1.431, allocations: 4 kB / 1.157 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.06414/1.496, allocations: 37.35 MB / 1.194 GB, free: 10.18 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) Environment - environmentSimulation: