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.001576/0.001576, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002097/0.002096, allocations: 192.8 kB / 16.14 MB, free: 6.688 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 60.72 kB / 0.9113 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4289, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 1.249/1.678, allocations: 310.8 MB / 1.371 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04496/1.723, allocations: 29.6 MB / 1.4 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005495/1.728, allocations: 72.94 kB / 1.4 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01325/1.742, allocations: 4.563 MB / 1.404 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/1.754, allocations: 2.841 MB / 1.407 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01082/1.765, allocations: 2.379 MB / 1.41 GB, free: 11.64 MB / 1.029 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.02005/1.785, allocations: 8.981 MB / 1.418 GB, free: 7.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006729/1.792, allocations: 1.761 MB / 1.42 GB, free: 5.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009196/1.801, allocations: 2.06 MB / 1.422 GB, free: 4.727 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005377/1.807, allocations: 1.504 MB / 1.423 GB, free: 3.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001183/1.808, allocations: 119 kB / 1.424 GB, free: 3.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/1.819, allocations: 3.881 MB / 1.427 GB, free: 1.621 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001822/1.821, allocations: 0.712 MB / 1.428 GB, free: 1.016 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003834/1.824, allocations: 1.244 MB / 1.429 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01391/1.838, allocations: 5.445 MB / 1.435 GB, free: 10.3 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.838, allocations: 0 / 1.435 GB, free: 10.3 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.474e-06/1.838, allocations: 0 / 1.435 GB, free: 10.3 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001941/1.839, allocations: 0 / 1.435 GB, free: 10.3 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.00909/1.848, allocations: 2.92 MB / 1.437 GB, free: 7.309 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.848, allocations: 8.031 kB / 1.437 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006852/1.855, allocations: 0.9375 MB / 1.438 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.867, allocations: 5.64 MB / 1.444 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004646/1.867, allocations: 158.6 kB / 1.444 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000635/1.868, allocations: 139.9 kB / 1.444 GB, free: 380 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005129/1.873, allocations: 1.617 MB / 1.446 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.873, allocations: 0 / 1.446 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/1.874, allocations: 56 kB / 1.446 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/1.874, allocations: 46.55 kB / 1.446 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/1.878, allocations: 1.368 MB / 1.447 GB, free: 13.21 MB / 1.061 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.01285/1.89, allocations: 7.675 MB / 1.455 GB, free: 5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/1.893, allocations: 0.9302 MB / 1.456 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/1.894, allocations: 352.7 kB / 1.456 GB, free: 3.676 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/1.895, allocations: 194.2 kB / 1.456 GB, free: 3.449 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.895, allocations: 38.56 kB / 1.456 GB, free: 3.402 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001119/1.896, allocations: 166.7 kB / 1.456 GB, free: 3.238 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 3.757e-06/1.896, allocations: 0 / 1.456 GB, free: 3.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.00376/1.9, allocations: 1.107 MB / 1.457 GB, free: 2.121 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.9, allocations: 59.34 kB / 1.457 GB, free: 2.051 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004359/1.904, allocations: 2.16 MB / 1.46 GB, free: 15.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/1.904, allocations: 37.7 kB / 1.46 GB, free: 15.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/1.905, allocations: 0.976 MB / 1.461 GB, free: 14.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/1.905, allocations: 138 kB / 1.461 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004773/1.906, allocations: 250.3 kB / 1.461 GB, free: 14.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.906, allocations: 357.9 kB / 1.461 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/1.907, allocations: 0.5399 MB / 1.462 GB, free: 13.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.909, allocations: 0.8284 MB / 1.463 GB, free: 12.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/1.912, allocations: 1.23 MB / 1.464 GB, free: 11.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.912, allocations: 4 kB / 1.464 GB, free: 11.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003615/1.915, allocations: 1.561 MB / 1.465 GB, free: 9.707 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.915, allocations: 8 kB / 1.465 GB, free: 9.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.915, allocations: 8 kB / 1.465 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/1.915, allocations: 12 kB / 1.465 GB, free: 9.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.917, allocations: 263.9 kB / 1.466 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004671/1.917, allocations: 0.6132 MB / 1.466 GB, free: 8.785 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.919, allocations: 160.2 kB / 1.466 GB, free: 8.629 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.919, allocations: 43.97 kB / 1.466 GB, free: 8.586 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002268/1.922, allocations: 1.042 MB / 1.467 GB, free: 7.535 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001454/1.923, allocations: 0.8051 MB / 1.468 GB, free: 6.621 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002354/1.925, allocations: 1.211 MB / 1.469 GB, free: 5.312 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.866e-06/1.925, allocations: 7.938 kB / 1.469 GB, free: 5.305 MB / 1.076 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.00339/1.929, allocations: 1.536 MB / 1.471 GB, free: 3.758 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.929, allocations: 11.94 kB / 1.471 GB, free: 3.746 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.929, allocations: 8 kB / 1.471 GB, free: 3.738 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.929, allocations: 12.31 kB / 1.471 GB, free: 3.727 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.93, allocations: 239.7 kB / 1.471 GB, free: 3.492 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/1.93, allocations: 15.94 kB / 1.471 GB, free: 3.477 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.932, allocations: 140.5 kB / 1.471 GB, free: 3.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.932, allocations: 43.98 kB / 1.471 GB, free: 3.297 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.0003321/1.932, allocations: 232.5 kB / 1.472 GB, free: 3.062 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/1.933, allocations: 197.4 kB / 1.472 GB, free: 2.867 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/1.936, allocations: 0.8576 MB / 1.473 GB, free: 2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.936, allocations: 4 kB / 1.473 GB, free: 1.996 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.936, allocations: 0 / 1.473 GB, free: 1.996 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/1.936, allocations: 3.984 kB / 1.473 GB, free: 1.992 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.005975/1.942, allocations: 2.327 MB / 1.475 GB, free: 15.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/1.942, allocations: 4.188 kB / 1.475 GB, free: 15.58 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/1.943, allocations: 135.8 kB / 1.475 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/1.943, allocations: 7.984 kB / 1.475 GB, free: 15.44 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/1.943, allocations: 8.125 kB / 1.475 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003802/1.943, allocations: 0.6016 MB / 1.476 GB, free: 14.81 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.943, allocations: 7.969 kB / 1.476 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/1.946, allocations: 0.9361 MB / 1.477 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.947, allocations: 354.4 kB / 1.477 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006132/1.947, allocations: 15.88 kB / 1.477 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.949, allocations: 123.7 kB / 1.477 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/1.949, allocations: 27.91 kB / 1.477 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/1.949, allocations: 23.97 kB / 1.477 GB, free: 13.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00336/1.953, allocations: 1.484 MB / 1.478 GB, free: 11.78 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.3e-07/1.953, allocations: 0 / 1.478 GB, free: 11.78 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003383/1.956, allocations: 0.9005 MB / 1.479 GB, free: 10.88 MB / 1.092 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.001232/1.957, allocations: 450.7 kB / 1.48 GB, free: 10.42 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004657/1.962, allocations: 1.745 MB / 1.482 GB, free: 8.68 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.962, allocations: 0 / 1.482 GB, free: 8.68 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/1.963, allocations: 348.2 kB / 1.482 GB, free: 8.34 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005827/1.969, allocations: 1.085 MB / 1.483 GB, free: 7.273 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.98, allocations: 4.245 MB / 1.487 GB, free: 2.973 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/1.982, allocations: 1.534 MB / 1.489 GB, free: 1.402 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002804/1.985, allocations: 477.1 kB / 1.489 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/1.985, allocations: 131.4 kB / 1.489 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of SimCode: time 8.42e-07/1.985, allocations: 0 / 1.489 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of Templates: time 0.07099/2.056, allocations: 38.57 MB / 1.527 GB, free: 10.64 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)