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.001091/0.001091, allocations: 91.84 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.008425/0.008425, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 8.531 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.325, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.981/1.306, allocations: 231 MB / 1.3 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02684/1.333, allocations: 17.55 MB / 1.317 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004133/1.337, allocations: 80.66 kB / 1.317 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01073/1.348, allocations: 4.361 MB / 1.321 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01187/1.36, allocations: 3.211 MB / 1.324 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007822/1.368, allocations: 2.264 MB / 1.327 GB, free: 5.504 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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.01527/1.383, allocations: 9.528 MB / 1.336 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/1.386, allocations: 1.604 MB / 1.337 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/1.392, allocations: 2.32 MB / 1.34 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/1.396, allocations: 1.588 MB / 1.341 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003601/1.396, allocations: 84.12 kB / 1.341 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008151/1.404, allocations: 3.952 MB / 1.345 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001448/1.406, allocations: 0.7561 MB / 1.346 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002209/1.408, allocations: 1.245 MB / 1.347 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/1.418, allocations: 4.863 MB / 1.352 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/1.418, allocations: 0 / 1.352 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.725e-06/1.418, allocations: 0 / 1.352 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.773e-05/1.418, allocations: 0 / 1.352 GB, free: 4.023 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.00599/1.424, allocations: 2.775 MB / 1.355 GB, free: 18.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/1.424, allocations: 11.38 kB / 1.355 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/1.429, allocations: 0.9217 MB / 1.356 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/1.434, allocations: 2.689 MB / 1.358 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/1.434, allocations: 174.7 kB / 1.358 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/1.435, allocations: 144 kB / 1.358 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/1.438, allocations: 1.695 MB / 1.36 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/1.438, allocations: 5.438 kB / 1.36 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/1.438, allocations: 55.55 kB / 1.36 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/1.438, allocations: 53.47 kB / 1.36 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/1.442, allocations: 1.53 MB / 1.362 GB, free: 13.95 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.01177/1.454, allocations: 7.99 MB / 1.37 GB, free: 7.273 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/1.457, allocations: 1.65 MB / 1.371 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/1.458, allocations: 0.5535 MB / 1.372 GB, free: 5.809 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/1.459, allocations: 0.8099 MB / 1.372 GB, free: 4.984 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/1.461, allocations: 0.5728 MB / 1.373 GB, free: 4.652 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001158/1.462, allocations: 131.9 kB / 1.373 GB, free: 4.574 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.326e-06/1.462, allocations: 2.531 kB / 1.373 GB, free: 4.574 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004324/1.466, allocations: 1.703 MB / 1.375 GB, free: 3.707 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.466, allocations: 66.08 kB / 1.375 GB, free: 3.637 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/1.469, allocations: 2.143 MB / 1.377 GB, free: 2.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.469, allocations: 43.8 kB / 1.377 GB, free: 2.438 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009792/1.47, allocations: 1.054 MB / 1.378 GB, free: 1.516 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/1.471, allocations: 303.1 kB / 1.378 GB, free: 1.262 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/1.471, allocations: 157 kB / 1.378 GB, free: 1.164 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/1.471, allocations: 305.1 kB / 1.379 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/1.472, allocations: 0.6417 MB / 1.379 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.474, allocations: 1.043 MB / 1.38 GB, free: 15.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/1.477, allocations: 1.601 MB / 1.382 GB, free: 14.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.477, allocations: 2.906 kB / 1.382 GB, free: 14.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004011/1.481, allocations: 1.966 MB / 1.384 GB, free: 13.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003662/1.481, allocations: 416.6 kB / 1.384 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/1.481, allocations: 10.59 kB / 1.384 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.535e-05/1.481, allocations: 18.25 kB / 1.384 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.482, allocations: 333 kB / 1.385 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.634e-05/1.483, allocations: 21.34 kB / 1.385 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/1.485, allocations: 202.1 kB / 1.385 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/1.485, allocations: 57.45 kB / 1.385 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.485, allocations: 3.312 kB / 1.385 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003628/1.489, allocations: 1.751 MB / 1.387 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/1.489, allocations: 9.125 kB / 1.387 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/1.489, allocations: 16 kB / 1.387 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.49, allocations: 339.5 kB / 1.387 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-05/1.49, allocations: 21.83 kB / 1.387 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.493, allocations: 191.2 kB / 1.387 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/1.493, allocations: 59.39 kB / 1.387 GB, free: 12.21 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.001436/1.494, allocations: 0.6497 MB / 1.388 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005602/1.495, allocations: 216.1 kB / 1.388 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/1.498, allocations: 1.241 MB / 1.389 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.498, allocations: 8.75 kB / 1.389 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.498, allocations: 4 kB / 1.389 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002405/1.501, allocations: 1.289 MB / 1.391 GB, free: 10.1 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.008144/1.509, allocations: 3.181 MB / 1.394 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.509, allocations: 160 / 1.394 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.51, allocations: 208 kB / 1.394 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002442/1.51, allocations: 42.55 kB / 1.394 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/1.51, allocations: 26.08 kB / 1.394 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/1.512, allocations: 1.429 MB / 1.395 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.512, allocations: 10.5 kB / 1.395 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004525/1.516, allocations: 1.847 MB / 1.397 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.518, allocations: 398.2 kB / 1.397 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005649/1.518, allocations: 20 kB / 1.398 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.52, allocations: 155.7 kB / 1.398 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.52, allocations: 67.19 kB / 1.398 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.865e-05/1.52, allocations: 31.98 kB / 1.398 GB, free: 4.242 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003105/1.523, allocations: 1.425 MB / 1.399 GB, free: 2.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/1.523, allocations: 0 / 1.399 GB, free: 2.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004396/1.528, allocations: 1.115 MB / 1.4 GB, free: 1.688 MB / 1.029 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.002128/1.53, allocations: 0.7368 MB / 1.401 GB, free: 1.113 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005492/1.535, allocations: 2.38 MB / 1.403 GB, free: 14.78 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.535, allocations: 4 kB / 1.403 GB, free: 14.78 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.537, allocations: 0.6382 MB / 1.404 GB, free: 14.14 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/1.543, allocations: 0.9648 MB / 1.405 GB, free: 13.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.555, allocations: 5.173 MB / 1.41 GB, free: 7.973 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/1.557, allocations: 1.667 MB / 1.412 GB, free: 6.273 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002894/1.56, allocations: 0.5636 MB / 1.412 GB, free: 5.707 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007269/1.56, allocations: 159.4 kB / 1.412 GB, free: 5.551 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/1.56, allocations: 0 / 1.412 GB, free: 5.551 MB / 1.045 GB Notification: Performance of Templates: time 0.06803/1.628, allocations: 37.88 MB / 1.449 GB, free: 244 kB / 1.076 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)