Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.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.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") translateModel(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001746/0.001746, allocations: 191.4 kB / 16.25 MB, free: 6.629 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.5 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3846, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 1.145/1.529, allocations: 309 MB / 1.369 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04633/1.576, allocations: 29.13 MB / 1.398 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005668/1.582, allocations: 74.28 kB / 1.398 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01321/1.595, allocations: 4.798 MB / 1.403 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/1.606, allocations: 2.859 MB / 1.405 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01092/1.617, allocations: 2.422 MB / 1.408 GB, free: 13.39 MB / 1.029 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0158/1.633, allocations: 7.597 MB / 1.415 GB, free: 9.352 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004929/1.638, allocations: 2.06 MB / 1.417 GB, free: 8.039 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007464/1.646, allocations: 2.391 MB / 1.42 GB, free: 6.578 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/1.65, allocations: 1.581 MB / 1.421 GB, free: 5.602 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006907/1.651, allocations: 250.1 kB / 1.421 GB, free: 5.602 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009124/1.66, allocations: 3.72 MB / 1.425 GB, free: 3.551 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001566/1.662, allocations: 0.8241 MB / 1.426 GB, free: 2.957 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002678/1.664, allocations: 1.393 MB / 1.427 GB, free: 1.992 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/1.678, allocations: 5.534 MB / 1.433 GB, free: 13.54 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.678, allocations: 0 / 1.433 GB, free: 13.54 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/1.678, allocations: 0 / 1.433 GB, free: 13.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.032e-05/1.678, allocations: 0 / 1.433 GB, free: 13.54 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.00654/1.685, allocations: 2.927 MB / 1.435 GB, free: 10.54 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.685, allocations: 12.03 kB / 1.435 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006292/1.691, allocations: 0.9335 MB / 1.436 GB, free: 9.586 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/1.703, allocations: 5.629 MB / 1.442 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004191/1.704, allocations: 162.6 kB / 1.442 GB, free: 3.742 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/1.704, allocations: 139.9 kB / 1.442 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/1.708, allocations: 1.617 MB / 1.444 GB, free: 1.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.708, allocations: 4 kB / 1.444 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.708, allocations: 52 kB / 1.444 GB, free: 1.871 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/1.708, allocations: 46.55 kB / 1.444 GB, free: 1.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/1.711, allocations: 1.376 MB / 1.445 GB, free: 452 kB / 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 preOpt removeSimpleEquations (simulation): time 0.01245/1.724, allocations: 7.667 MB / 1.453 GB, free: 8.234 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/1.727, allocations: 0.9315 MB / 1.454 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/1.728, allocations: 360.7 kB / 1.454 GB, free: 6.902 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/1.728, allocations: 190.2 kB / 1.454 GB, free: 6.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.728, allocations: 34.56 kB / 1.454 GB, free: 6.637 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001004/1.729, allocations: 134.7 kB / 1.454 GB, free: 6.504 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 2.454e-06/1.729, allocations: 0 / 1.454 GB, free: 6.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.003807/1.733, allocations: 1.127 MB / 1.455 GB, free: 5.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.733, allocations: 59.34 kB / 1.455 GB, free: 5.297 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/1.737, allocations: 2.156 MB / 1.458 GB, free: 3.117 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/1.737, allocations: 33.7 kB / 1.458 GB, free: 3.078 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008948/1.738, allocations: 0.9799 MB / 1.458 GB, free: 2.086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/1.738, allocations: 138 kB / 1.459 GB, free: 1.949 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/1.738, allocations: 254.3 kB / 1.459 GB, free: 1.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.738, allocations: 349.9 kB / 1.459 GB, free: 1.348 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/1.74, allocations: 0.5438 MB / 1.46 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/1.741, allocations: 0.8247 MB / 1.461 GB, free: 15.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/1.744, allocations: 1.234 MB / 1.462 GB, free: 14.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/1.744, allocations: 4 kB / 1.462 GB, free: 14.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003549/1.748, allocations: 1.576 MB / 1.463 GB, free: 12.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.748, allocations: 8 kB / 1.463 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.748, allocations: 8.297 kB / 1.463 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.748, allocations: 16 kB / 1.463 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.749, allocations: 259.6 kB / 1.464 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006528/1.75, allocations: 0.6132 MB / 1.464 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.752, allocations: 164.3 kB / 1.464 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.752, allocations: 51.98 kB / 1.464 GB, free: 11.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002121/1.754, allocations: 1.041 MB / 1.465 GB, free: 10.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001501/1.755, allocations: 0.8051 MB / 1.466 GB, free: 9.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00249/1.758, allocations: 1.218 MB / 1.467 GB, free: 8.523 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.081e-06/1.758, allocations: 4 kB / 1.467 GB, free: 8.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.003453/1.761, allocations: 1.544 MB / 1.469 GB, free: 6.965 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.761, allocations: 12.25 kB / 1.469 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.761, allocations: 12 kB / 1.469 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.761, allocations: 12 kB / 1.469 GB, free: 6.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.762, allocations: 239.7 kB / 1.469 GB, free: 6.695 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.763, allocations: 15.94 kB / 1.469 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.764, allocations: 140.5 kB / 1.469 GB, free: 6.543 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/1.764, allocations: 43.98 kB / 1.469 GB, free: 6.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003205/1.765, allocations: 240.4 kB / 1.47 GB, free: 6.258 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/1.765, allocations: 205.3 kB / 1.47 GB, free: 6.055 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/1.768, allocations: 0.8573 MB / 1.471 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.768, allocations: 8 kB / 1.471 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.768, allocations: 0 / 1.471 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/1.768, allocations: 3.984 kB / 1.471 GB, free: 5.176 MB / 1.076 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.00497/1.773, allocations: 2.31 MB / 1.473 GB, free: 2.789 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.773, allocations: 4.156 kB / 1.473 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/1.774, allocations: 143.8 kB / 1.473 GB, free: 2.645 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/1.774, allocations: 0 / 1.473 GB, free: 2.645 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/1.774, allocations: 15.98 kB / 1.473 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003495/1.774, allocations: 0.5938 MB / 1.474 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.774, allocations: 0 / 1.474 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/1.777, allocations: 0.9707 MB / 1.475 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/1.777, allocations: 354.4 kB / 1.475 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/1.778, allocations: 8 kB / 1.475 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.779, allocations: 123.7 kB / 1.475 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/1.779, allocations: 23.95 kB / 1.475 GB, free: 500 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/1.779, allocations: 19.98 kB / 1.475 GB, free: 480 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002394/1.781, allocations: 1.476 MB / 1.476 GB, free: 14.98 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.5e-07/1.781, allocations: 4 kB / 1.476 GB, free: 14.98 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002674/1.784, allocations: 0.9046 MB / 1.477 GB, free: 14.07 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/1.785, allocations: 458.8 kB / 1.478 GB, free: 13.61 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004503/1.79, allocations: 1.788 MB / 1.48 GB, free: 11.82 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.79, allocations: 5.25 kB / 1.48 GB, free: 11.82 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.791, allocations: 345.3 kB / 1.48 GB, free: 11.48 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00506/1.796, allocations: 1.146 MB / 1.481 GB, free: 10.38 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.807, allocations: 4.381 MB / 1.485 GB, free: 5.941 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.808, allocations: 1.545 MB / 1.487 GB, free: 4.359 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002571/1.811, allocations: 473 kB / 1.487 GB, free: 3.895 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/1.811, allocations: 135.4 kB / 1.487 GB, free: 3.762 MB / 1.092 GB Notification: Performance of SimCode: time 1.303e-06/1.811, allocations: 0 / 1.487 GB, free: 3.762 MB / 1.092 GB Notification: Performance of Templates: time 0.07465/1.886, allocations: 39.2 MB / 1.526 GB, free: 13 MB / 1.139 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)