Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000962/0.0009622, allocations: 97.72 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.006665/0.006665, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.372/1.372, 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.728/2.728, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003553, allocations: 18.22 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.8956/1.21, allocations: 255.2 MB / 1.323 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02715/1.237, allocations: 18.83 MB / 1.342 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004458/1.241, allocations: 85.34 kB / 1.342 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009899/1.251, allocations: 4.45 MB / 1.346 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/1.263, allocations: 3.779 MB / 1.35 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006708/1.27, allocations: 2.324 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.01321/1.283, allocations: 10.81 MB / 1.363 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/1.287, allocations: 1.806 MB / 1.364 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/1.292, allocations: 2.305 MB / 1.367 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/1.296, allocations: 1.805 MB / 1.368 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003388/1.296, allocations: 92.97 kB / 1.369 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008722/1.305, allocations: 4.671 MB / 1.373 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001337/1.306, allocations: 0.8415 MB / 1.374 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/1.308, allocations: 1.379 MB / 1.375 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01109/1.319, allocations: 5.567 MB / 1.381 GB, free: 11.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/1.319, allocations: 4 kB / 1.381 GB, free: 11.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/1.319, allocations: 1.812 kB / 1.381 GB, free: 11.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001149/1.32, allocations: 0 / 1.381 GB, free: 11.28 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.007877/1.327, allocations: 3.003 MB / 1.384 GB, free: 9.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/1.328, allocations: 11.28 kB / 1.384 GB, free: 9.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00616/1.334, allocations: 0.929 MB / 1.385 GB, free: 8.676 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005308/1.339, allocations: 2.835 MB / 1.387 GB, free: 6.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/1.339, allocations: 188.4 kB / 1.388 GB, free: 6.738 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/1.34, allocations: 169.3 kB / 1.388 GB, free: 6.684 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/1.344, allocations: 1.866 MB / 1.389 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/1.344, allocations: 0.9375 kB / 1.389 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/1.344, allocations: 66.02 kB / 1.39 GB, free: 5.516 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.808e-05/1.344, allocations: 54.88 kB / 1.39 GB, free: 5.512 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003641/1.348, allocations: 1.657 MB / 1.391 GB, free: 4.711 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.01388/1.361, allocations: 8.707 MB / 1.4 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/1.364, allocations: 1.823 MB / 1.402 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/1.366, allocations: 0.6971 MB / 1.402 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005122/1.366, allocations: 235.8 kB / 1.402 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/1.368, allocations: 0.6941 MB / 1.403 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001085/1.369, allocations: 132.5 kB / 1.403 GB, free: 11.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=101): time 5.49e-06/1.369, allocations: 3.984 kB / 1.403 GB, free: 11.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.009622/1.378, allocations: 3.837 MB / 1.407 GB, free: 8.922 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/1.379, allocations: 64.31 kB / 1.407 GB, free: 8.859 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.381, allocations: 2.12 MB / 1.409 GB, free: 7.328 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/1.382, allocations: 49.7 kB / 1.409 GB, free: 7.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.383, allocations: 1.101 MB / 1.41 GB, free: 6.168 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/1.383, allocations: 372.2 kB / 1.411 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.383, allocations: 173.6 kB / 1.411 GB, free: 5.633 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.383, allocations: 309.1 kB / 1.411 GB, free: 5.328 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/1.385, allocations: 0.7457 MB / 1.412 GB, free: 4.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/1.387, allocations: 1.133 MB / 1.413 GB, free: 3.312 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.01652/1.403, allocations: 4.941 MB / 1.418 GB, free: 14.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.404, allocations: 4 kB / 1.418 GB, free: 14.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00458/1.408, allocations: 2.235 MB / 1.42 GB, free: 12.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003349/1.408, allocations: 371.4 kB / 1.42 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/1.408, allocations: 11.94 kB / 1.42 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/1.409, allocations: 56.77 kB / 1.42 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.41, allocations: 364 kB / 1.421 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/1.412, allocations: 1.502 MB / 1.422 GB, free: 9.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/1.414, allocations: 229.5 kB / 1.422 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.414, allocations: 59.98 kB / 1.422 GB, free: 9.242 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/1.414, allocations: 9.812 kB / 1.422 GB, free: 9.234 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003906/1.418, allocations: 2.006 MB / 1.424 GB, free: 7.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.418, allocations: 12 kB / 1.424 GB, free: 7.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/1.418, allocations: 40.84 kB / 1.424 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.42, allocations: 367.9 kB / 1.425 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/1.421, allocations: 1.521 MB / 1.426 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.423, allocations: 228.3 kB / 1.426 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/1.423, allocations: 63.98 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.001212/1.425, allocations: 0.6895 MB / 1.427 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/1.425, allocations: 233 kB / 1.427 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/1.428, allocations: 1.489 MB / 1.429 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/1.428, allocations: 12 kB / 1.429 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.428, allocations: 3.938 kB / 1.429 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002701/1.431, allocations: 1.221 MB / 1.43 GB, free: 1.305 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.007079/1.438, allocations: 3.822 MB / 1.434 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.438, allocations: 0 / 1.434 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.439, allocations: 252.7 kB / 1.434 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/1.44, allocations: 76.58 kB / 1.434 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/1.44, allocations: 31.92 kB / 1.434 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/1.442, allocations: 2.755 MB / 1.437 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.442, allocations: 4.031 kB / 1.437 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/1.446, allocations: 2.226 MB / 1.439 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009289/1.447, allocations: 441.9 kB / 1.439 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/1.448, allocations: 27.98 kB / 1.439 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.449, allocations: 185 kB / 1.44 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/1.449, allocations: 75.81 kB / 1.44 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-05/1.449, allocations: 39.97 kB / 1.44 GB, free: 7.023 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002089/1.452, allocations: 1.411 MB / 1.441 GB, free: 5.602 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.3e-07/1.452, allocations: 192 / 1.441 GB, free: 5.602 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003101/1.455, allocations: 1.082 MB / 1.442 GB, free: 4.523 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.001087/1.456, allocations: 0.5037 MB / 1.443 GB, free: 4.047 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005679/1.461, allocations: 3.021 MB / 1.446 GB, free: 1.008 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.462, allocations: 0 / 1.446 GB, free: 1.008 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/1.463, allocations: 0.8826 MB / 1.447 GB, free: 108 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006009/1.469, allocations: 1.124 MB / 1.448 GB, free: 15 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009808/1.479, allocations: 5.649 MB / 1.453 GB, free: 9.293 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/1.48, allocations: 1.764 MB / 1.455 GB, free: 7.492 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002766/1.483, allocations: 0.6352 MB / 1.455 GB, free: 6.855 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/1.484, allocations: 175.4 kB / 1.456 GB, free: 6.684 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/1.484, allocations: 0 / 1.456 GB, free: 6.684 MB / 1.076 GB Notification: Performance of Templates: time 0.07686/1.561, allocations: 43.07 MB / 1.498 GB, free: 12.14 MB / 1.123 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)