Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven") translateModel(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001169/0.001169, allocations: 98.27 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.008864/0.008864, allocations: 169 kB / 16.26 MB, free: 6.66 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.477/1.477, 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 3.01/3.01, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 13.5 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4248, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 1.266/1.691, allocations: 306.6 MB / 1.374 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04178/1.733, allocations: 29.21 MB / 1.402 GB, free: 8.672 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007024/1.74, allocations: 73.84 kB / 1.402 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01286/1.753, allocations: 4.556 MB / 1.407 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/1.764, allocations: 2.837 MB / 1.409 GB, free: 5.312 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008109/1.772, allocations: 2.386 MB / 1.412 GB, free: 3.539 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.01507/1.787, allocations: 8.986 MB / 1.42 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003587/1.791, allocations: 1.639 MB / 1.422 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/1.798, allocations: 1.945 MB / 1.424 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/1.802, allocations: 1.373 MB / 1.425 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004297/1.802, allocations: 73.03 kB / 1.425 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008836/1.811, allocations: 3.841 MB / 1.429 GB, free: 9.805 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/1.812, allocations: 0.6216 MB / 1.43 GB, free: 9.414 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002102/1.814, allocations: 1.179 MB / 1.431 GB, free: 8.637 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009946/1.824, allocations: 5.322 MB / 1.436 GB, free: 4.984 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.824, allocations: 0 / 1.436 GB, free: 4.984 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.396e-06/1.824, allocations: 4 kB / 1.436 GB, free: 4.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.028e-05/1.824, allocations: 0 / 1.436 GB, free: 4.98 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.005267/1.83, allocations: 2.451 MB / 1.438 GB, free: 2.461 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.83, allocations: 12.03 kB / 1.438 GB, free: 2.449 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006375/1.836, allocations: 0.9921 MB / 1.439 GB, free: 1.453 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/1.847, allocations: 5.637 MB / 1.445 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004249/1.848, allocations: 170.6 kB / 1.445 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/1.848, allocations: 136 kB / 1.445 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/1.852, allocations: 1.628 MB / 1.447 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/1.852, allocations: 0 / 1.447 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/1.852, allocations: 59.94 kB / 1.447 GB, free: 9.711 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.327e-05/1.852, allocations: 54.42 kB / 1.447 GB, free: 9.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0035/1.855, allocations: 1.38 MB / 1.448 GB, free: 8.27 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.01324/1.869, allocations: 7.695 MB / 1.456 GB, free: 36 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/1.872, allocations: 0.9459 MB / 1.457 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/1.873, allocations: 364.7 kB / 1.457 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004403/1.874, allocations: 202.1 kB / 1.457 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/1.874, allocations: 30.56 kB / 1.457 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001838/1.875, allocations: 166.7 kB / 1.457 GB, free: 14.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 9.268e-06/1.875, allocations: 0 / 1.457 GB, free: 14.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.004924/1.88, allocations: 1.142 MB / 1.459 GB, free: 13.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/1.881, allocations: 55.41 kB / 1.459 GB, free: 13.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004792/1.885, allocations: 2.167 MB / 1.461 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/1.886, allocations: 37.7 kB / 1.461 GB, free: 10.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.887, allocations: 0.976 MB / 1.462 GB, free: 9.805 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.887, allocations: 142.1 kB / 1.462 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/1.887, allocations: 117.6 kB / 1.462 GB, free: 9.543 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002989/1.887, allocations: 349.9 kB / 1.462 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.889, allocations: 0.5488 MB / 1.463 GB, free: 8.641 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/1.891, allocations: 0.8285 MB / 1.464 GB, free: 7.699 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/1.894, allocations: 1.249 MB / 1.465 GB, free: 6.355 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/1.894, allocations: 4 kB / 1.465 GB, free: 6.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004125/1.898, allocations: 1.592 MB / 1.466 GB, free: 4.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003141/1.898, allocations: 312 kB / 1.467 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.898, allocations: 8 kB / 1.467 GB, free: 4.336 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/1.898, allocations: 11.94 kB / 1.467 GB, free: 4.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.899, allocations: 267.6 kB / 1.467 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004788/1.9, allocations: 0.6094 MB / 1.468 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.902, allocations: 165.5 kB / 1.468 GB, free: 3.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.902, allocations: 43.98 kB / 1.468 GB, free: 3.227 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.902, allocations: 4 kB / 1.468 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00302/1.905, allocations: 1.358 MB / 1.469 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.905, allocations: 8 kB / 1.469 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.905, allocations: 12 kB / 1.469 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.906, allocations: 247.9 kB / 1.469 GB, free: 1.602 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/1.906, allocations: 15.94 kB / 1.469 GB, free: 1.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/1.908, allocations: 161.5 kB / 1.47 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/1.908, allocations: 47.92 kB / 1.47 GB, free: 1.379 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.001545/1.91, allocations: 0.6492 MB / 1.47 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/1.91, allocations: 193.5 kB / 1.47 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/1.914, allocations: 0.8581 MB / 1.471 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.914, allocations: 4 kB / 1.471 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.914, allocations: 0 / 1.471 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.914, allocations: 7.984 kB / 1.471 GB, free: 15.65 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.006598/1.92, allocations: 2.362 MB / 1.474 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.92, allocations: 4.062 kB / 1.474 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008562/1.921, allocations: 136 kB / 1.474 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.921, allocations: 4 kB / 1.474 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/1.921, allocations: 15.98 kB / 1.474 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005256/1.922, allocations: 0.6015 MB / 1.474 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.922, allocations: 4 kB / 1.474 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/1.925, allocations: 0.9596 MB / 1.475 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009802/1.926, allocations: 362.3 kB / 1.476 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.926, allocations: 15.94 kB / 1.476 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.927, allocations: 123.8 kB / 1.476 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/1.927, allocations: 27.97 kB / 1.476 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/1.927, allocations: 23.97 kB / 1.476 GB, free: 10.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002433/1.93, allocations: 1.48 MB / 1.477 GB, free: 9.371 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.1e-07/1.93, allocations: 0 / 1.477 GB, free: 9.371 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002875/1.933, allocations: 0.8966 MB / 1.478 GB, free: 8.473 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.001072/1.934, allocations: 464 kB / 1.479 GB, free: 8.012 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004682/1.938, allocations: 1.78 MB / 1.48 GB, free: 6.234 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.938, allocations: 4 kB / 1.48 GB, free: 6.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/1.939, allocations: 348.1 kB / 1.481 GB, free: 5.891 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/1.945, allocations: 1.093 MB / 1.482 GB, free: 4.809 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.956, allocations: 4.294 MB / 1.486 GB, free: 472 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/1.957, allocations: 1.534 MB / 1.487 GB, free: 14.89 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00264/1.96, allocations: 465.2 kB / 1.488 GB, free: 14.43 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/1.96, allocations: 135.4 kB / 1.488 GB, free: 14.3 MB / 1.092 GB Notification: Performance of SimCode: time 7.92e-07/1.96, allocations: 0 / 1.488 GB, free: 14.3 MB / 1.092 GB Notification: Performance of Templates: time 0.07504/2.035, allocations: 38.45 MB / 1.525 GB, free: 8.254 MB / 1.123 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.makefile (rm -f Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & ./Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)