Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009271/0.0009271, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005655/0.005655, allocations: 171 kB / 16.27 MB, free: 6.648 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.41/1.41, 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.872/2.872, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003943, allocations: 14.19 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3492, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.8952/1.244, allocations: 255.2 MB / 1.323 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02696/1.271, allocations: 18.83 MB / 1.342 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004408/1.276, allocations: 86.69 kB / 1.342 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009485/1.285, allocations: 4.446 MB / 1.346 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/1.296, allocations: 3.779 MB / 1.35 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006997/1.303, allocations: 2.327 MB / 1.352 GB, free: 4.578 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.01389/1.317, allocations: 10.82 MB / 1.363 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003529/1.321, allocations: 1.8 MB / 1.364 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00625/1.327, allocations: 2.31 MB / 1.367 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004999/1.332, allocations: 1.801 MB / 1.368 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007672/1.333, allocations: 92.97 kB / 1.369 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/1.344, allocations: 4.674 MB / 1.373 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001932/1.346, allocations: 0.8508 MB / 1.374 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003132/1.349, allocations: 1.377 MB / 1.375 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/1.361, allocations: 5.571 MB / 1.381 GB, free: 11.26 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.361, allocations: 0 / 1.381 GB, free: 11.26 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.295e-06/1.361, allocations: 0 / 1.381 GB, free: 11.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.00011/1.361, allocations: 0 / 1.381 GB, free: 11.26 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 381 * Number of variables: 381 Notification: Performance of Generate backend data structure: time 0.006225/1.368, allocations: 3.001 MB / 1.384 GB, free: 9.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.368, allocations: 9.062 kB / 1.384 GB, free: 9.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005903/1.374, allocations: 0.9355 MB / 1.385 GB, free: 8.652 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004974/1.379, allocations: 2.826 MB / 1.387 GB, free: 6.801 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/1.379, allocations: 196.3 kB / 1.388 GB, free: 6.719 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/1.379, allocations: 166.6 kB / 1.388 GB, free: 6.664 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/1.383, allocations: 1.86 MB / 1.389 GB, free: 5.551 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/1.383, allocations: 2.906 kB / 1.39 GB, free: 5.551 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/1.383, allocations: 66.42 kB / 1.39 GB, free: 5.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/1.383, allocations: 59 kB / 1.39 GB, free: 5.492 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/1.387, allocations: 1.653 MB / 1.391 GB, free: 4.695 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.01307/1.4, allocations: 8.71 MB / 1.4 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/1.403, allocations: 1.815 MB / 1.402 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/1.405, allocations: 0.6969 MB / 1.402 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/1.405, allocations: 242.1 kB / 1.402 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/1.407, allocations: 0.6931 MB / 1.403 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001127/1.408, allocations: 135.4 kB / 1.403 GB, free: 11.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=101): time 3.506e-06/1.408, allocations: 4 kB / 1.403 GB, free: 11.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.009418/1.417, allocations: 3.824 MB / 1.407 GB, free: 8.914 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/1.417, allocations: 69.2 kB / 1.407 GB, free: 8.848 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/1.42, allocations: 2.12 MB / 1.409 GB, free: 7.324 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.42, allocations: 52.83 kB / 1.409 GB, free: 7.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009672/1.421, allocations: 1.1 MB / 1.41 GB, free: 6.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/1.422, allocations: 376.4 kB / 1.411 GB, free: 5.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/1.422, allocations: 169.6 kB / 1.411 GB, free: 5.625 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.422, allocations: 305.1 kB / 1.411 GB, free: 5.324 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/1.424, allocations: 0.7457 MB / 1.412 GB, free: 4.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/1.426, allocations: 1.144 MB / 1.413 GB, free: 3.301 MB / 1.029 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.017/1.443, allocations: 4.931 MB / 1.418 GB, free: 14.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.443, allocations: 4 kB / 1.418 GB, free: 14.24 MB / 1.045 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004683/1.447, allocations: 2.241 MB / 1.42 GB, free: 12.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002876/1.448, allocations: 372.4 kB / 1.42 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/1.448, allocations: 11.94 kB / 1.42 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/1.448, allocations: 48.84 kB / 1.42 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/1.449, allocations: 369.5 kB / 1.421 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/1.451, allocations: 1.51 MB / 1.422 GB, free: 9.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/1.454, allocations: 225.5 kB / 1.422 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.454, allocations: 63.98 kB / 1.422 GB, free: 9.227 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.454, allocations: 7.938 kB / 1.422 GB, free: 9.219 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004016/1.458, allocations: 1.994 MB / 1.424 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.458, allocations: 12.77 kB / 1.424 GB, free: 7.262 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/1.458, allocations: 55.66 kB / 1.424 GB, free: 7.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.459, allocations: 364.7 kB / 1.425 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/1.461, allocations: 1.507 MB / 1.426 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.463, allocations: 217.6 kB / 1.426 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/1.464, allocations: 67.92 kB / 1.427 GB, free: 4.965 MB / 1.045 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: 38 * 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 (185): * Single equations (assignments): 180 * Array equations: 2 * 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.001434/1.465, allocations: 0.6996 MB / 1.427 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/1.465, allocations: 241 kB / 1.427 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/1.469, allocations: 1.481 MB / 1.429 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/1.469, allocations: 15.98 kB / 1.429 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.469, allocations: 3.938 kB / 1.429 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002848/1.472, allocations: 1.218 MB / 1.43 GB, free: 1.293 MB / 1.045 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.008609/1.481, allocations: 3.825 MB / 1.434 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.481, allocations: 0 / 1.434 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.482, allocations: 251.1 kB / 1.434 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/1.482, allocations: 73.66 kB / 1.434 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/1.482, allocations: 39.92 kB / 1.434 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/1.484, allocations: 2.754 MB / 1.437 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.484, allocations: 3 kB / 1.437 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/1.489, allocations: 2.226 MB / 1.439 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.491, allocations: 437.9 kB / 1.439 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/1.491, allocations: 24 kB / 1.439 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/1.493, allocations: 187.7 kB / 1.44 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.493, allocations: 72.89 kB / 1.44 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/1.493, allocations: 39.97 kB / 1.44 GB, free: 7.016 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002317/1.496, allocations: 1.419 MB / 1.441 GB, free: 5.586 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.3e-07/1.496, allocations: 0 / 1.441 GB, free: 5.586 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003838/1.5, allocations: 1.078 MB / 1.442 GB, free: 4.508 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (vol.dynBal.medium.Xi[1],vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.medium.Xi[1],hea.vol.dynBal.U,hea.vol.dynBal.m) * 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.001278/1.501, allocations: 0.5047 MB / 1.443 GB, free: 4.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006283/1.507, allocations: 3.019 MB / 1.446 GB, free: 1.004 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.507, allocations: 0 / 1.446 GB, free: 1.004 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001851/1.509, allocations: 0.8745 MB / 1.447 GB, free: 112 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006743/1.516, allocations: 1.121 MB / 1.448 GB, free: 15 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.526, allocations: 5.657 MB / 1.453 GB, free: 9.289 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.528, allocations: 1.765 MB / 1.455 GB, free: 7.488 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00306/1.531, allocations: 0.6351 MB / 1.455 GB, free: 6.852 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/1.531, allocations: 175.4 kB / 1.456 GB, free: 6.68 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.531, allocations: 0 / 1.456 GB, free: 6.68 MB / 1.076 GB Notification: Performance of Templates: time 0.07764/1.609, allocations: 43.07 MB / 1.498 GB, free: 12.14 MB / 1.123 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)