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.001139/0.001139, allocations: 97.56 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.009377/0.009378, allocations: 171.1 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.547/1.547, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004569, allocations: 13.44 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 1.211/1.611, allocations: 306.6 MB / 1.374 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04363/1.655, allocations: 29.22 MB / 1.402 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005193/1.66, allocations: 69.25 kB / 1.402 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01599/1.676, allocations: 4.547 MB / 1.407 GB, free: 7.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01608/1.692, allocations: 2.839 MB / 1.409 GB, free: 5.402 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01158/1.704, allocations: 2.387 MB / 1.412 GB, free: 3.629 MB / 1.014 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.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02611/1.73, allocations: 8.981 MB / 1.42 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005584/1.736, allocations: 1.637 MB / 1.422 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009389/1.745, allocations: 1.943 MB / 1.424 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006591/1.752, allocations: 1.38 MB / 1.425 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008105/1.753, allocations: 72.33 kB / 1.425 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/1.768, allocations: 3.838 MB / 1.429 GB, free: 9.902 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002262/1.771, allocations: 0.6293 MB / 1.43 GB, free: 9.504 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003957/1.775, allocations: 1.179 MB / 1.431 GB, free: 8.727 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01732/1.792, allocations: 5.321 MB / 1.436 GB, free: 5.055 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.792, allocations: 0 / 1.436 GB, free: 5.055 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.356e-06/1.792, allocations: 0 / 1.436 GB, free: 5.055 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001473/1.792, allocations: 0 / 1.436 GB, free: 5.055 MB / 1.029 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.009583/1.802, allocations: 2.455 MB / 1.438 GB, free: 2.531 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.431e-05/1.802, allocations: 12.03 kB / 1.438 GB, free: 2.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.813, allocations: 0.9921 MB / 1.439 GB, free: 1.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/1.833, allocations: 5.629 MB / 1.445 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008285/1.834, allocations: 174.6 kB / 1.445 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005544/1.834, allocations: 132 kB / 1.445 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006951/1.841, allocations: 1.632 MB / 1.447 GB, free: 9.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/1.841, allocations: 4 kB / 1.447 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/1.842, allocations: 56 kB / 1.447 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.955e-05/1.842, allocations: 46.55 kB / 1.447 GB, free: 9.738 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005817/1.848, allocations: 1.388 MB / 1.448 GB, free: 8.344 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 preOpt removeSimpleEquations (simulation): time 0.01398/1.862, allocations: 7.695 MB / 1.456 GB, free: 112 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/1.864, allocations: 0.9419 MB / 1.457 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/1.866, allocations: 368.7 kB / 1.457 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/1.866, allocations: 198.2 kB / 1.457 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.866, allocations: 34.56 kB / 1.457 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001271/1.867, allocations: 170.7 kB / 1.457 GB, free: 14.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 3.066e-06/1.867, allocations: 0 / 1.457 GB, free: 14.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.003972/1.871, allocations: 1.138 MB / 1.459 GB, free: 13.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.871, allocations: 55.41 kB / 1.459 GB, free: 13.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/1.875, allocations: 2.159 MB / 1.461 GB, free: 10.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/1.875, allocations: 37.7 kB / 1.461 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009609/1.876, allocations: 0.976 MB / 1.462 GB, free: 9.887 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/1.876, allocations: 138.1 kB / 1.462 GB, free: 9.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.876, allocations: 121.6 kB / 1.462 GB, free: 9.625 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.877, allocations: 353.9 kB / 1.462 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/1.878, allocations: 0.541 MB / 1.463 GB, free: 8.727 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.88, allocations: 0.8285 MB / 1.464 GB, free: 7.785 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/1.882, allocations: 1.253 MB / 1.465 GB, free: 6.438 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.882, allocations: 7.938 kB / 1.465 GB, free: 6.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003857/1.886, allocations: 1.592 MB / 1.466 GB, free: 4.828 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002957/1.887, allocations: 306.4 kB / 1.467 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.887, allocations: 8 kB / 1.467 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/1.887, allocations: 11.94 kB / 1.467 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.888, allocations: 275.6 kB / 1.467 GB, free: 4.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006726/1.889, allocations: 0.6094 MB / 1.468 GB, free: 3.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/1.891, allocations: 166.4 kB / 1.468 GB, free: 3.344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/1.891, allocations: 43.98 kB / 1.468 GB, free: 3.301 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.891, allocations: 4 kB / 1.468 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003273/1.894, allocations: 1.35 MB / 1.469 GB, free: 1.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/1.894, allocations: 12.06 kB / 1.469 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.894, allocations: 15.98 kB / 1.469 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.895, allocations: 251.5 kB / 1.469 GB, free: 1.672 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/1.895, allocations: 12 kB / 1.469 GB, free: 1.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.897, allocations: 161.5 kB / 1.47 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.897, allocations: 47.98 kB / 1.47 GB, free: 1.453 MB / 1.061 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.001583/1.899, allocations: 0.6597 MB / 1.47 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/1.9, allocations: 193.5 kB / 1.47 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/1.903, allocations: 0.8543 MB / 1.471 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/1.903, allocations: 4 kB / 1.471 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.903, allocations: 0 / 1.471 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.903, allocations: 7.984 kB / 1.471 GB, free: 15.72 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.006269/1.909, allocations: 2.355 MB / 1.474 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.909, allocations: 192 / 1.474 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008919/1.91, allocations: 147.7 kB / 1.474 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/1.91, allocations: 4 kB / 1.474 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/1.91, allocations: 15.98 kB / 1.474 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004242/1.91, allocations: 0.5977 MB / 1.474 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/1.91, allocations: 4 kB / 1.474 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/1.913, allocations: 0.9635 MB / 1.475 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.915, allocations: 354.4 kB / 1.476 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005814/1.915, allocations: 11.94 kB / 1.476 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.917, allocations: 127.8 kB / 1.476 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/1.917, allocations: 27.95 kB / 1.476 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/1.917, allocations: 31.84 kB / 1.476 GB, free: 10.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003669/1.921, allocations: 1.48 MB / 1.477 GB, free: 9.441 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.91e-07/1.921, allocations: 4 kB / 1.477 GB, free: 9.438 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00365/1.924, allocations: 0.8966 MB / 1.478 GB, free: 8.539 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 37 * 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.001394/1.926, allocations: 446.8 kB / 1.479 GB, free: 8.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005426/1.931, allocations: 1.783 MB / 1.48 GB, free: 6.309 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.931, allocations: 4 kB / 1.48 GB, free: 6.305 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/1.933, allocations: 349.2 kB / 1.481 GB, free: 5.965 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007491/1.94, allocations: 1.096 MB / 1.482 GB, free: 4.883 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.953, allocations: 4.285 MB / 1.486 GB, free: 0.543 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.956, allocations: 1.537 MB / 1.487 GB, free: 14.97 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.003858/1.96, allocations: 469.1 kB / 1.488 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00071/1.96, allocations: 139.4 kB / 1.488 GB, free: 14.37 MB / 1.092 GB Notification: Performance of SimCode: time 1.332e-06/1.96, allocations: 0 / 1.488 GB, free: 14.37 MB / 1.092 GB Notification: Performance of Templates: time 0.1025/2.063, allocations: 38.43 MB / 1.525 GB, free: 8.34 MB / 1.123 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)