Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001467/0.001467, allocations: 198 kB / 16.14 MB, free: 6.57 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.562/1.562, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.062/3.062, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 60.56 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4324, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.235/1.668, allocations: 303 MB / 1.363 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03987/1.708, allocations: 27.68 MB / 1.39 GB, free: 7.316 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005052/1.713, allocations: 76.03 kB / 1.391 GB, free: 7.312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01163/1.724, allocations: 4.426 MB / 1.395 GB, free: 6.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009479/1.734, allocations: 2.739 MB / 1.398 GB, free: 5.086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007254/1.741, allocations: 2.366 MB / 1.4 GB, free: 3.551 MB / 1.014 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.01441/1.755, allocations: 8.595 MB / 1.408 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0042/1.76, allocations: 1.52 MB / 1.41 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007146/1.767, allocations: 1.938 MB / 1.412 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00463/1.772, allocations: 1.342 MB / 1.413 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008879/1.772, allocations: 95.84 kB / 1.413 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/1.783, allocations: 3.501 MB / 1.416 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/1.785, allocations: 0.6613 MB / 1.417 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003434/1.788, allocations: 1.118 MB / 1.418 GB, free: 9.102 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/1.799, allocations: 4.964 MB / 1.423 GB, free: 5.699 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.799, allocations: 0 / 1.423 GB, free: 5.699 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.565e-06/1.799, allocations: 6.469 kB / 1.423 GB, free: 5.695 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.144e-05/1.799, allocations: 0 / 1.423 GB, free: 5.695 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.006449/1.805, allocations: 2.72 MB / 1.426 GB, free: 3.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.805, allocations: 15.97 kB / 1.426 GB, free: 3.254 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/1.81, allocations: 0.7113 MB / 1.426 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/1.822, allocations: 5.537 MB / 1.432 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00046/1.822, allocations: 154 kB / 1.432 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004398/1.823, allocations: 112 kB / 1.432 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/1.827, allocations: 1.376 MB / 1.433 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/1.827, allocations: 7.938 kB / 1.433 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/1.827, allocations: 48 kB / 1.433 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/1.827, allocations: 45.98 kB / 1.433 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/1.83, allocations: 1.003 MB / 1.434 GB, free: 10.09 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.01263/1.843, allocations: 7.104 MB / 1.441 GB, free: 2.602 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.844, allocations: 312.4 kB / 1.442 GB, free: 2.289 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/1.844, allocations: 128.8 kB / 1.442 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000517/1.845, allocations: 186.2 kB / 1.442 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.845, allocations: 42.56 kB / 1.442 GB, free: 1.891 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001312/1.846, allocations: 82.81 kB / 1.442 GB, free: 1.809 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 7.474e-06/1.846, allocations: 0 / 1.442 GB, free: 1.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.002204/1.848, allocations: 0.5712 MB / 1.443 GB, free: 1.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/1.848, allocations: 51.41 kB / 1.443 GB, free: 1.168 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005857/1.854, allocations: 2.243 MB / 1.445 GB, free: 14.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.854, allocations: 33.7 kB / 1.445 GB, free: 14.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.856, allocations: 0.9707 MB / 1.446 GB, free: 13.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/1.856, allocations: 79.09 kB / 1.446 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/1.856, allocations: 274.2 kB / 1.446 GB, free: 13.53 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.856, allocations: 353.9 kB / 1.447 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.858, allocations: 464.9 kB / 1.447 GB, free: 12.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.859, allocations: 0.8712 MB / 1.448 GB, free: 11.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/1.861, allocations: 1.17 MB / 1.449 GB, free: 10.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/1.861, allocations: 4 kB / 1.449 GB, free: 10.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003264/1.865, allocations: 1.491 MB / 1.45 GB, free: 8.805 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/1.865, allocations: 10.03 kB / 1.45 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/1.865, allocations: 16 kB / 1.45 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.812e-05/1.865, allocations: 19.94 kB / 1.451 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000918/1.866, allocations: 239.6 kB / 1.451 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.614e-05/1.866, allocations: 27.92 kB / 1.451 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.868, allocations: 148.7 kB / 1.451 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.868, allocations: 48 kB / 1.451 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001955/1.87, allocations: 0.9362 MB / 1.452 GB, free: 7.363 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001303/1.871, allocations: 0.8556 MB / 1.453 GB, free: 6.324 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001826/1.873, allocations: 1.158 MB / 1.454 GB, free: 4.988 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.475e-05/1.873, allocations: 4 kB / 1.454 GB, free: 4.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.003158/1.876, allocations: 1.477 MB / 1.455 GB, free: 3.496 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.876, allocations: 8 kB / 1.455 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.876, allocations: 20 kB / 1.455 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.876, allocations: 19.94 kB / 1.455 GB, free: 3.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/1.877, allocations: 232.2 kB / 1.456 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.366e-05/1.877, allocations: 23.88 kB / 1.456 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.879, allocations: 128.2 kB / 1.456 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.879, allocations: 48 kB / 1.456 GB, free: 3.027 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (118): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003555/1.879, allocations: 243.8 kB / 1.456 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005526/1.88, allocations: 197.5 kB / 1.456 GB, free: 2.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/1.881, allocations: 171.7 kB / 1.456 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.881, allocations: 7.938 kB / 1.456 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.881, allocations: 0 / 1.456 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.881, allocations: 3.984 kB / 1.456 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/1.885, allocations: 1.937 MB / 1.458 GB, free: 356 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.886, allocations: 4 kB / 1.458 GB, free: 352 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/1.886, allocations: 59.89 kB / 1.458 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.227e-05/1.886, allocations: 8.188 kB / 1.458 GB, free: 284 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/1.886, allocations: 15.94 kB / 1.458 GB, free: 268 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.886, allocations: 4 kB / 1.458 GB, free: 264 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.886, allocations: 11.92 kB / 1.458 GB, free: 252 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/1.887, allocations: 0.5912 MB / 1.459 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007978/1.888, allocations: 322.5 kB / 1.459 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00053/1.889, allocations: 11.94 kB / 1.459 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.89, allocations: 59.94 kB / 1.459 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/1.89, allocations: 31.86 kB / 1.459 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/1.89, allocations: 11.98 kB / 1.459 GB, free: 15.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003364/1.893, allocations: 1.535 MB / 1.461 GB, free: 13.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 4e-07/1.893, allocations: 0 / 1.461 GB, free: 13.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003565/1.897, allocations: 0.819 MB / 1.462 GB, free: 12.76 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/1.898, allocations: 438.7 kB / 1.462 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003314/1.902, allocations: 1.432 MB / 1.463 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.902, allocations: 0 / 1.463 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/1.902, allocations: 140.3 kB / 1.464 GB, free: 10.76 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005598/1.908, allocations: 0.9919 MB / 1.465 GB, free: 9.785 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/1.915, allocations: 3.599 MB / 1.468 GB, free: 6.098 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/1.917, allocations: 1.485 MB / 1.47 GB, free: 4.578 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002735/1.92, allocations: 440.6 kB / 1.47 GB, free: 4.145 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/1.92, allocations: 127.4 kB / 1.47 GB, free: 4.023 MB / 1.076 GB Notification: Performance of SimCode: time 1.222e-06/1.92, allocations: 0 / 1.47 GB, free: 4.023 MB / 1.076 GB Notification: Performance of Templates: time 0.06694/1.987, allocations: 34.55 MB / 1.504 GB, free: 1.836 MB / 1.107 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)