Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001262/0.001262, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 70.36 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3366, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9029/1.24, allocations: 234.2 MB / 1.296 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02546/1.265, allocations: 17.77 MB / 1.314 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003949/1.269, allocations: 84.75 kB / 1.314 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/1.28, allocations: 4.364 MB / 1.318 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/1.29, allocations: 3.214 MB / 1.321 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008185/1.298, allocations: 2.259 MB / 1.323 GB, free: 4.379 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.3240000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01462/1.313, allocations: 9.516 MB / 1.333 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003266/1.316, allocations: 1.662 MB / 1.334 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006785/1.323, allocations: 2.378 MB / 1.337 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004298/1.327, allocations: 1.666 MB / 1.338 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006368/1.328, allocations: 109.6 kB / 1.338 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008228/1.336, allocations: 3.972 MB / 1.342 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001469/1.338, allocations: 0.8018 MB / 1.343 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002292/1.34, allocations: 1.28 MB / 1.344 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009801/1.35, allocations: 4.941 MB / 1.349 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.35, allocations: 0 / 1.349 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/1.35, allocations: 0 / 1.349 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.556e-05/1.35, allocations: 0 / 1.349 GB, free: 1.648 MB / 0.9981 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.006807/1.357, allocations: 3.24 MB / 1.352 GB, free: 15.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.357, allocations: 10.38 kB / 1.352 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/1.363, allocations: 0.8842 MB / 1.353 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/1.368, allocations: 2.677 MB / 1.356 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004319/1.368, allocations: 165 kB / 1.356 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/1.369, allocations: 142.2 kB / 1.356 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/1.372, allocations: 1.686 MB / 1.358 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/1.372, allocations: 2.531 kB / 1.358 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/1.373, allocations: 53.56 kB / 1.358 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/1.373, allocations: 55.78 kB / 1.358 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003663/1.376, allocations: 1.485 MB / 1.359 GB, free: 11.88 MB / 1.014 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.01406/1.39, allocations: 7.939 MB / 1.367 GB, free: 5.223 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/1.393, allocations: 1.608 MB / 1.368 GB, free: 4.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/1.395, allocations: 0.5302 MB / 1.369 GB, free: 3.762 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/1.396, allocations: 0.7729 MB / 1.37 GB, free: 2.945 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/1.397, allocations: 0.5603 MB / 1.37 GB, free: 2.613 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001204/1.399, allocations: 126.6 kB / 1.37 GB, free: 2.539 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.336e-06/1.399, allocations: 2.531 kB / 1.37 GB, free: 2.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.00449/1.403, allocations: 1.648 MB / 1.372 GB, free: 1.676 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/1.403, allocations: 70.61 kB / 1.372 GB, free: 1.605 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/1.407, allocations: 2.142 MB / 1.374 GB, free: 460 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/1.407, allocations: 43.86 kB / 1.374 GB, free: 416 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.408, allocations: 1.104 MB / 1.375 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/1.409, allocations: 292.8 kB / 1.376 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/1.409, allocations: 328.5 kB / 1.376 GB, free: 15.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.409, allocations: 303.7 kB / 1.376 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.411, allocations: 0.6283 MB / 1.377 GB, free: 14.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.412, allocations: 1.027 MB / 1.378 GB, free: 13.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/1.415, allocations: 1.57 MB / 1.379 GB, free: 12.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/1.415, allocations: 2.75 kB / 1.379 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00413/1.419, allocations: 1.931 MB / 1.381 GB, free: 11.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/1.419, allocations: 34.92 kB / 1.381 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.419, allocations: 11.78 kB / 1.381 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/1.419, allocations: 16.91 kB / 1.381 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.421, allocations: 341.4 kB / 1.382 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.954e-05/1.421, allocations: 26.2 kB / 1.382 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/1.423, allocations: 189.3 kB / 1.382 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.423, allocations: 59.58 kB / 1.382 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002453/1.426, allocations: 1.12 MB / 1.383 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001803/1.428, allocations: 1.016 MB / 1.384 GB, free: 10.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002829/1.43, allocations: 1.579 MB / 1.385 GB, free: 9.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.078e-05/1.43, allocations: 2.688 kB / 1.385 GB, free: 9.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=201) (initialization_lambda0): time 0.004067/1.435, allocations: 1.925 MB / 1.387 GB, free: 8.371 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/1.435, allocations: 39.42 kB / 1.387 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.435, allocations: 9.906 kB / 1.387 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.184e-05/1.435, allocations: 16.66 kB / 1.387 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.436, allocations: 333 kB / 1.388 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.854e-05/1.436, allocations: 24.11 kB / 1.388 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.438, allocations: 192.7 kB / 1.388 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/1.439, allocations: 60 kB / 1.388 GB, free: 8.02 MB / 1.029 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 (167): * Single equations (assignments): 164 * 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.0004858/1.439, allocations: 260 kB / 1.388 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/1.44, allocations: 220.4 kB / 1.388 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/1.443, allocations: 1.204 MB / 1.39 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.443, allocations: 11.19 kB / 1.39 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.443, allocations: 4 kB / 1.39 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002562/1.446, allocations: 1.25 MB / 1.391 GB, free: 4.992 MB / 1.029 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.007637/1.453, allocations: 3.139 MB / 1.394 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/1.453, allocations: 4 kB / 1.394 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.455, allocations: 187.7 kB / 1.394 GB, free: 1.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/1.455, allocations: 56.81 kB / 1.394 GB, free: 1.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/1.455, allocations: 23.98 kB / 1.394 GB, free: 1.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/1.456, allocations: 1.417 MB / 1.396 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.456, allocations: 4 kB / 1.396 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/1.461, allocations: 1.816 MB / 1.397 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.462, allocations: 390.2 kB / 1.398 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005528/1.462, allocations: 23.98 kB / 1.398 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.464, allocations: 149.4 kB / 1.398 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/1.464, allocations: 63.19 kB / 1.398 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.005e-05/1.464, allocations: 35.92 kB / 1.398 GB, free: 13.46 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002986/1.467, allocations: 1.421 MB / 1.399 GB, free: 12.03 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.11e-07/1.467, allocations: 0 / 1.399 GB, free: 12.03 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004783/1.472, allocations: 1.126 MB / 1.4 GB, free: 10.9 MB / 1.045 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 (84): * Single equations (assignments): 81 * 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.002404/1.475, allocations: 0.7309 MB / 1.401 GB, free: 10.33 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005446/1.48, allocations: 2.329 MB / 1.403 GB, free: 8.047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.48, allocations: 7.938 kB / 1.403 GB, free: 8.039 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.482, allocations: 0.6188 MB / 1.404 GB, free: 7.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005872/1.488, allocations: 0.9566 MB / 1.405 GB, free: 6.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.499, allocations: 5.049 MB / 1.41 GB, free: 1.402 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/1.501, allocations: 1.664 MB / 1.412 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003224/1.504, allocations: 0.5597 MB / 1.412 GB, free: 15.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007596/1.505, allocations: 163.4 kB / 1.412 GB, free: 14.98 MB / 1.061 GB Notification: Performance of SimCode: time 9.11e-07/1.505, allocations: 0 / 1.412 GB, free: 14.98 MB / 1.061 GB Notification: Performance of Templates: time 0.07535/1.58, allocations: 38.03 MB / 1.449 GB, free: 9.512 MB / 1.092 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)