Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001087/0.001087, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009892/0.009892, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.066/3.066, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 9.562 kB / 0.9158 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3826, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.205/1.588, allocations: 298.9 MB / 1.366 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03707/1.625, allocations: 27.32 MB / 1.393 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006115/1.631, allocations: 69.66 kB / 1.393 GB, free: 13.8 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01107/1.642, allocations: 4.429 MB / 1.397 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.652, allocations: 2.727 MB / 1.4 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007651/1.66, allocations: 2.382 MB / 1.402 GB, free: 11.1 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.01355/1.674, allocations: 8.591 MB / 1.411 GB, free: 7.004 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003022/1.677, allocations: 1.443 MB / 1.412 GB, free: 6.113 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005527/1.682, allocations: 1.865 MB / 1.414 GB, free: 5.039 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003617/1.686, allocations: 1.258 MB / 1.415 GB, free: 4.332 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/1.686, allocations: 67.75 kB / 1.415 GB, free: 4.328 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007857/1.694, allocations: 3.476 MB / 1.418 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/1.695, allocations: 0.6072 MB / 1.419 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/1.697, allocations: 1.095 MB / 1.42 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00884/1.706, allocations: 4.862 MB / 1.425 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.706, allocations: 0 / 1.425 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.344e-06/1.706, allocations: 0 / 1.425 GB, free: 13.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.495e-05/1.706, allocations: 0 / 1.425 GB, free: 13.91 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.004751/1.71, allocations: 2.283 MB / 1.427 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.711, allocations: 13.45 kB / 1.427 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/1.715, allocations: 0.7525 MB / 1.428 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/1.726, allocations: 5.53 MB / 1.433 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/1.727, allocations: 162.1 kB / 1.433 GB, free: 7.605 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.727, allocations: 115.9 kB / 1.433 GB, free: 7.492 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/1.73, allocations: 1.38 MB / 1.435 GB, free: 5.996 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/1.73, allocations: 11.94 kB / 1.435 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.73, allocations: 44 kB / 1.435 GB, free: 5.941 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/1.73, allocations: 49.92 kB / 1.435 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/1.732, allocations: 1.011 MB / 1.436 GB, free: 4.883 MB / 1.029 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.01052/1.743, allocations: 7.12 MB / 1.443 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/1.744, allocations: 318.7 kB / 1.443 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/1.744, allocations: 128.8 kB / 1.443 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/1.744, allocations: 190.2 kB / 1.443 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.744, allocations: 34.56 kB / 1.444 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009556/1.745, allocations: 86.81 kB / 1.444 GB, free: 12.58 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 2.915e-06/1.745, allocations: 0 / 1.444 GB, free: 12.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001757/1.747, allocations: 0.5627 MB / 1.444 GB, free: 12.01 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.747, allocations: 59.34 kB / 1.444 GB, free: 11.94 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/1.751, allocations: 2.251 MB / 1.446 GB, free: 9.664 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-05/1.751, allocations: 33.7 kB / 1.446 GB, free: 9.625 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009334/1.752, allocations: 0.9708 MB / 1.447 GB, free: 8.645 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/1.752, allocations: 71.09 kB / 1.447 GB, free: 8.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/1.752, allocations: 125.6 kB / 1.448 GB, free: 8.445 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.752, allocations: 353.9 kB / 1.448 GB, free: 8.094 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/1.753, allocations: 458.1 kB / 1.448 GB, free: 7.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/1.754, allocations: 0.8712 MB / 1.449 GB, free: 6.578 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/1.756, allocations: 1.174 MB / 1.45 GB, free: 5.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.756, allocations: 4 kB / 1.45 GB, free: 5.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003057/1.759, allocations: 1.506 MB / 1.452 GB, free: 3.707 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005424/1.76, allocations: 476.8 kB / 1.452 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/1.76, allocations: 16 kB / 1.452 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/1.76, allocations: 23.94 kB / 1.452 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009255/1.761, allocations: 239.6 kB / 1.453 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/1.761, allocations: 27.88 kB / 1.453 GB, free: 2.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.763, allocations: 154.1 kB / 1.453 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/1.763, allocations: 51.98 kB / 1.453 GB, free: 2.562 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.763, allocations: 4 kB / 1.453 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002414/1.766, allocations: 1.259 MB / 1.454 GB, free: 1.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.766, allocations: 12.06 kB / 1.454 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.766, allocations: 20.91 kB / 1.454 GB, free: 1.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/1.766, allocations: 243.6 kB / 1.454 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/1.766, allocations: 23.92 kB / 1.454 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.768, allocations: 121.6 kB / 1.454 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/1.768, allocations: 55.92 kB / 1.454 GB, free: 0.832 MB / 1.045 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.001326/1.769, allocations: 0.649 MB / 1.455 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/1.77, allocations: 193.6 kB / 1.455 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/1.77, allocations: 171.7 kB / 1.455 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.77, allocations: 0 / 1.455 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.77, allocations: 3.984 kB / 1.455 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.77, allocations: 3.938 kB / 1.455 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/1.774, allocations: 1.948 MB / 1.457 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.774, allocations: 4.469 kB / 1.457 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/1.774, allocations: 51.91 kB / 1.457 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.774, allocations: 11.98 kB / 1.457 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/1.774, allocations: 8 kB / 1.457 GB, free: 13.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/1.774, allocations: 11.94 kB / 1.457 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.774, allocations: 7.938 kB / 1.457 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.775, allocations: 0.6003 MB / 1.458 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/1.776, allocations: 322.5 kB / 1.458 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.776, allocations: 12 kB / 1.458 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/1.777, allocations: 67.84 kB / 1.458 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.777, allocations: 27.86 kB / 1.458 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/1.777, allocations: 19.92 kB / 1.458 GB, free: 12.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002594/1.78, allocations: 1.535 MB / 1.46 GB, free: 10.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.114e-06/1.78, allocations: 0 / 1.46 GB, free: 10.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002647/1.782, allocations: 0.8229 MB / 1.461 GB, free: 10.13 MB / 1.061 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.0009691/1.783, allocations: 449.3 kB / 1.461 GB, free: 9.684 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003023/1.786, allocations: 1.434 MB / 1.463 GB, free: 8.254 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.786, allocations: 5.688 kB / 1.463 GB, free: 8.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/1.787, allocations: 136.2 kB / 1.463 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005939/1.793, allocations: 1.004 MB / 1.464 GB, free: 7.129 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/1.799, allocations: 3.622 MB / 1.467 GB, free: 3.418 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.8, allocations: 1.485 MB / 1.469 GB, free: 1.898 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002216/1.802, allocations: 448.5 kB / 1.469 GB, free: 1.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/1.803, allocations: 123.4 kB / 1.469 GB, free: 1.34 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/1.803, allocations: 3.938 kB / 1.469 GB, free: 1.336 MB / 1.061 GB Notification: Performance of Templates: time 0.07339/1.876, allocations: 34.98 MB / 1.503 GB, free: 14.71 MB / 1.107 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)